|
@@ -60,32 +60,32 @@ namespace SCADA_DAQ.Customer
|
|
|
LocalTime.Text = DateTime.Now.ToString("dddd yyyy年MM月dd日 HH:mm");
|
|
|
KanbanForPressBrakeEquipmentOne.Title = new string[] { "运行时间:",
|
|
|
"等待时间:",
|
|
|
- "换模时间:",
|
|
|
"报警/维修时间:",
|
|
|
+ "换模时间:",
|
|
|
"维保时间:"};
|
|
|
|
|
|
KanbanForPressBrakeEquipmentTwo.Title = new string[] { "运行时间:",
|
|
|
"等待时间:",
|
|
|
- "换模时间:",
|
|
|
"报警/维修时间:",
|
|
|
+ "换模时间:",
|
|
|
"维保时间:"};
|
|
|
|
|
|
KanbanForPressBrakeEquipmentThree.Title = new string[] { "运行时间:",
|
|
|
"等待时间:",
|
|
|
- "换模时间:",
|
|
|
"报警/维修时间:",
|
|
|
+ "换模时间:",
|
|
|
"维保时间:"};
|
|
|
|
|
|
KanbanForPressBrakeEquipmentFour.Title = new string[] { "运行时间:",
|
|
|
"等待时间:",
|
|
|
- "换模时间:",
|
|
|
"报警/维修时间:",
|
|
|
+ "换模时间:",
|
|
|
"维保时间:"};
|
|
|
|
|
|
KanbanForPressBrakeEquipmentFive.Title = new string[] { "运行时间:",
|
|
|
"等待时间:",
|
|
|
- "换模时间:",
|
|
|
"报警/维修时间:",
|
|
|
+ "换模时间:",
|
|
|
"维保时间:"};
|
|
|
|
|
|
|
|
@@ -162,7 +162,7 @@ namespace SCADA_DAQ.Customer
|
|
|
var baiChaoTimeMaintenanceTable = TimeSpan.FromSeconds(Math.Round(baiChaoTimeMaintenanceTableDouble)).ToString();
|
|
|
|
|
|
|
|
|
- var firstYaWeiStopTime = DeviceTimeValue("1号YaWei折弯机", "停止标志位")- DevicMainTableTime("亚威一号折弯机").TotalSeconds;//1号YaWei折弯机等待时间
|
|
|
+ var firstYaWeiStopTime = DeviceTimeValue("1号YaWei折弯机", "停止标志位") - DevicMainTableTime("亚威一号折弯机").TotalSeconds;//1号YaWei折弯机等待时间
|
|
|
var sencondYaWeiStopTime = DeviceTimeValue("2号YaWei折弯机", "停止标志位") - DevicMainTableTime("亚威二号折弯机").TotalSeconds;//2号YaWei折弯机等待时间
|
|
|
var thirdYaWweiStopTime = DeviceTimeValue("3号YaWei折弯机", "停止标志位") - DevicMainTableTime("亚威三号折弯机").TotalSeconds; //3号YaWei折弯机等待时间
|
|
|
var pbcYaWweiStopTime = DeviceTimeValue("亚威PBC折弯机", "停止标志位") - DevicMainTableTime("亚威PBC折弯机").TotalSeconds;//亚威PBC折弯机等待时间
|
|
@@ -194,32 +194,32 @@ namespace SCADA_DAQ.Customer
|
|
|
|
|
|
KanbanForPressBrakeEquipmentOne.DeviceNameOne.Value = firstYaWeiRunTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentOne.DeviceNameTwo.Value = firstYaWeiStopTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentOne.DeviceNameThree.Value = firstYaWeiMoldTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentOne.DeviceNameFour.Value = firstYaWeiTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentOne.DeviceNameThree.Value = firstYaWeiTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentOne.DeviceNameFour.Value = firstYaWeiMoldTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentOne.DeviceNameFive.Value = firstYaWeiRepairTime;
|
|
|
|
|
|
KanbanForPressBrakeEquipmentTwo.DeviceNameOne.Value = sencondYaWeiRunTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentTwo.DeviceNameTwo.Value = sencondYaWeiStopTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentTwo.DeviceNameThree.Value = sencondYaWeiMoldTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentTwo.DeviceNameFour.Value = secondYaWeiTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentTwo.DeviceNameThree.Value = secondYaWeiTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentTwo.DeviceNameFour.Value = sencondYaWeiMoldTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentTwo.DeviceNameFive.Value = secondYaWeiRepairTime;
|
|
|
|
|
|
KanbanForPressBrakeEquipmentThree.DeviceNameOne.Value = thirdYaWweiRunTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentThree.DeviceNameTwo.Value = thirdYaWweiStopTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentThree.DeviceNameThree.Value = thirdYaWweiMoldTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentThree.DeviceNameFour.Value = thirdYaWeiTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentThree.DeviceNameThree.Value = thirdYaWeiTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentThree.DeviceNameFour.Value = thirdYaWweiMoldTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentThree.DeviceNameFive.Value = thirdYaWeiRepairTime;
|
|
|
|
|
|
KanbanForPressBrakeEquipmentFour.DeviceNameOne.Value = pbcYaWweiRunTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentFour.DeviceNameTwo.Value = pbcYaWweiStopTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentFour.DeviceNameThree.Value = pbcYaWweiMoldTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentFour.DeviceNameFour.Value = pbcYaWweiTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentFour.DeviceNameThree.Value = pbcYaWweiTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentFour.DeviceNameFour.Value = pbcYaWweiMoldTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentFour.DeviceNameFive.Value = pbcYaWweiRepairTime;
|
|
|
|
|
|
KanbanForPressBrakeEquipmentFive.DeviceNameOne.Value = baiChaoRunTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentFive.DeviceNameTwo.Value = baiChaoStopTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentFive.DeviceNameThree.Value = baiChaoMoldTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentFive.DeviceNameFour.Value = baiChaoTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentFive.DeviceNameThree.Value = baiChaoTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentFive.DeviceNameFour.Value = baiChaoMoldTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentFive.DeviceNameFive.Value = baiChaoRepairTime;
|
|
|
Env.Schedual.DateTimeChanged += Schedual_DateTimeChanged;
|
|
|
}
|
|
@@ -474,32 +474,32 @@ namespace SCADA_DAQ.Customer
|
|
|
{
|
|
|
KanbanForPressBrakeEquipmentOne.DeviceNameOne.Value = firstYaWeiRunTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentOne.DeviceNameTwo.Value = firstYaWeiStopTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentOne.DeviceNameThree.Value = firstYaWeiMoldTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentOne.DeviceNameFour.Value = firstYaWeiTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentOne.DeviceNameThree.Value = firstYaWeiTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentOne.DeviceNameFour.Value = firstYaWeiMoldTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentOne.DeviceNameFive.Value = firstYaWeiRepairTime;
|
|
|
|
|
|
KanbanForPressBrakeEquipmentTwo.DeviceNameOne.Value = sencondYaWeiRunTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentTwo.DeviceNameTwo.Value = sencondYaWeiStopTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentTwo.DeviceNameThree.Value = sencondYaWeiMoldTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentTwo.DeviceNameFour.Value = secondYaWeiTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentTwo.DeviceNameThree.Value = secondYaWeiTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentTwo.DeviceNameFour.Value = sencondYaWeiMoldTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentTwo.DeviceNameFive.Value = secondYaWeiRepairTime;
|
|
|
|
|
|
KanbanForPressBrakeEquipmentThree.DeviceNameOne.Value = thirdYaWweiRunTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentThree.DeviceNameTwo.Value = thirdYaWweiStopTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentThree.DeviceNameThree.Value = thirdYaWweiMoldTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentThree.DeviceNameFour.Value = thirdYaWeiTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentThree.DeviceNameThree.Value = thirdYaWeiTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentThree.DeviceNameFour.Value = thirdYaWweiMoldTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentThree.DeviceNameFive.Value = thirdYaWeiRepairTime;
|
|
|
|
|
|
KanbanForPressBrakeEquipmentFour.DeviceNameOne.Value = pbcYaWweiRunTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentFour.DeviceNameTwo.Value = pbcYaWweiStopTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentFour.DeviceNameThree.Value = pbcYaWweiMoldTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentFour.DeviceNameFour.Value = pbcYaWweiTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentFour.DeviceNameThree.Value = pbcYaWweiTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentFour.DeviceNameFour.Value = pbcYaWweiMoldTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentFour.DeviceNameFive.Value = pbcYaWweiRepairTime;
|
|
|
|
|
|
KanbanForPressBrakeEquipmentFive.DeviceNameOne.Value = baiChaoRunTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentFive.DeviceNameTwo.Value = baiChaoStopTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentFive.DeviceNameThree.Value = baiChaoMoldTimeSpan;
|
|
|
- KanbanForPressBrakeEquipmentFive.DeviceNameFour.Value = baiChaoTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentFive.DeviceNameThree.Value = baiChaoTimeMaintenanceTable;
|
|
|
+ KanbanForPressBrakeEquipmentFive.DeviceNameFour.Value = baiChaoMoldTimeSpan;
|
|
|
KanbanForPressBrakeEquipmentFive.DeviceNameFive.Value = baiChaoRepairTime;
|
|
|
}));
|
|
|
}
|