Operational Control Dashboard - Moulding

Creation date: 7/11/2024 4:31 AM    Updated: 7/12/2024 1:01 AM
1. Select Dashboard -> Moulding OEE

2.Red represent Unplanned Down time.
Yellow and Green represent  Planned Down time.



 3. oeeAbnormalInterval = (Util.StringToDouble(abnormalInterval[0].CodingValue));

isAbnormalSignal oeeAbnormalInterval larger than 0 and  totalMinutes larger than oeeAbnormalInterval

abnormalInterval = CommonClient.Instance.GetReferenceListWithoutLocalization(ConstantValue.Selector.Dashboard_OeeAbnormalPerformanceInterval, null, true).Result;

TimeSpan difference = DateTime.UtcNow - reportTempList[0].LastAPITransactionDate;
totalMinutes = difference.TotalMinutes;

Example:
Value for abnormalInterval [0] =1800
Value for LastAPITransactionDate[0] =2024-07-11 08:20:32.200

runtime = Util.StringToDecimal(data.Duration.ToString()); 
runtime = runtime - BreakTime - PlannedDowntime - ChangeShiftTime;
runtimeAvailable = runtime - Downtime - ConversionTime;

Example: 
runtime = 1438 , data.BreakTime = 0 , data.PlannedDowntime  = 1437 , data.ChangeShiftTime = 0
runtime =1 ,data.Downtime =0 , data.ConversionTime = 0
runtimeAvailable  =1

if (runtimeAvailable > 0)
AvailabilityTotal = Math.Round((runtimeAvailable / (runtime)) * 100, 2);

 if oeeCalc.AvailabilityTotal more than 0

availabilityCaption = AvailabilityTotal

 if  isAbnormalSignal

 availabilityCaption =  L

Data get from Store Procedure: Report_GetUnitKpiDashboardData



4.