예제 #1
0
 public VATRPDevice(string deviceId, VATRPDeviceType deviceType)
 {
     this.deviceId = deviceId.Trim();
     string[] parts = deviceId.Split(':');
     if (parts.Count() > 1)
     {
         displayName = parts[1].Trim();
     }
     this.deviceType = deviceType;
 }
예제 #2
0
 public VATRPDevice(string deviceId, VATRPDeviceType deviceType)
 {
     this.deviceId = deviceId.Trim();
     string[] parts = deviceId.Split(':');
     if (parts.Count() > 1)
     {
         displayName = parts[1].Trim();
     }
     this.deviceType = deviceType;
 }