| | |
| | | { |
| | | return "FunctionIcon/DoorLock/DoorLock.png"; |
| | | } |
| | | else if (SPK.SensorDryContact == device.spk |
| | | || SPK.SensorDryContact2 == device.spk |
| | | || SPK.OtherCommon == device.spk |
| | | ) |
| | | { |
| | | return "LogicIcon/ganjiedian.png"; |
| | | } |
| | | else if (SPK.SensorLight == device.spk) |
| | | { |
| | | return "LogicIcon/lightloguc.png"; |
| | | } |
| | | //else if (SPK.SensorDryContact == device.spk |
| | | // || SPK.SensorDryContact2 == device.spk |
| | | // || SPK.OtherCommon == device.spk |
| | | // ) |
| | | //{ |
| | | // return "LogicIcon/ganjiedian.png"; |
| | | //} |
| | | //else if (SPK.SensorLight == device.spk) |
| | | //{ |
| | | // return "LogicIcon/lightloguc.png"; |
| | | //} |
| | | //LogicIcon/heatlogic.png" |
| | | return $"FunctionIcon/Icon/{device.IconName}.png"; |
| | | |