|
|
@@ -227,7 +227,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.1", true);//洗桶 |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方编号:{code},托盘编号:{trayCode},订单类型为洗桶"); |
|
|
|
|
|
|
|
HKDevice.StockBinPar(LocalRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(LocalRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.3", true); |
|
|
|
GVL_BigStation.Recipe1DosingStatus = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方编号:{code},托盘编号:{trayCode},下发完成"); |
|
|
@@ -235,7 +235,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
HKDevice.StockBinPar(LocalRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(LocalRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.3", true); |
|
|
|
GVL_BigStation.Recipe1DosingStatus = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方编号:{code},托盘编号:{trayCode},下发完成"); |
|
|
@@ -392,7 +392,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.1", true);//洗桶 |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方编号:{code},托盘编号:{trayCode},订单类型为洗桶"); |
|
|
|
|
|
|
|
HKDevice.StockBinPar(LocalRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(LocalRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.4", true); |
|
|
|
GVL_BigStation.Recipe2DosingStatus = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方状态:{code}下发完成"); |
|
|
@@ -400,7 +400,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
HKDevice.StockBinPar(LocalRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(LocalRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.4", true); |
|
|
|
GVL_BigStation.Recipe2DosingStatus = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方状态:{code}下发完成"); |
|
|
@@ -554,7 +554,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.1", true);//洗桶 |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方编号:{code},托盘编号:{trayCode},订单类型为洗桶"); |
|
|
|
|
|
|
|
HKDevice.StockBinPar(LocalRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(LocalRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.5", true); |
|
|
|
GVL_BigStation.Recipe3DosingStatus = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方状态:{code}下发完成"); |
|
|
@@ -562,7 +562,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
HKDevice.StockBinPar(LocalRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(LocalRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.5", true); |
|
|
|
GVL_BigStation.Recipe3DosingStatus = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方状态:{code}下发完成"); |
|
|
@@ -717,7 +717,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.1", true);//洗桶 |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方编号:{code},托盘编号:{trayCode},订单类型为洗桶"); |
|
|
|
|
|
|
|
HKDevice.StockBinPar(LocalRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(LocalRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.6", true); |
|
|
|
GVL_BigStation.Recipe4DosingStatus = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方状态:{code}下发完成"); |
|
|
@@ -725,7 +725,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
HKDevice.StockBinPar(LocalRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(LocalRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.6", true); |
|
|
|
GVL_BigStation.Recipe4DosingStatus = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方状态:{code}下发完成"); |
|
|
@@ -1303,7 +1303,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方1,配方编号:{code},托盘编号:{trayCode},订单类型为洗桶"); |
|
|
|
|
|
|
|
GVL_BigStation.DosingRecipe1Time = DateTime.Now; |
|
|
|
HKDevice.StockBinPar(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.3", true); |
|
|
|
GVL_BigStation.Recipe1DosingStatus = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方1,配方编号:{code},托盘编号:{trayCode},下发完成"); |
|
|
@@ -1312,7 +1312,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
else |
|
|
|
{ |
|
|
|
GVL_BigStation.DosingRecipe1Time = DateTime.Now; |
|
|
|
HKDevice.StockBinPar(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.3", true); |
|
|
|
GVL_BigStation.Recipe1DosingStatus = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方1,配方编号:{code},托盘编号:{trayCode},下发完成"); |
|
|
@@ -1417,7 +1417,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方2,配方编号:{code},托盘编号:{trayCode},订单类型为洗桶"); |
|
|
|
|
|
|
|
GVL_BigStation.DosingRecipe2Time = DateTime.Now; |
|
|
|
HKDevice.StockBinPar(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.4", true); |
|
|
|
GVL_BigStation.Recipe2DosingStatus = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方2,配方编号:{code},托盘编号:{trayCode},下发完成"); |
|
|
@@ -1426,7 +1426,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
else |
|
|
|
{ |
|
|
|
GVL_BigStation.DosingRecipe2Time = DateTime.Now; |
|
|
|
HKDevice.StockBinPar(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.4", true); |
|
|
|
GVL_BigStation.Recipe2DosingStatus = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方2,配方编号:{code},托盘编号:{trayCode},下发完成"); |
|
|
@@ -1530,7 +1530,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.1", true);//洗桶 |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方3,配方编号:{code},托盘编号:{trayCode},订单类型为洗桶"); |
|
|
|
GVL_BigStation.DosingRecipe3Time = DateTime.Now; |
|
|
|
HKDevice.StockBinPar(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.5", true); |
|
|
|
GVL_BigStation.Recipe3DosingStatus = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方3,配方编号:{code},托盘编号:{trayCode},下发完成"); |
|
|
@@ -1539,7 +1539,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
else |
|
|
|
{ |
|
|
|
GVL_BigStation.DosingRecipe3Time = DateTime.Now; |
|
|
|
HKDevice.StockBinPar(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.5", true); |
|
|
|
GVL_BigStation.Recipe3DosingStatus = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方3,配方编号:{code},托盘编号:{trayCode},下发完成"); |
|
|
@@ -1643,7 +1643,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.1", true);//洗桶 |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方4,配方编号:{code},托盘编号:{trayCode},订单类型为洗桶"); |
|
|
|
GVL_BigStation.DosingRecipe4Time = DateTime.Now; |
|
|
|
HKDevice.StockBinPar(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.6", true); |
|
|
|
GVL_BigStation.Recipe4DosingStatus = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方4,配方编号:{code},托盘编号:{trayCode},下发完成"); |
|
|
@@ -1652,7 +1652,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
else |
|
|
|
{ |
|
|
|
GVL_BigStation.DosingRecipe4Time = DateTime.Now; |
|
|
|
HKDevice.StockBinPar(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write("DB99.DBX0.6", true); |
|
|
|
GVL_BigStation.Recipe4DosingStatus = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方4,配方编号:{code},托盘编号:{trayCode},下发完成"); |
|
|
@@ -2248,7 +2248,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方编号:{code},托盘编号:{trayCode},订单类型为洗桶"); |
|
|
|
|
|
|
|
GVL_BigStation.RecipeDosingTime[data.Key] = DateTime.Now; |
|
|
|
HKDevice.StockBinPar(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write($"DB99.DBX0.{2 + data.Key}", true); |
|
|
|
GVL_BigStation.RecipeDosingStatus[data.Key] = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方编号:{code},托盘编号:{trayCode},下发完成"); |
|
|
@@ -2257,7 +2257,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
else |
|
|
|
{ |
|
|
|
GVL_BigStation.RecipeDosingTime[data.Key] = DateTime.Now; |
|
|
|
HKDevice.StockBinPar(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.WritePlcRecipeData(SiemensRecipes.ElementAt(index)); |
|
|
|
HKDevice.HK_PLC_S7.Write($"DB99.DBX0.{2 + data.Key}", true); |
|
|
|
GVL_BigStation.RecipeDosingStatus[data.Key] = 1; |
|
|
|
MessageNotify.GetInstance.ShowRunLog($"配方编号:{code},托盘编号:{trayCode},下发完成"); |
|
|
|