fyf 2 anni fa
parent
commit
098af52f86
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      BPASmartClient.Device/BaseDevice.cs

+ 2
- 2
BPASmartClient.Device/BaseDevice.cs Vedi 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);
}
});


Caricamento…
Annulla
Salva