public HeatmiserState PostData(HeatmiserState state)
        {
            HeatmiserState stat = null;

            if (state.GetChangedValues().Count > 0)
            {
                foreach (HeatmiserStateValueChange stateChange in state.GetChangedValues())
                {
                    stat = SendMessageToThermostat(WriteDCBCommand(stateChange));
                }
            }
            return(stat);
        }