Beispiel #1
0
 public IoTClientConnectTheDots(string deviceName, string deviceId, string connectionString, string eventhubentity)
     : base(deviceName, deviceId, connectionString, eventhubentity)
 {
     this.sensor              = new ConnectTheDotsSensor();
     this.sensor.displayname  = deviceName;
     this.sensor.guid         = deviceId;
     this.sensor.location     = "my location";
     this.sensor.organization = "my organization";
 }
 public IoTClientConnectTheDots(string deviceName, string deviceId, string connectionString, string eventhubentity)
     : base(deviceName, deviceId, connectionString, eventhubentity)
 {
     this.sensor = new ConnectTheDotsSensor();
     this.sensor.displayname = deviceName;
     this.sensor.guid = deviceId;
     this.sensor.location = "my location";
     this.sensor.organization = "my organization";
 }