public TelemetryInfo(ETelemetryEvent evt, string uri, IDictionary args, bool fSession)
 {
     this.eEvent            = evt;
     this.dcsUri            = uri;
     this.Args              = args;
     this.utcTime           = DateTime.UtcNow;
     this.fSessionDatapoint = fSession;
     this.elapsedTime       = (long)this.utcTime.Subtract(new DateTime(1970, 1, 1)).TotalMilliseconds;
 }
Beispiel #2
0
 public DatapointInfo(ETelemetryEvent evt, string typeName, bool fSess)
 {
     this._event    = evt;
     this._typeName = typeName;
     this._fSession = fSess;
 }
Beispiel #3
0
 public DatapointInfo(ETelemetryEvent evt)
 {
     this._event    = evt;
     this._typeName = "";
     this._fSession = false;
 }