Browse Source

3

样式分支
fyf 2 years ago
parent
commit
098af52f86
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      BPASmartClient.Device/BaseDevice.cs

+ 2
- 2
BPASmartClient.Device/BaseDevice.cs View File

@@ -110,7 +110,7 @@ namespace BPASmartClient.Device
/// <param name="info"></param>
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);
}

@@ -233,7 +233,7 @@ namespace BPASmartClient.Device
Type = res.Grade,
Text = res.Info
};
Error.Add(obj);
Error.Insert(0,obj);
AddErrorAction?.Invoke(DeviceId, obj);
}
});


Loading…
Cancel
Save