Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 public SimulatorLog(SimulatorInterface simInterface)
 {
     this.simInterface = simInterface;
     this.syncData = new SyncData(this.simInterface);
 }