From 92f767f0271b5eaeeffbba348439440c8983a0a2 Mon Sep 17 00:00:00 2001 From: ZhaoGang <15196688790@163.com> Date: Thu, 13 Jul 2023 11:19:43 +0800 Subject: [PATCH] 1 --- .../Model/ProcessControl.cs | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/BPASmartClient.JXJFoodSmallStation/Model/ProcessControl.cs b/BPASmartClient.JXJFoodSmallStation/Model/ProcessControl.cs index c84feeea..4b5492ee 100644 --- a/BPASmartClient.JXJFoodSmallStation/Model/ProcessControl.cs +++ b/BPASmartClient.JXJFoodSmallStation/Model/ProcessControl.cs @@ -301,27 +301,6 @@ namespace BPASmartClient.JXJFoodSmallStation.Model GVL_SmallStation.GetInstance.WindSendDosingComple = false; MessageNotify.GetInstance.ShowRunLog("风送配料完成信号,发给产线plc信号"); } - //if (HKDevice.HK_PLC_S7.Read("DB3.DBX1.1")) - //{ - // HKDevice.HK_PLC_S7.Write("DB4.DBX1.7", false); - //} - /*if (HKDevice.HK_PLC_S7.Read("DB3.DBX1.7"))//允许下配方1或者允许下配方2 - { - GVL_SmallStation.GetInstance.IsAllowSiemensSendRecipe = true; - }*/ - //for (int i = 0; i < 5; i++) - //{ - // if (GVL_SmallStation.GetInstance.PlcAllowIssueRecipe[i] && RecipeQueueTray[i].Count == 0) - // { - // GVL_SmallStation.GetInstance.IsAllowSiemensSendRecipe = true; - // } - //} - //GVL_SmallStation.GetInstance.Station1Sensor = HKDevice.HK_PLC_S7.Read("DB3.DBX2.1"); - //GVL_SmallStation.GetInstance.Station2Sensor = HKDevice.HK_PLC_S7.Read("DB3.DBX2.2"); - //GVL_SmallStation.GetInstance.Station1Cylinder = HKDevice.HK_PLC_S7.Read("DB3.DBX2.3"); - //GVL_SmallStation.GetInstance.Station2Cylinder = HKDevice.HK_PLC_S7.Read("DB3.DBX2.4"); - //GVL_SmallStation.GetInstance.RobotStatus = HKDevice.HK_PLC_S7.Read("DB3.DBW100"); - //GVL_SmallStation.GetInstance.RobotProgramNum = HKDevice.HK_PLC_S7.Read("DB3.DBB102"); if (Json.Data.Recipes.Count <= 3) { GVL_SmallStation.GetInstance.IsAllowSiemensSendRecipe = true;