public SwitchpointWrite(Switchpoint a) { this.TargetTemperature = a.Temperature; this.TimeOfDay = a.TimeOfDay; }