MES对接

This commit is contained in:
a88359121
2025-07-28 11:12:06 +08:00
parent 3b8de36d39
commit c45e3622af
13 changed files with 41 additions and 41 deletions
+4 -3
View File
@@ -138,9 +138,9 @@ namespace JinYuan.ControlCenters
{
DicStationFunction = new Dictionary<string, dgStationFunction>();
DicStationFunction.Add("卷芯进站", FeedingStation);
DicStationFunction.Add("外观检测进站", FeedingStation);
DicStationFunction.Add("NG出站", NGStation);
DicStationFunction.Add("卷芯出站", BlankingStation);
DicStationFunction.Add("外观检测出站", BlankingStation);
for (int i = 0; i < CommonMethods.ChatLineCount; i++)
{
@@ -1002,7 +1002,8 @@ namespace JinYuan.ControlCenters
CommonMethods.ProOKQty = CommonMethods.PlcLink.ReadInt32("D17");//良品总数
CommonMethods.Ppm = CommonMethods.PlcLink.ReadInt32("D13");
CommonMethods.JiaDL = Convert.ToDouble(CommonMethods.PlcLink.ReadFloat("D11").ToString("F2"));
//CommonMethods.JiaDL = Convert.ToDouble(CommonMethods.PlcLink.ReadFloat("D11").ToString("F2"))/100;
CommonMethods.JiaDL = Convert.ToDouble(CommonMethods.PlcLink.ReadInt32("D11").ToString("F2"))/100;
#region 开机时间/运行时间
CommonMethods.PlcOpenAndRunTime = GetList<int>(6, 0);