|
@@ -717,12 +717,12 @@ namespace IMCS.CCS.Services
|
|
|
responseData.result = "false";
|
|
|
return responseData;
|
|
|
}
|
|
|
- string proNo = Path.GetFileNameWithoutExtension(req.data.fileName);
|
|
|
- s7.Write("DB200.334", Convert.ToInt16(proNo));
|
|
|
+ string proNo = Path.GetFileNameWithoutExtension(req.data.fileName);
|
|
|
+ s7.Write(ToolUtils.AddressConvertDBW("DB200.334"), Convert.ToInt16(proNo));
|
|
|
Thread.Sleep(SLEEP_TIME);
|
|
|
- s7.Write("DB200.46", Convert.ToInt16(req.data.Location));
|
|
|
+ s7.Write(ToolUtils.AddressConvertDBW("DB200.46"), Convert.ToInt16(req.data.Location));
|
|
|
Thread.Sleep(SLEEP_TIME);
|
|
|
- s7.Write("DB200.50", Convert.ToInt16("4"));
|
|
|
+ s7.Write(ToolUtils.AddressConvertDBW("DB200.50"), Convert.ToInt16("4"));
|
|
|
}
|
|
|
else
|
|
|
{
|