public KNXmessage Process(FaHDevice atHomeDevice) { if (PropertyControl != FAHFunctionPropertyCommand.PropertyControlTypes.WriteFlr_RmNr) { throw new InvalidCastException(); } int ChannelIndex = ObjectID; int propIndex = PropertyID; bool hasMoreIndices = false; atHomeDevice.WriteRoomInfo(ChannelIndex, PropertyID, Room, Xcoords, Ycoords); return(CreateEmptySuccessMessage(hasMoreIndices)); }
public override bool SaveToDevice(ref FaHDevice faHDevice, out bool moreIndices) { moreIndices = false; faHDevice.WriteRoomInfo(ObjectID, PropertyID, Room, Xcoords, Ycoords); return(true); }