|
@@ -1567,13 +1567,13 @@ namespace IMCS.CCS.Services
|
|
|
actionQuery.Ip = req.url;
|
|
|
List<CcsAction> actions = _ccsActionService.GetList(actionQuery);
|
|
|
CcsAction actionInfo = actions[0];
|
|
|
- string TypeNo = req.data.TypeNo;
|
|
|
- string SmallTypeNo = req.data.SmallTypeNo;
|
|
|
+ string TypeNo = string.IsNullOrEmpty(req.data.TypeNo) ? "C" : req.data.TypeNo;
|
|
|
+ string SmallTypeNo = string.IsNullOrEmpty(req.data.SmallTypeNo) ? "K" : req.data.SmallTypeNo;
|
|
|
string OrderNo = req.data.OrderNo;
|
|
|
string TaskNo = req.data.TaskNo;
|
|
|
string ProductNo = req.data.TaskNo;
|
|
|
string BatchNo = req.data.BatchNo;
|
|
|
- string SerialNo = req.data.SerialNo;
|
|
|
+ string SerialNo = string.IsNullOrEmpty(req.data.SerialNo) ? "4" : req.data.SerialNo;
|
|
|
|
|
|
|
|
|
SiemensS7Net s7 = DevicePlcS7.SiemensS7(req.url);
|