| | |
| | | functionRow.AddChidren(btnFunctionIcon); |
| | | switch (function.functionCategory) |
| | | { |
| | | case FunctionCategory.AC: |
| | | btnFunctionIcon.UnSelectedImagePath = "FunctionIcon/AC/AcThinIcon.png"; |
| | | case FunctionCategory.Thermostat: |
| | | switch (function.functionType) |
| | | { |
| | | case FunctionType.AC: |
| | | btnFunctionIcon.UnSelectedImagePath = "FunctionIcon/AC/AcThinIcon.png"; |
| | | break; |
| | | case FunctionType.FloorHeating: |
| | | btnFunctionIcon.UnSelectedImagePath = "FunctionIcon/FloorHeating/FloorHeatingThinIcon.png"; |
| | | break; |
| | | } |
| | | break; |
| | | case FunctionCategory.Curtain: |
| | | btnFunctionIcon.UnSelectedImagePath = "FunctionIcon/Curtain/CurtainThinIcon.png"; |
| | | break; |
| | | case FunctionCategory.Light: |
| | | btnFunctionIcon.UnSelectedImagePath = "FunctionIcon/Light/LightThinIcon.png"; |
| | | break; |
| | | case FunctionCategory.FloorHeating: |
| | | btnFunctionIcon.UnSelectedImagePath = "FunctionIcon/FloorHeating/FloorHeatingThinIcon.png"; |
| | | break; |
| | | } |
| | | |