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; }
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; }