| | |
| | | }; |
| | | } |
| | | break; |
| | | //pm210 |
| | | //pm10 |
| | | case SPK.SensorPm10: |
| | | { |
| | | ///pm210 |
| | |
| | | Input inputDevice = new Input(); |
| | | inputDevice.condition_type = "3"; |
| | | inputDevice.sid = device.sid; |
| | | inputDevice.condition = dicSateteList; |
| | | inputDevice.condition.AddRange(dicSateteList); |
| | | if (device.spk == SPK.doorgate) |
| | | { |
| | | //可视对讲 |
| | |
| | | if (inputs.condition.Count != 0) |
| | | { |
| | | //有数据重新赋值 |
| | | dicSateteList = inputs.condition; |
| | | dicSateteList.AddRange(inputs.condition); |
| | | } |
| | | } |
| | | new LogicView.TipPopView { }.InputBox(textInt, stateValue, (value) => |
| | |
| | | if (inputs.condition.Count != 0) |
| | | { |
| | | //有数据重新赋值 |
| | | dicSateteList = inputs.condition; |
| | | dicSateteList.AddRange(inputs.condition); |
| | | } |
| | | } |
| | | PublicInterface view = new PublicInterface(); |
| | |
| | | case SPK.SensorPm25: |
| | | case SPK.SensorTVOC: |
| | | case SPK.SensorHcho: |
| | | case SPK.SensorPm10: |
| | | { |
| | | if (!Is_SpkAttribute(key)) |
| | | { |
| | |
| | | if (dicList.Count != 0) |
| | | { |
| | | //有数据重新赋值 |
| | | dicSateteList = dicList; |
| | | dicSateteList.AddRange(dicList); |
| | | } |
| | | InpOrOutLogicMethod.Current.EditDeviceState(device, dicList, button1, button2, button3, button4); |
| | | } |