| | |
| | | case 21: |
| | | case 22: |
| | | { |
| | | conditionIcon.UnSelectedImagePath = "ZigeeLogic/doormagnetism.png"; |
| | | if (intvalue == "1") |
| | | { |
| | | devicestatus.TextID = MyInternationalizationString.logicopen; |
| | |
| | | break; |
| | | case 40: |
| | | { |
| | | conditionIcon.UnSelectedImagePath = "ZigeeLogic/smoke.png"; |
| | | if (intvalue == "1") |
| | | { |
| | | devicestatus.TextID = MyInternationalizationString.smokescreen; |
| | |
| | | break; |
| | | case 42: |
| | | { |
| | | conditionIcon.UnSelectedImagePath = "ZigeeLogic/waterleakage.png"; |
| | | if (intvalue == "1") |
| | | { |
| | | devicestatus.TextID = MyInternationalizationString.waterleakage; |
| | |
| | | break; |
| | | case 43: |
| | | { |
| | | conditionIcon.UnSelectedImagePath = "ZigeeLogic/gas.png"; |
| | | if (intvalue == "1") |
| | | { |
| | | devicestatus.TextID = MyInternationalizationString.gas; |
| | |
| | | break; |
| | | case 277: |
| | | { |
| | | conditionIcon.UnSelectedImagePath = "ZigeeLogic/waterleakage.png"; |
| | | if (intvalue == "1") |
| | | { |
| | | devicestatus.TextID = MyInternationalizationString.callthepolice; |
| | |
| | | break; |
| | | default: |
| | | { |
| | | conditionIcon.UnSelectedImagePath = "ZigeeLogic/infraredsensor.png"; |
| | | if (intvalue == "1") |
| | | { |
| | | devicestatus.TextID = MyInternationalizationString.callthepolice; |