|
@@ -110,7 +110,7 @@ namespace BPASmartClient.Device |
|
|
/// <param name="info"></param> |
|
|
/// <param name="info"></param> |
|
|
public void DeviceProcessLogShow(string info) |
|
|
public void DeviceProcessLogShow(string info) |
|
|
{ |
|
|
{ |
|
|
Log.Add(new { Time = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), Type = "流程", Text = info }); |
|
|
|
|
|
|
|
|
Log.Insert(0,new { Time = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), Type = "流程", Text = info }); |
|
|
MessageLog.GetInstance.DeviceProcessLogShow(DeviceId.ToString(), info); |
|
|
MessageLog.GetInstance.DeviceProcessLogShow(DeviceId.ToString(), info); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@@ -233,7 +233,7 @@ namespace BPASmartClient.Device |
|
|
Type = res.Grade, |
|
|
Type = res.Grade, |
|
|
Text = res.Info |
|
|
Text = res.Info |
|
|
}; |
|
|
}; |
|
|
Error.Add(obj); |
|
|
|
|
|
|
|
|
Error.Insert(0,obj); |
|
|
AddErrorAction?.Invoke(DeviceId, obj); |
|
|
AddErrorAction?.Invoke(DeviceId, obj); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|