public void Deserialize(byte[] buffer) { try { this.Device = new sconnDevice(buffer); } catch (Exception e) { _logger.Error(e, e.Message); } }
public void Fake() { try { sconnDevice zone = new sconnDevice(); zone.Fake(); this.Device = zone; } catch (Exception e) { _logger.Error(e, e.Message); } }
public sconnDeviceConfig(byte Id) { Device = new sconnDevice { Id = Id }; }