|
|
@@ -301,27 +301,6 @@ namespace BPASmartClient.JXJFoodSmallStation.Model |
|
|
|
GVL_SmallStation.GetInstance.WindSendDosingComple = false; |
|
|
|
MessageNotify.GetInstance.ShowRunLog("风送配料完成信号,发给产线plc信号"); |
|
|
|
} |
|
|
|
//if (HKDevice.HK_PLC_S7.Read<bool>("DB3.DBX1.1")) |
|
|
|
//{ |
|
|
|
// HKDevice.HK_PLC_S7.Write<bool>("DB4.DBX1.7", false); |
|
|
|
//} |
|
|
|
/*if (HKDevice.HK_PLC_S7.Read<bool>("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<bool>("DB3.DBX2.1"); |
|
|
|
//GVL_SmallStation.GetInstance.Station2Sensor = HKDevice.HK_PLC_S7.Read<bool>("DB3.DBX2.2"); |
|
|
|
//GVL_SmallStation.GetInstance.Station1Cylinder = HKDevice.HK_PLC_S7.Read<bool>("DB3.DBX2.3"); |
|
|
|
//GVL_SmallStation.GetInstance.Station2Cylinder = HKDevice.HK_PLC_S7.Read<bool>("DB3.DBX2.4"); |
|
|
|
//GVL_SmallStation.GetInstance.RobotStatus = HKDevice.HK_PLC_S7.Read<ushort>("DB3.DBW100"); |
|
|
|
//GVL_SmallStation.GetInstance.RobotProgramNum = HKDevice.HK_PLC_S7.Read<byte>("DB3.DBB102"); |
|
|
|
if (Json<RemoteRecipeDataColl>.Data.Recipes.Count <= 3) |
|
|
|
{ |
|
|
|
GVL_SmallStation.GetInstance.IsAllowSiemensSendRecipe = true; |
|
|
|