This commit is contained in:
@ -76,10 +76,21 @@ namespace Epost.TestToolsWeb.Controllers
|
||||
data.Parameter =data.Quantity;
|
||||
|
||||
|
||||
JobCache.UpdateJobDownModelList(new List<ResultMessageModel>() { data }, EdownCommend.Create);
|
||||
|
||||
JobCache.UpdateJobDownModelList(new List<ResultMessageModel>() { data }, EdownCommend.Create);
|
||||
|
||||
}
|
||||
|
||||
if (data.Command == "JOB_Fail")
|
||||
{
|
||||
|
||||
LogHelper.WriteLogInfo("设备报错:" + JsonHelper.SerializeObject(data), Log_Type.ERROR);
|
||||
|
||||
ErrorLogModel errmodel = new ErrorLogModel();
|
||||
errmodel.Address = data.Address;
|
||||
errmodel.ControlIP = data.IP;
|
||||
addrbll.UpdateErrorState(data.Address, data.IP);
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
Reference in New Issue
Block a user