MES对接
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user