|
@@ -1450,7 +1450,9 @@ namespace IMCS.CCS.Services
|
|
|
responseData.result = "false";
|
|
|
return responseData;
|
|
|
}
|
|
|
- string status = s7.ReadInt16("DB200.336").Content.ToString();
|
|
|
+ string status = s7.ReadInt16("DB200.336").Content.ToString(); //是否有料
|
|
|
+ string currentWorkStation = s7.ReadInt16("DB200.332").Content.ToString();//当前工位
|
|
|
+ responseData.data = currentWorkStation;
|
|
|
if (status == "1")//状态1 有料
|
|
|
{
|
|
|
responseData.result = "true";
|