public TimeRecord(string preFixed, long delayTime, bool overlapped) { this.preFixed = preFixed; LastSysTime = new TimeRecordElement (this.preFixed + LAST_SYS_TIME); LastPhoneRunTime = new TimeRecordElement (this.preFixed + LAST_PHONE_RUN_TIME); LastCountTime = new TimeRecordElement (this.preFixed + LAST_COUNT_TIME); IsActive = new TimeRecordElement (this.preFixed + IS_ACTIVE); this.DelayTime = delayTime; this.Overlapped = overlapped; OnStartCheck (); }
public TimeRecord(string preFixed, long delayTime, bool overlapped) { this.preFixed = preFixed; LastSysTime = new TimeRecordElement(this.preFixed + LAST_SYS_TIME); LastPhoneRunTime = new TimeRecordElement(this.preFixed + LAST_PHONE_RUN_TIME); LastCountTime = new TimeRecordElement(this.preFixed + LAST_COUNT_TIME); IsActive = new TimeRecordElement(this.preFixed + IS_ACTIVE); this.DelayTime = delayTime; this.Overlapped = overlapped; OnStartCheck(); }