public Device( String serial, DeviceState state ) { this.SerialNumber = serial; this.State = state; Properties = new Dictionary<string, string> ( ); }