public DeviceEventDefault(string eventType, JObject fields) : base()
 {
     this.Timestamp = EventRegistry.GetEventTimestampFromEvent(fields);
     this.EventType = eventType;
     this.Fields    = fields;
 }
Exemplo n.º 2
0
 public DeviceEventDefault(JObject fields) : base()
 {
     this.Timestamp = EventRegistry.GetEventTimestampFromEvent(fields);
     this.EventType = Names.EVENT_TYPE_DEFAULT;
     this.Fields    = fields;
 }