UNPKG

node-red-trexmes-service

Version:
1,657 lines (1,635 loc) 231 kB
<script type="text/html" data-template-name="Business Events"> <div class="form-row"> <div class="form-row"> <label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label> <input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name"> </div> <div class="form-row" style="display: flex;align-items: center; gap: 10px;"> <label for="node-input-ishandled" style="width: 70%"><span data-i18n="event-subscribers.label.ishandled"></span></label> <input type="checkbox" id="node-input-ishandled" style="width: 30%"> </div> <div class="form-row"> <label for="node-input-event"><i class="fa fa-globe"></i> <span data-i18n="event-subscribers.label.event"></span></label> <select type="text" id="node-input-event" style="width:70%;"></select> </div> <div class="form-row"> <label for="node-input-suffix"><i class="fa fa-tag"></i><span data-i18n="event-subscribers.label.suffix"></span></label> <input type="text" id="node-input-suffix" data-i18n="[placeholder]event-subscribers.label.suffixRequired"> </div> <!-- Description + JSON container --> <div class="form-row" id="event-description-row" style="display: none; margin-top: 10px; padding: 10px; background: #f8f8f8; border-left: 4px solid #4CAF50; border-radius:3px;"> <div style="font-size: 0.9em; color: #333; margin-bottom:4px;" id="event-description"></div> <div id="event-payload-container" style="display:none; margin-top:8px;"></div> </div> </div> </script> <script type="text/html" data-template-name="System Events"> <div class="form-row"> <div class="form-row"> <label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label> <input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name"> </div> <div class="form-row" style="display: flex;align-items: center; gap: 10px;"> <label for="node-input-ishandled" style="width: 70%"><span data-i18n="event-subscribers.label.ishandled"></span></label> <input type="checkbox" id="node-input-ishandled" style="width: 30%"> </div> <div class="form-row"> <label for="node-input-event"><i class="fa fa-globe"></i> <span data-i18n="event-subscribers.label.event"></span></label> <select id="node-input-event" style="width:70%;"></select> </div> <!-- Açıklama Alanı --> <div class="form-row" id="system-event-description-row" style="display: none; margin-top: 8px; padding: 10px; background: #f0f8f0; border-left: 5px solid #9C27B0; border-radius: 4px;"> <div id="system-event-description" style="font-size: 0.92em; line-height: 1.4; margin-bottom:4px;"></div> <div id="system-event-payload-container" style="display:none; margin-top:8px;"></div> </div> </div> </script> <script type="text/html" data-template-name="Communication Events"> <div class="form-row"> <div class="form-row"> <label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label> <input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name"> </div> <div class="form-row" style="display: flex;align-items: center; gap: 10px;"> <label for="node-input-ishandled" style="width: 70%"><span data-i18n="event-subscribers.label.ishandled"></span></label> <input type="checkbox" id="node-input-ishandled" style="width: 30%"> </div> <div class="form-row"> <label for="node-input-event"><i class="fa fa-globe"></i> <span data-i18n="event-subscribers.label.event"></span></label> <select id="node-input-event" style="width:70%;"></select> </div> <!-- Açıklama Alanı --> <div class="form-row" id="comm-event-description-row" style="display: none; margin-top: 8px; padding: 10px; background: #f0f8f0; border-left: 5px solid #2196F3; border-radius: 4px;"> <div id="comm-event-description" style="font-size: 0.92em; line-height: 1.4; margin-bottom:4px;"></div> <div id="comm-event-payload-container" style="display:none; margin-top:8px;"></div> </div> </div> </script> <script type="text/html" data-template-name="Display Events"> <div class="form-row"> <div class="form-row"> <label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label> <input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name"> </div> <div class="form-row" style="display: flex;align-items: center; gap: 10px;"> <label for="node-input-ishandled" style="width: 70%"><span data-i18n="event-subscribers.label.ishandled"></span></label> <input type="checkbox" id="node-input-ishandled" style="width: 30%"> </div> <div class="form-row"> <label for="node-input-event"><i class="fa fa-globe"></i> <span data-i18n="event-subscribers.label.event"></span></label> <select id="node-input-event" style="width:70%;"></select> </div> <!-- Açıklama Alanı --> <div class="form-row" id="display-event-description-row" style="display: none; margin-top: 8px; padding: 10px; background: #f0f8f0; border-left: 5px solid #FF9800; border-radius: 4px;"> <div id="display-event-description" style="font-size: 0.92em; line-height: 1.4; margin-bottom:4px;"></div> <div id="disp-event-payload-container" style="display:none; margin-top:8px;"></div> </div> </div> </script> <script type="text/html" data-template-name="Form Events"> <div class="form-row"> <div class="form-row"> <label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label> <input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name"> </div> <div class="form-row" style="display: flex;align-items: center; gap: 10px;"> <label for="node-input-formainform" style="width: 70%"><span data-i18n="event-subscribers.label.formainform"></span></label> <input type="checkbox" id="node-input-formainform" style="width: 30%"> </div> <div class="form-row"> <label for="node-input-formname"><i class="fa fa-windows"></i> <span data-i18n="event-subscribers.label.formname"></span></label> <select id="node-input-formname"></select> </div> <div class="form-row"> <label for="node-input-control"><i class="fa fa-address-card"></i> <span data-i18n="event-subscribers.label.control"></span></label> <input type="text" id="node-input-control" style="width:70%;"></select> </div> <div class="form-row"> <label for="node-input-eventtime"><i class="fa fa-fire"></i><span data-i18n="event-subscribers.label.eventtime"></span></label> <select id="node-input-eventtime" style="width: 70%;"> <option value="After">After</option> <option value="Before">Before</option> </select> </div> <div class="form-row"> <label for="node-input-eventname"><i class="fa fa-fire"></i> <span data-i18n="event-subscribers.label.eventname"></span></label> <select id="node-input-eventname" style="width:70%;"> <script type="text/javascript"> (function() { var options = [ "Click", "Changed", "Load", "Tick", "KeyEnter", "SelectionChanged",]; var select = document.getElementById("node-input-eventname"); options.forEach(function(option) { var opt = document.createElement("option"); opt.value = option; opt.innerHTML = option; select.appendChild(opt); }); })(); </script> </div> </div> </script> <script type="text/html" data-template-name="Display Methods"> <div class="form-row"> <div class="form-row"> <label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label> <input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name"> </div> <label for="node-input-event"><i class="fa fa-globe"></i> <span data-i18n="event-subscribers.label.event"></span></label> <select type="text" id="node-input-event" style="width:70%;"> </select> <script type="text/javascript"> (function() { var options = [ "GetMainUserControl", "GetUIButtonConfiguration" ]; var select = document.getElementById("node-input-event"); options.forEach(function(option) { var opt = document.createElement("option"); opt.value = option; opt.innerHTML = option; select.appendChild(opt); }); })(); </script> </div> </script> <script type="text/html" data-template-name="Method Returns"> <div class="form-row"> <div class="form-row"> <label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label> <input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name"> </div> <div class="form-row"> <label for="node-input-methodname"><i class="fa fa-windows"></i> <span data-i18n="event-subscribers.label.methodname"></span></label> <select id="node-input-methodname"></select> </div> </div> </script> <script type="text/html" data-template-name="Responser"> <div class="form-row"> <label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label> <input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name"> </div> </script> <script type="text/javascript"> const trexEventPayloads = { "OnApplicationClosing": `{ "Item1": { "ActualCyclePeriod": 0.0, "AverageSpeed": 0.0, "ClientVersion": "", "CycleCount": 0.0, "EquipmentId": 0, "EstimatedCompletionTime": null, "InputCountAfterLastProduction": 0.0, "InsertDate": null, "InstantSpeed": 0.0, "IpAddress": "", "IsPlanLoaded": false, "IsStopped": false, "JobOrderGroupId": 0, "JobOrderId": 0, "JobStartTime": null, "LastCounterChangeTime": null, "LastProductionConfirmationTime": null, "LastQuantity": 0.0, "LastQuantity2": 0.0, "LastQuantity3": 0.0, "LastSectionSaveTime": null, "LastStoppageIdBeforeNoShift": 0, "LineId": 0, "MaterialScrapQuantity": 0.0, "MaterialScrapQuantity2": 0.0, "MaterialScrapQuantity3": 0.0, "OutputAdditionalCounter": 0, "OutputContinueJob": false, "PlanCyclePeriod": 0.0, "PlanId": 0, "PlannedStoppageDuration": 0, "PreviousDollyQuantity": 0.0, "ProducibleQuantity": 0.0, "ProductionQuantity": 0.0, "ProductionQuantity2": 0.0, "ProductionQuantity3": 0.0, "ReasonEquipmentId": 0, "RotationSpeed": 0.0, "ScrapQuantity": 0.0, "ScrapQuantity2": 0.0, "ScrapQuantity3": 0.0, "Shift": 0, "ShiftId": 0, "StoppageCauseId": 0, "StoppageStartTime": null, "TeamId": 0, "TotalCycleCount": 0.0, "TotalWorkTime": 0, "UnPlannedStoppageDuration": 0, "WorkStationId": 0, "WorkStationStatusCode": 0 }, "Item2": { "Asort": 0.0, "Capacity": 0.0, "CycleOfCoe": 0.0, "CycleOfPulse": 0.0, "CycleOfSocket": 0.0, "CyclePeriod": 0.0, "CycleUnit": 0, "EditDate": null, "EditUserId": 0, "Equipment": { "BarcodeLength": 0, "BarcodeRegex": "", "BarcodeSeperatedDataIndex": 0, "BarcodeSeperator": "", "BarcodeStartIndex": 0, "CapacityCoe": 0.0, "CurrentCount": 0.0, "CurrentCycleCount": 0, "EquipmentId": 0, "EquipmentName": "", "EquipmentNo": "", "EquipmentType": 0, "GroupCode": "", "Height": 0.0, "Length": 0.0, "MaxCycleCount": 0, "SocketCoe": 0, "SpecCode1": "", "SpecCode2": "", "SpecCode3": "", "SpecCode4": "", "SpecCode5": "", "Status": 0, "TargetCount": 0.0, "Weight": 0.0, "Width": 0.0 }, "GradeId": 0, "InsertDate": null, "InsertUserId": 0, "IsWorkingNow": false, "Items": [ { "CycleOfCoe": 0.0, "CycleOfPulse": 0.0, "CyclePeriod": 0.0, "EditDate": null, "EditUserId": 0, "GradeId": 0, "InsertDate": null, "InsertUserId": 0, "ItemNo": 0, "JobOrder": { "CapacityCoe": 0.0, "ChildId": 0, "Coefficient": 0.0, "CycleDuration": 0.0, "Depot": { "DepotId": 0, "DepotName": "", "DepotNo": "" }, "Description": "", "Divider": 0, "EditDate": null, "EditUserId": 0, "EndDate": null, "Equipment": { "BarcodeLength": 0, "BarcodeRegex": "", "BarcodeSeperatedDataIndex": 0, "BarcodeSeperator": "", "BarcodeStartIndex": 0, "CapacityCoe": 0.0, "CurrentCount": 0.0, "CurrentCycleCount": 0, "EquipmentId": 0, "EquipmentName": "", "EquipmentNo": "", "EquipmentType": 0, "GroupCode": "", "Height": 0.0, "Length": 0.0, "MaxCycleCount": 0, "SocketCoe": 0, "SpecCode1": "", "SpecCode2": "", "SpecCode3": "", "SpecCode4": "", "SpecCode5": "", "Status": 0, "TargetCount": 0.0, "Weight": 0.0, "Width": 0.0 }, "GroupCode": "", "GroupNo": "", "GroupOrderNo": 0, "InsertDate": null, "InsertUserId": 0, "JobOrderId": 0, "JobOrderNo": "", "Multiplier": 0, "Operation": { "OperationId": 0, "OperationName": "", "OperationNo": "" }, "OperationOrderNo": 0, "ParentId": 0, "PlanQuantity": 0.0, "PlanQuantity2": 0.0, "PlanQuantity3": 0.0, "ProducedQuantity": 0.0, "ProductionOrderNo": "", "RequiredEmployeeCount": 0, "SelectEquipmentOnLoad": false, "SetupDuration": 0.0, "SpecCode1": "", "SpecCode2": "", "StartDate": null, "Status": 0, "Stock": { "BarcodeConfig": null, "CustomerStockNo": "", "GroupCode": "", "IsLotTraceabilityEnabled": false, "IsStockTraceable": false, "LabelNo": 0, "SecondUnit": null, "Speccode1": "", "Speccode2": "", "SpecificGravity": 0.0, "Status": 0, "StockId": 0, "StockMinPrice": 0.0, "StockName": "", "StockName2": "", "StockNo": "", "StockType": 0, "StockUnits": [], "SupplierStockNo": "", "ThirdUnit": null, "Unit": null }, "TransCode": "", "TransDate": null, "WorkCenter": { "GroupCode": "", "WorkCenterId": 0, "WorkCenterName": "", "WorkCenterNo": "" }, "WorkStation": { "WorkStationId": 0, "WorkStationName": "", "WorkStationNo": "" } }, "PlanId": 0, "PlanItemStatus": 0, "PlannedQuantity": 0.0, "PlannedQuantity2": 0.0, "PlannedQuantity3": 0.0, "ProducedQuantity": 0.0, "ProducedQuantity2": 0.0, "ProducedQuantity3": 0.0, "Stock": { "StockId": 0, "StockName": "", "StockNo": "" } } ], "JobOrder": { "CapacityCoe": 0.0, "ChildId": 0, "Coefficient": 0.0, "CycleDuration": 0.0, "DepotId": 0, "Description": "", "Divider": 0, "EditDate": null, "EditUserId": 0, "EndDate": null, "EquipmentId": 0, "EquipmentName": "", "EquipmentNo": "", "GroupCode": "", "GroupNo": "", "GroupOrderNo": 0, "InsertDate": null, "InsertUserId": 0, "JobOrderId": 0, "JobOrderNo": "", "Multiplier": 0, "OperationId": 0, "OperationName": "", "OperationNo": "", "OperationOrderNo": 0, "ParentId": 0, "PlanQuantity": 0.0, "PlanQuantity2": 0.0, "PlanQuantity3": 0.0, "ProducedQuantity": 0.0, "ProductionOrderNo": "", "RequiredEmployeeCount": 0, "SelectEquipmentOnLoad": false, "SetupDuration": 0, "SpecCode1": "", "SpecCode2": "", "StartDate": null, "Status": 0, "StockId": 0, "StockName": "", "StockNo": "", "TransCode": "", "TransDate": null, "WorkCenterId": 0, "WorkStationId": 0, "WorkStationNo": "" }, "LabelNote": "", "LossQuantity": 0.0, "LossQuantity2": 0.0, "LossQuantity3": 0.0, "Notes": "", "Operation": { "OperationId": 0, "OperationName": "", "OperationNo": "" }, "ParentPlanId": 0, "PlanId": 0, "PlannedQuantity": 0.0, "PlannedQuantity2": 0.0, "PlannedQuantity3": 0.0, "Priority": 0, "ProducedQuantity": 0.0, "ProducedQuantity2": 0.0, "ProducedQuantity3": 0.0, "ProductNumber": "", "RequiredEmployeeCount": 0, "RestrictedSpeed": 0.0, "SetupDuration": 0, "SortId": 0, "StartDate": null, "Status": 0, "Stock": { "BarcodeConfig": { "BarcodeLength": 0, "BarcodeRegex": "", "BarcodeSeperatedDataIndex": 0, "BarcodeSeperator": "", "BarcodeStartIndex": 0 }, "CustomerStockNo": "", "GroupCode": "", "IsLotTraceabilityEnabled": false, "IsStockTraceable": false, "LabelNo": 0, "SecondUnit": { "UnitId": 0, "UnitName": "" }, "Speccode1": "", "Speccode2": "", "SpecificGravity": 0.0, "Status": 0, "StockId": 0, "StockMinPrice": 0.0, "StockName": "", "StockName2": "", "StockNo": "", "StockType": 0, "StockUnits": [ { "ItemNo": 0, "StockId": 0, "Unit": { "UnitId": 0, "UnitName": "" } } ], "SupplierStockNo": "", "ThirdUnit": { "UnitId": 0, "UnitName": "" }, "Unit": { "UnitId": 0, "UnitName": "" } }, "WorkCenterId": 0, "WorkEndDate": null, "WorkStartDate": null, "WorkStation": { "WorkStationId": 0, "WorkStationName": "", "WorkStationNo": "" } }, "Item3": [ { "EmployeeId": 1001, "EmployeeNo": "EMP-001", "EmployeeName": "Ahmet Yılmaz" } ], "Item4": { "UndefinedStoppageChangeMinLimit": 0, "UndefinedStoppageChangeMaxLimit": 0, "ShortStoppageIgnoreLimit": 0, "IsCokoteEnabled": false, "WorkStationSetupStoppageCauseId": 0, "IsAutoStartingUndefinedStoppageEnabled": false, "IsKeepingStoppageStateWhileStoppageSignalActiveEnabled": false, "LastStoppageCauseIdBeforeShiftBreak": 0, "IsCurrentStoppageShiftBreakStoppage": false, "IsEndingNoShiftStoppageOnProductionEnabled": false, "IsEndingNoShiftStoppageOnCounterIncrementEnabled": false, "LastPeriodicalShortStoppageCalculationTime": null, "UndefinedStoppageDigitalOutputNo": 0, "PlannedStoppageEndDigitalOutputNo": 0, "WorkingStateDigitalOutputNo": 0, "IsUndefinedStoppageOutputControlActive": false, "TimeOutCycleMultForUndefinedStoppage": 0, "CurrentStoppageId": 0, "CurrentStoppage": { "StoppageCauseId": 0, "StoppageCauseNo": "", "StoppageCauseName": "", "StoppageCauseType": 0, "StoppageSpecifications": { "GroupCode": "", "SpecCode1": "", "SpecCode2": "", "SpecCode3": "", "SpecCode4": "", "SpecCode5": "" }, "Status": 0, "Description": "", "StoppageEndType": 0, "BackColor": 0, "ForeColor": 0, "Duration": 0, "StoppageMainType": 0, "StartQuantity": 0, "IsMaintenance": false, "IsNoEmployee": false, "IsSetupStop": false, "IsNoCount": false, "IsIntegrationEnabled": false, "OEELossType": 0, "IsSelectEquipment": false, "IsCokote": false, "Caption": "" }, "CurrentStoppageStationDetail": { "WorkStationId": 0, "StoppageCauseId": 0, "Duration": 0, "DefectId": 0, "StockId": 0 }, "CurrentStoppageStockDetail": { "StoppageCauseId": 0, "WorkStationId": 0, "StockId": 0, "GradeId": 0, "Duration": 0 }, "IsStoppageSelectedByEmployee": false, "IsPlannedStoppage": false, "CurrentStoppageEstimatedDuration": 0, "CurrentStoppageEndQuantity": 0, "StoppageBackgroundColor": { "R": 0, "G": 0, "B": 0, "HexCode": "000000" }, "StoppageForegroundColor": { "R": 255, "G": 255, "B": 255, "HexCode": "FFFFFF" }, "StatusChangeTime": null, "CurrentStatusDurationAsSeconds": 0, "StoppagePriority": 0, "ReasonEquipmentId": 0, "StoppageStartTime": null, "CurrentStoppageDuration": 0, "CurrentPlannedStoppageDuration": 0, "TotalStoppageDuration": 0, "NoShiftStoppageId": 0, "LastStoppageIdBeforeNoShift": 0 } }`, "OnApplicationStarted": `{ "Item1": { "ActualCyclePeriod": 0.0, "AverageSpeed": 0.0, "ClientVersion": "", "CycleCount": 0.0, "EquipmentId": 0, "EstimatedCompletionTime": null, "InputCountAfterLastProduction": 0.0, "InsertDate": null, "InstantSpeed": 0.0, "IpAddress": "", "IsPlanLoaded": false, "IsStopped": false, "JobOrderGroupId": 0, "JobOrderId": 0, "JobStartTime": null, "LastCounterChangeTime": null, "LastProductionConfirmationTime": null, "LastQuantity": 0.0, "LastQuantity2": 0.0, "LastQuantity3": 0.0, "LastSectionSaveTime": null, "LastStoppageIdBeforeNoShift": 0, "LineId": 0, "MaterialScrapQuantity": 0.0, "MaterialScrapQuantity2": 0.0, "MaterialScrapQuantity3": 0.0, "OutputAdditionalCounter": 0, "OutputContinueJob": false, "PlanCyclePeriod": 0.0, "PlanId": 0, "PlannedStoppageDuration": 0, "PreviousDollyQuantity": 0.0, "ProducibleQuantity": 0.0, "ProductionQuantity": 0.0, "ProductionQuantity2": 0.0, "ProductionQuantity3": 0.0, "ReasonEquipmentId": 0, "RotationSpeed": 0.0, "ScrapQuantity": 0.0, "ScrapQuantity2": 0.0, "ScrapQuantity3": 0.0, "Shift": 0, "ShiftId": 0, "StoppageCauseId": 0, "StoppageStartTime": null, "TeamId": 0, "TotalCycleCount": 0.0, "TotalWorkTime": 0, "UnPlannedStoppageDuration": 0, "WorkStationId": 0, "WorkStationStatusCode": 0 }, "Item2": { "Asort": 0.0, "Capacity": 0.0, "CycleOfCoe": 0.0, "CycleOfPulse": 0.0, "CycleOfSocket": 0.0, "CyclePeriod": 0.0, "CycleUnit": 0, "EditDate": null, "EditUserId": 0, "Equipment": { "BarcodeLength": 0, "BarcodeRegex": "", "BarcodeSeperatedDataIndex": 0, "BarcodeSeperator": "", "BarcodeStartIndex": 0, "CapacityCoe": 0.0, "CurrentCount": 0.0, "CurrentCycleCount": 0, "EquipmentId": 0, "EquipmentName": "", "EquipmentNo": "", "EquipmentType": 0, "GroupCode": "", "Height": 0.0, "Length": 0.0, "MaxCycleCount": 0, "SocketCoe": 0, "SpecCode1": "", "SpecCode2": "", "SpecCode3": "", "SpecCode4": "", "SpecCode5": "", "Status": 0, "TargetCount": 0.0, "Weight": 0.0, "Width": 0.0 }, "GradeId": 0, "InsertDate": null, "InsertUserId": 0, "IsWorkingNow": false, "Items": [ { "CycleOfCoe": 0.0, "CycleOfPulse": 0.0, "CyclePeriod": 0.0, "EditDate": null, "EditUserId": 0, "GradeId": 0, "InsertDate": null, "InsertUserId": 0, "ItemNo": 0, "JobOrder": { "CapacityCoe": 0.0, "ChildId": 0, "Coefficient": 0.0, "CycleDuration": 0.0, "Depot": { "DepotId": 0, "DepotName": "", "DepotNo": "" }, "Description": "", "Divider": 0, "EditDate": null, "EditUserId": 0, "EndDate": null, "Equipment": { "BarcodeLength": 0, "BarcodeRegex": "", "BarcodeSeperatedDataIndex": 0, "BarcodeSeperator": "", "BarcodeStartIndex": 0, "CapacityCoe": 0.0, "CurrentCount": 0.0, "CurrentCycleCount": 0, "EquipmentId": 0, "EquipmentName": "", "EquipmentNo": "", "EquipmentType": 0, "GroupCode": "", "Height": 0.0, "Length": 0.0, "MaxCycleCount": 0, "SocketCoe": 0, "SpecCode1": "", "SpecCode2": "", "SpecCode3": "", "SpecCode4": "", "SpecCode5": "", "Status": 0, "TargetCount": 0.0, "Weight": 0.0, "Width": 0.0 }, "GroupCode": "", "GroupNo": "", "GroupOrderNo": 0, "InsertDate": null, "InsertUserId": 0, "JobOrderId": 0, "JobOrderNo": "", "Multiplier": 0, "Operation": { "OperationId": 0, "OperationName": "", "OperationNo": "" }, "OperationOrderNo": 0, "ParentId": 0, "PlanQuantity": 0.0, "PlanQuantity2": 0.0, "PlanQuantity3": 0.0, "ProducedQuantity": 0.0, "ProductionOrderNo": "", "RequiredEmployeeCount": 0, "SelectEquipmentOnLoad": false, "SetupDuration": 0.0, "SpecCode1": "", "SpecCode2": "", "StartDate": null, "Status": 0, "Stock": { "BarcodeConfig": null, "CustomerStockNo": "", "GroupCode": "", "IsLotTraceabilityEnabled": false, "IsStockTraceable": false, "LabelNo": 0, "SecondUnit": null, "Speccode1": "", "Speccode2": "", "SpecificGravity": 0.0, "Status": 0, "StockId": 0, "StockMinPrice": 0.0, "StockName": "", "StockName2": "", "StockNo": "", "StockType": 0, "StockUnits": [], "SupplierStockNo": "", "ThirdUnit": null, "Unit": null }, "TransCode": "", "TransDate": null, "WorkCenter": { "GroupCode": "", "WorkCenterId": 0, "WorkCenterName": "", "WorkCenterNo": "" }, "WorkStation": { "WorkStationId": 0, "WorkStationName": "", "WorkStationNo": "" } }, "PlanId": 0, "PlanItemStatus": 0, "PlannedQuantity": 0.0, "PlannedQuantity2": 0.0, "PlannedQuantity3": 0.0, "ProducedQuantity": 0.0, "ProducedQuantity2": 0.0, "ProducedQuantity3": 0.0, "Stock": { "StockId": 0, "StockName": "", "StockNo": "" } } ], "JobOrder": { "CapacityCoe": 0.0, "ChildId": 0, "Coefficient": 0.0, "CycleDuration": 0.0, "DepotId": 0, "Description": "", "Divider": 0, "EditDate": null, "EditUserId": 0, "EndDate": null, "EquipmentId": 0, "EquipmentName": "", "EquipmentNo": "", "GroupCode": "", "GroupNo": "", "GroupOrderNo": 0, "InsertDate": null, "InsertUserId": 0, "JobOrderId": 0, "JobOrderNo": "", "Multiplier": 0, "OperationId": 0, "OperationName": "", "OperationNo": "", "OperationOrderNo": 0, "ParentId": 0, "PlanQuantity": 0.0, "PlanQuantity2": 0.0, "PlanQuantity3": 0.0, "ProducedQuantity": 0.0, "ProductionOrderNo": "", "RequiredEmployeeCount": 0, "SelectEquipmentOnLoad": false, "SetupDuration": 0, "SpecCode1": "", "SpecCode2": "", "StartDate": null, "Status": 0, "StockId": 0, "StockName": "", "StockNo": "", "TransCode": "", "TransDate": null, "WorkCenterId": 0, "WorkStationId": 0, "WorkStationNo": "" }, "LabelNote": "", "LossQuantity": 0.0, "LossQuantity2": 0.0, "LossQuantity3": 0.0, "Notes": "", "Operation": { "OperationId": 0, "OperationName": "", "OperationNo": "" }, "ParentPlanId": 0, "PlanId": 0, "PlannedQuantity": 0.0, "PlannedQuantity2": 0.0, "PlannedQuantity3": 0.0, "Priority": 0, "ProducedQuantity": 0.0, "ProducedQuantity2": 0.0, "ProducedQuantity3": 0.0, "ProductNumber": "", "RequiredEmployeeCount": 0, "RestrictedSpeed": 0.0, "SetupDuration": 0, "SortId": 0, "StartDate": null, "Status": 0, "Stock": { "BarcodeConfig": { "BarcodeLength": 0, "BarcodeRegex": "", "BarcodeSeperatedDataIndex": 0, "BarcodeSeperator": "", "BarcodeStartIndex": 0 }, "CustomerStockNo": "", "GroupCode": "", "IsLotTraceabilityEnabled": false, "IsStockTraceable": false, "LabelNo": 0, "SecondUnit": { "UnitId": 0, "UnitName": "" }, "Speccode1": "", "Speccode2": "", "SpecificGravity": 0.0, "Status": 0, "StockId": 0, "StockMinPrice": 0.0, "StockName": "", "StockName2": "", "StockNo": "", "StockType": 0, "StockUnits": [ { "ItemNo": 0, "StockId": 0, "Unit": { "UnitId": 0, "UnitName": "" } } ], "SupplierStockNo": "", "ThirdUnit": { "UnitId": 0, "UnitName": "" }, "Unit": { "UnitId": 0, "UnitName": "" } }, "WorkCenterId": 0, "WorkEndDate": null, "WorkStartDate": null, "WorkStation": { "WorkStationId": 0, "WorkStationName": "", "WorkStationNo": "" } }, "Item3": [ { "EmployeeId": 1001, "EmployeeNo": "EMP-001", "EmployeeName": "Ahmet Yılmaz" } ], "Item4": { "UndefinedStoppageChangeMinLimit": 0, "UndefinedStoppageChangeMaxLimit": 0, "ShortStoppageIgnoreLimit": 0, "IsCokoteEnabled": false, "WorkStationSetupStoppageCauseId": 0, "IsAutoStartingUndefinedStoppageEnabled": false, "IsKeepingStoppageStateWhileStoppageSignalActiveEnabled": false, "LastStoppageCauseIdBeforeShiftBreak": 0, "IsCurrentStoppageShiftBreakStoppage": false, "IsEndingNoShiftStoppageOnProductionEnabled": false, "IsEndingNoShiftStoppageOnCounterIncrementEnabled": false, "LastPeriodicalShortStoppageCalculationTime": null, "UndefinedStoppageDigitalOutputNo": 0, "PlannedStoppageEndDigitalOutputNo": 0, "WorkingStateDigitalOutputNo": 0, "IsUndefinedStoppageOutputControlActive": false, "TimeOutCycleMultForUndefinedStoppage": 0, "CurrentStoppageId": 0, "CurrentStoppage": { "StoppageCauseId": 0, "StoppageCauseNo": "", "StoppageCauseName": "", "StoppageCauseType": 0, "StoppageSpecifications": { "GroupCode": "", "SpecCode1": "", "SpecCode2": "", "SpecCode3": "", "SpecCode4": "", "SpecCode5": "" }, "Status": 0, "Description": "", "StoppageEndType": 0, "BackColor": 0, "ForeColor": 0, "Duration": 0, "StoppageMainType": 0, "StartQuantity": 0, "IsMaintenance": false, "IsNoEmployee": false, "IsSetupStop": false, "IsNoCount": false, "IsIntegrationEnabled": false, "OEELossType": 0, "IsSelectEquipment": false, "IsCokote": false, "Caption": "" }, "CurrentStoppageStationDetail": { "WorkStationId": 0, "StoppageCauseId": 0, "Duration": 0, "DefectId": 0, "StockId": 0 }, "CurrentStoppageStockDetail": { "StoppageCauseId": 0, "WorkStationId": 0, "StockId": 0, "GradeId": 0, "Duration": 0 }, "IsStoppageSelectedByEmployee": false, "IsPlannedStoppage": false, "CurrentStoppageEstimatedDuration": 0, "CurrentStoppageEndQuantity": 0, "StoppageBackgroundColor": { "R": 0, "G": 0, "B": 0, "HexCode": "000000" }, "StoppageForegroundColor": { "R": 255, "G": 255, "B": 255, "HexCode": "FFFFFF" }, "StatusChangeTime": null, "CurrentStatusDurationAsSeconds": 0, "StoppagePriority": 0, "ReasonEquipmentId": 0, "StoppageStartTime": null, "CurrentStoppageDuration": 0, "CurrentPlannedStoppageDuration": 0, "TotalStoppageDuration": 0, "NoShiftStoppageId": 0, "LastStoppageIdBeforeNoShift": 0 } }`, "OnAssemblyPictureSignalChanged": `{ "Port": { "DigitalInputType": 0, "IsHighSpeedCounter": false, "IsMultiCycle": false, "OpcChannelName": "", "OpcIpAddress": "", "OpcPlcName": "", "OpcTagDefinitionId": 0, "OpcTagDefinitionName": "", "PlcType": 0, "PortNo": 0 }, "Value": null, "WorkstationId": 0, "IsHandled": false, "WorkStationStatusEntry": { "WorkStationId": 0, "EquipmentId": 0, "TeamId": 0, "PlanId": 0, "JobOrderId": 0, "JobOrderGroupId": 0, "StoppageCauseId": 0, "Shift": 0, "ShiftId": 0, "LineId": 0, "ProductionQuantity": 0.0, "ProductionQuantity2": 0.0, "ProductionQuantity3": 0.0, "LastQuantity": 0.0, "LastQuantity2": 0.0, "LastQuantity3": 0.0, "ScrapQuantity": 0.0, "ScrapQuantity2": 0.0, "ScrapQuantity3": 0.0, "MaterialScrapQuantity": 0.0, "MaterialScrapQuantity2": 0.0, "MaterialScrapQuantity3": 0.0, "PlanCyclePeriod": 0.0, "ActualCyclePeriod": 0.0, "IsPlanLoaded": false, "IsStopped": false, "JobStartTime": null, "StoppageStartTime": null, "PlannedStoppageDuration": 0, "UnPlannedStoppageDuration": 0, "RotationSpeed": 0.0, "TotalWorkTime": 0, "InstantSpeed": 0.0, "AverageSpeed": 0.0, "LastStoppageIdBeforeNoShift": 0, "InputCountAfterLastProduction": 0.0, "CycleCount": 0.0, "TotalCycleCount": 0.0, "ClientVersion": "", "WorkStationStatusCode": 0, "OutputAdditionalCounter": 0, "OutputContinueJob": false, "ReasonEquipmentId": 0, "PreviousDollyQuantity": 0.0, "LastProductionConfirmationTime": null, "LastSectionSaveTime": null, "EstimatedCompletionTime": null, "LastCounterChangeTime": null, "InsertDate": null, "IpAddress": "", "ProducibleQuantity": 0.0 } }`, "OnBarcodeScanned": `{ "WorkStationId": 5, "Barcode": "STOCK-12345-SN-ABC123", "IsHandled": false, "WorkStationStatusEntry": { "WorkStationId": 0, "EquipmentId": 0, "TeamId": 0, "PlanId": 0, "JobOrderId": 0, "JobOrderGroupId": 0, "StoppageCauseId": 0, "Shift": 0, "ShiftId": 0, "LineId": 0, "ProductionQuantity": 0.0, "ProductionQuantity2": 0.0, "ProductionQuantity3": 0.0, "LastQuantity": 0.0, "LastQuantity2": 0.0, "LastQuantity3": 0.0, "ScrapQuantity": 0.0, "ScrapQuantity2": 0.0, "ScrapQuantity3": 0.0, "MaterialScrapQuantity": 0.0, "MaterialScrapQuantity2": 0.0, "MaterialScrapQuantity3": 0.0, "PlanCyclePeriod": 0.0, "ActualCyclePeriod": 0.0, "IsPlanLoaded": false, "IsStopped": false, "JobStartTime": null, "StoppageStartTime": null, "PlannedStoppageDuration": 0, "UnPlannedStoppageDuration": 0, "RotationSpeed": 0.0, "TotalWorkTime": 0, "InstantSpeed": 0.0, "AverageSpeed": 0.0, "LastStoppageIdBeforeNoShift": 0, "InputCountAfterLastProduction": 0.0, "CycleCount": 0.0, "TotalCycleCount": 0.0, "ClientVersion": "", "WorkStationStatusCode": 0, "OutputAdditionalCounter": 0, "OutputContinueJob": false, "ReasonEquipmentId": 0, "PreviousDollyQuantity": 0.0, "LastProductionConfirmationTime": null, "LastSectionSaveTime": null, "EstimatedCompletionTime": null, "LastCounterChangeTime": null, "InsertDate": null, "IpAddress": "", "ProducibleQuantity": 0.0 } }`, "OnBarcodeScanning": `{ "WorkStationId": 5, "Barcode": "STOCK-12345-SN-ABC123", "IsBarcodeValid": true, "IsBarcodeChanged": true, "IsHandled": false, "WorkStationStatusEntry": { "WorkStationId": 0, "EquipmentId": 0, "TeamId": 0, "PlanId": 0, "JobOrderId": 0, "JobOrderGroupId": 0, "StoppageCauseId": 0, "Shift": 0, "ShiftId": 0, "LineId": 0, "ProductionQuantity": 0.0, "ProductionQuantity2": 0.0, "ProductionQuantity3": 0.0, "LastQuantity": 0.0, "LastQuantity2": 0.0, "LastQuantity3": 0.0, "ScrapQuantity": 0.0, "ScrapQuantity2": 0.0, "ScrapQuantity3": 0.0, "MaterialScrapQuantity": 0.0, "MaterialScrapQuantity2": 0.0, "MaterialScrapQuantity3": 0.0, "PlanCyclePeriod": 0.0, "ActualCyclePeriod": 0.0, "IsPlanLoaded": false, "IsStopped": false, "JobStartTime": null, "StoppageStartTime": null, "PlannedStoppageDuration": 0, "UnPlannedStoppageDuration": 0, "RotationSpeed": 0.0, "TotalWorkTime": 0, "InstantSpeed": 0.0, "AverageSpeed": 0.0, "LastStoppageIdBeforeNoShift": 0, "InputCountAfterLastProduction": 0.0, "CycleCount": 0.0, "TotalCycleCount": 0.0, "ClientVersion": "", "WorkStationStatusCode": 0, "OutputAdditionalCounter": 0, "OutputContinueJob": false, "ReasonEquipmentId": 0, "PreviousDollyQuantity": 0.0, "LastProductionConfirmationTime": null, "LastSectionSaveTime": null, "EstimatedCompletionTime": null, "LastCounterChangeTime": null, "InsertDate": null, "IpAddress": "", "ProducibleQuantity": 0.0 } }`, "OnBarcodeTextBoxSetting": `{ "IsHandled": false, "WorkStationStatusEntry": { "WorkStationId": 0, "EquipmentId": 0, "TeamId": 0, "PlanId": 0, "JobOrderId": 0, "JobOrderGroupId": 0, "StoppageCauseId": 0, "Shift": 0, "ShiftId": 0, "LineId": 0, "ProductionQuantity": 0.0, "ProductionQuantity2": 0.0, "ProductionQuantity3": 0.0, "LastQuantity": 0.0, "LastQuantity2": 0.0, "LastQuantity3": 0.0, "ScrapQuantity": 0.0, "ScrapQuantity2": 0.0, "ScrapQuantity3": 0.0, "MaterialScrapQuantity": 0.0, "MaterialScrapQuantity2": 0.0, "MaterialScrapQuantity3": 0.0, "PlanCyclePeriod": 0.0, "ActualCyclePeriod": 0.0, "IsPlanLoaded": false, "IsStopped": false, "JobStartTime": null, "StoppageStartTime": null, "PlannedStoppageDuration": 0, "UnPlannedStoppageDuration": 0, "RotationSpeed": 0.0, "TotalWorkTime": 0, "InstantSpeed": 0.0, "AverageSpeed": 0.0, "LastStoppageIdBeforeNoShift": 0, "InputCountAfterLastProduction": 0.0, "CycleCount": 0.0, "TotalCycleCount": 0.0, "ClientVersion": "", "WorkStationStatusCode": 0, "OutputAdditionalCounter": 0, "OutputContinueJob": false, "ReasonEquipmentId": 0, "PreviousDollyQuantity": 0.0, "LastProductionConfirmationTime": null, "LastSectionSaveTime": null, "EstimatedCompletionTime": null, "LastCounterChangeTime": null, "InsertDate": null, "IpAddress": "", "ProducibleQuantity": 0.0 } }`, "OnCoefficientChangeSaved": `{ "Pitch": 0.0, "Summary": { "Coefficients": [ { "Coefficient": 0.0, "StockId": 0, "StockName": "", "StockNo": "" } ], "WorkStation": { "WorkStationId": 0, "WorkStationName": "", "WorkStationNo": "" } } }`, "OnCommandKeyProcessing": `{ "Key": null, "IsHandled": false, "WorkStationStatusEntry": { "WorkStationId": 0, "EquipmentId": 0, "TeamId": 0, "PlanId": 0, "JobOrderId": 0, "JobOrderGroupId": 0, "StoppageCauseId": 0, "Shift": 0, "ShiftId": 0, "LineId": 0, "ProductionQuantity": 0.0, "ProductionQuantity2": 0.0, "ProductionQuantity3": 0.0, "LastQuantity": 0.0, "LastQuantity2": 0.0, "LastQuantity3": 0.0, "ScrapQuantity": 0.0, "ScrapQuantity2": 0.0, "ScrapQuantity3": 0.0, "MaterialScrapQuantity": 0.0, "MaterialScrapQuantity2": 0.0, "MaterialScrapQuantity3": 0.0, "PlanCyclePeriod": 0.0, "ActualCyclePeriod": 0.0, "IsPlanLoaded": false, "IsStopped": false, "JobStartTime": null, "StoppageStartTime": null, "PlannedStoppageDuration": 0, "UnPlannedStoppageDuration": 0, "RotationSpeed": 0.0, "TotalWorkTime": 0, "InstantSpeed": 0.0, "AverageSpeed": 0.0, "LastStoppageIdBeforeNoShift": 0, "InputCountAfterLastProduction": 0.0, "CycleCount": 0.0, "TotalCycleCount": 0.0, "ClientVersion": "", "WorkStationStatusCode": 0, "OutputAdditionalCounter": 0, "OutputContinueJob": false, "ReasonEquipmentId": 0, "PreviousDollyQuantity": 0.0, "LastProductionConfirmationTime": null, "LastSectionSaveTime": null, "EstimatedCompletionTime": null, "LastCounterChangeTime": null, "InsertDate": null, "IpAddress": "", "ProducibleQuantity": 0.0 } }`, "OnConsumedLotEntriesDeleting": `{ "WorkStationId": 0 }`, "OnCounterIncrementViabilityChecked": `{ "CounterIncrement": 0.0, "IsViable": false, "WorkStationId": 0 }`, "OnCreatedProductionPlanLoading": `{ "PlanId": 0, "WorkStationId": 0 }`, "OnCurrentLotBalancesValidating": `{ "JobOrderId": 0, "PlanId": 0, "ProductionQuantity": 0.0, "Viability": null, "WorkStationId": 0 }`, "OnCurrentPlanInfoSet": `{ "PlanId": 0, "WorkStationId": 0 }`, "OnCurrentSpeedCalculated": `{ "CalculatedSpeed": 0.0, "CurrentSpeed": 0.0 }`, "OnCurrentSpeedCalculating": `{ "CurrentSpeed": 0.0, "WorkStationId": 0 }`, "OnCyclePeriodSet": `{ "Summary": { "CyclePeriod": 0.0, "WorkStation": { "WorkStationId": 0, "WorkStationName": "", "WorkStationNo": "" } } }`, "OnCyclePeriodSetting": `{ "WorkStationId": 0 }`, "OnDefectAmountQuerying": `{ "DefectAmount": 0.0, "PlanId": 0, "StockId": 0, "WorkStationId": 0 }`, "OnDefectEntryCreated": `{ "EntrySummary": { "DefectId": 0, "DefectType": 0, "EmployeeId": 0, "IsAdditionalDefect": false, "IsMaterialDefect": false, "IsSubProductDefect": false, "JobOrderId": 0, "PlanId": 0, "Quantity": 0.0, "Quantity2": 0.0, "Quantity3": 0.0, "StockId": 0, "WorkStationId": 0 } }`, "OnDefectEntryDeleted": `{ "EntrySummary": { "DefectId": 0, "DefectType": 0, "EmployeeId": 0, "IsAdditionalDefect": false, "IsMaterialDefect": false, "IsSubProductDefect": false, "JobOrderId": 0, "PlanId": 0, "Quantity": 0.0, "Quantity2": 0.0, "Quantity3": 0.0, "StockId": 0, "WorkStationId": 0 } }`, "OnDefectEntryOperatorConfirmationFailed": `{ "ConfirmationMessage": "", "DefectId": 0, "WorkStationId": 0, "IsHandled": false, "WorkStationStatusEntry": { "WorkStationId": 0, "EquipmentId": 0, "TeamId": 0, "PlanId": 0, "JobOrderId": 0, "JobOrderGroupId": 0, "StoppageCauseId": 0, "Shift": 0, "ShiftId": 0, "LineId": 0, "ProductionQuantity": 0.0, "ProductionQuantity2": 0.0, "ProductionQuantity3": 0.0, "LastQuantity": 0.0, "LastQuantity2": 0.0, "LastQuantity3": 0.0, "ScrapQuantity": 0.0, "ScrapQuantity2": 0.0, "ScrapQuantity3": 0.0, "MaterialScrapQuantity": 0.0, "MaterialScrapQuantity2": 0.0, "MaterialScrapQuantity3": 0.0, "PlanCyclePeriod": 0.0, "ActualCyclePeriod": 0.0, "IsPlanLoaded": false, "IsStopped": false, "JobStartTime": null, "StoppageStartTime": null, "PlannedStoppageDuration": 0, "UnPlannedStoppageDuration": 0, "RotationSpeed": 0.0, "TotalWorkTime": 0, "InstantSpeed": 0.0, "AverageSpeed": 0.0, "LastStoppageIdBeforeNoShift": 0, "InputCountAfterLastProduction": 0.0, "CycleCount": 0.0, "TotalCycleCount": 0.0, "ClientVersion": "", "WorkStationStatusCode": 0, "OutputAdditionalCounter": 0, "OutputContinueJob": false, "ReasonEquipmentId": 0, "PreviousDollyQuantity": 0.0, "LastProductionConfirmationTime": null, "LastSectionSaveTime": null, "EstimatedCompletionTime": null, "LastCounterChangeTime": null, "InsertDate": null, "IpAddress": "", "ProducibleQuantity": 0.0 } }`, "OnDefectEntrySignalChanged": `{ "PortProcessType": 0, "WorkStationId": 0, "IsHandled": false, "WorkStationStatusEntry": { "WorkStationId": 0, "EquipmentId": 0, "TeamId": 0, "PlanId": 0, "JobOrderId": 0, "JobOrderGroupId": 0, "StoppageCauseId": 0, "Shift": 0, "ShiftId": 0, "LineId": 0, "ProductionQuantity": 0.0, "ProductionQuantity2": 0.0, "ProductionQuantity3": 0.0, "LastQuantity": 0.0, "LastQuantity2": 0.0, "LastQuantity3": 0.0, "ScrapQuantity": 0.0, "ScrapQuantity2": 0.0, "ScrapQuantity3": 0.0, "MaterialScrapQuantity": 0.0, "MaterialScrapQuantity2": 0.0, "MaterialScrapQuantity3": 0.0, "PlanCyclePeriod": 0.0, "ActualCyclePeriod": 0.0, "IsPlanLoaded": false, "IsStopped": false, "JobStartTime": null, "StoppageStartTime": null, "PlannedStoppageDuration": 0, "UnPlannedStoppageDuration": 0, "RotationSpeed": 0.0, "TotalWorkTime": 0, "InstantSpeed": 0.0, "AverageSpeed": 0.0, "LastStoppageIdBeforeNoShift": 0, "InputCountAfterLastProduction": 0.0, "CycleCount": 0.0, "TotalCycleCount": 0.0, "ClientVersion": "", "WorkStationStatusCode": 0, "OutputAdditionalCounter": 0, "OutputContinueJob": false, "ReasonEquipmentId": 0, "PreviousDollyQuantity": 0.0, "LastProductionConfirmationTime": null, "LastSectionSaveTime": null, "EstimatedCompletionTime": null, "LastCounterChangeTime": null, "InsertDate": null, "IpAddress": "", "ProducibleQuantity": 0.0 } }`, "OnDefectQuantityConverting": `{ "Quantity": 0.0, "Quantity2": 0.0, "Quantity3": 0.0, "ReferenceQuantityType": 0, "unitRates": [0.0], "WorkStationId": 0 }`, "OnDefectSelected": `{ "DefectId": 0, "EntryResult": { "EmployeeId": 0, "EndMeter": 0.0, "IsApproved": false, "IsToPrintLabel": false, "Quantity": 0.0,