초기커밋
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
|
||||
using ServerCore; using ServerBase;
|
||||
|
||||
|
||||
namespace ServerCommon.BusinessLogDomain;
|
||||
|
||||
public class CaliumEchoSystemFailLogData : ILogInvoker.IInfo
|
||||
{
|
||||
public CaliumEchoSystemFailLogData() : base() {}
|
||||
|
||||
[JsonProperty] public string FailCode { get; set; } = string.Empty;
|
||||
[JsonProperty] public List<string> FailMessages { get; set; } = new();
|
||||
[JsonProperty] public bool ReTry { get; set; } = false;
|
||||
[JsonProperty] public DateTime FailTime { get; set; } = DateTimeHelper.Current;
|
||||
|
||||
[JsonProperty] public CaliumEventData? EventData { get; set; }
|
||||
|
||||
public void setInfo(CaliumEchoSystemFailLogData log)
|
||||
{
|
||||
FailCode = log.FailCode;
|
||||
FailMessages = log.FailMessages;
|
||||
ReTry = log.ReTry;
|
||||
FailTime = log.FailTime;
|
||||
|
||||
EventData = EventData;
|
||||
}
|
||||
|
||||
public CaliumEchoSystemFailLogData(ILogInvoker parent, CaliumEchoSystemFailLogData failLog)
|
||||
: base(parent)
|
||||
{
|
||||
if (null != failLog)
|
||||
{
|
||||
setInfo(failLog);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user