| | |
| | | { |
| | | return "MusicIcon/localMusic.png"; |
| | | } |
| | | else if (SPK.SensorPm10 == device.spk) |
| | | else if (SPK.SensorPm10 == device.spk || SPK.sensorPirhold == device.spk) |
| | | { |
| | | return "LogicIcon/sensor.png"; |
| | | } |
| | |
| | | case SPK.SensorTVOC: |
| | | case SPK.SensorHcho: |
| | | case SPK.SensorHelp: |
| | | case SPK.sensorPirhold: |
| | | |
| | | { |
| | | strPath = "LogicIcon/sensor.png"; |
| | | } |
| | |
| | | || device.spk == SPK.SensorHcho |
| | | || device.spk == SPK.SensorHelp |
| | | || device.spk == SPK.SensorPm10 |
| | | || device.spk == SPK.sensorPirhold |
| | | ); |
| | | if (sensor != null) |
| | | { |
| | |
| | | functionTypeList.Add(SPK.SensorHcho); |
| | | functionTypeList.Add(SPK.SensorHelp); |
| | | functionTypeList.Add(SPK.SensorPm10); |
| | | functionTypeList.Add(SPK.sensorPirhold); |
| | | |
| | | |
| | | } |
| | |
| | | functionTypeList.Add(SPK.SensorPm10); |
| | | functionTypeList.Add(SPK.VideoDoorLock); |
| | | functionTypeList.Add(SPK.AcIr); |
| | | functionTypeList.Add(SPK.sensorPirhold); |
| | | |
| | | } |
| | | |
| | |
| | | deviceTypeList.Add(SPK.SensorPm10); |
| | | deviceTypeList.Add(SPK.VideoDoorLock); |
| | | deviceTypeList.Add(SPK.AcIr); |
| | | deviceTypeList.Add(SPK.sensorPirhold); |
| | | |
| | | } |
| | | break; |
| | |
| | | // new Entity.Function { sid = "1234567892", name = "湿度传感器", spk = Entity.SPK.SensorHumidity }, |
| | | //new Entity.Function { sid = "12345678933456", name = "门锁", spk = Entity.SPK.DoorLock }, |
| | | // new Entity.Function { sid = "1234567895444", name = "视频门锁", spk = Entity.SPK.VideoDoorLock }, |
| | | new Entity.Function { sid = "12345678968888", name = "pm10", spk = Entity.SPK.LightDimming }, |
| | | new Entity.Function { sid = "12345678968888", name = "人体存在传感器", spk = Entity.SPK.sensorPirhold }, |
| | | // new Entity.Function { sid = "1234567897", name = "毫米波传感器1", spk = Entity.SPK.SenesorMegahealth2 }, |
| | | // new Entity.Function { sid = "1234567899", name = "门磁传感器", spk = Entity.SPK.SensorDoorWindow }, |
| | | // new Entity.Function { sid = "12345678991234", name = "HDL机械手", spk = Entity.SPK.MechanicalArm }, |