示例#1
0
 public SysLogDescriptor(SysLogType logType, AttachmentData att, string log, bool isReceived = false)
 {
     this.LogType    = LogType;
     this.Attachment = att;
     this.SystemLog  = log;
     IsReceived      = isReceived;
 }
示例#2
0
        public void FillData(global::onvif.services.SystemLog log, SysLogType slogType)
        {
            arriveTime = System.DateTime.Now;
            LogType    = slogType;
            Attachment = log.binary;
            SystemLog  = log.@string;

            IsReceived = true;
        }