public LogEntry(string entry, SyncData syncData) { if (entry == "") { throw new Exception("Entry string empty."); } this.syncData = syncData; List<string> parts = Lib.StringToList(entry, new char[] {'[', '{'}, new char[] {']', '}'}); this.timestamp = this.syncData.ErlToDateTime(parts[0]); parts.RemoveAt(0); this.values = parts; }
public SimulatorLog(SimulatorInterface simInterface) { this.simInterface = simInterface; this.syncData = new SyncData(this.simInterface); }