old mode 100644
new mode 100755
| | |
| | | |
| | | bool initTitleButton = true; |
| | | |
| | | foreach (var tempSensor in DB_ResidenceData.functionList.sensorsEnvironmentalScience) |
| | | foreach (var tempSensor in FunctionList.List.sensorsEnvironmentalScience) |
| | | { |
| | | if (tempSensor.sid == sensor.sid) |
| | | { |
| | |
| | | // }); |
| | | //#endif |
| | | |
| | | foreach (var sr in DB_ResidenceData.functionList.sensorsEnvironmentalScience) |
| | | foreach (var sr in FunctionList.List.sensorsEnvironmentalScience) |
| | | { |
| | | if (sr.functionType != sensor.functionType) |
| | | { |
| | |
| | | i++; |
| | | continue; |
| | | } |
| | | var revertObj = new HttpServerRequest().GetSensorHistory(sr.bus_Data.SubnetID, sr.bus_Data.DeviceID, |
| | | 5, (int)(sr.functionType) % 256, (int)curQueryType, sr.bus_Data.loopId, curMonth, |
| | | DB_ResidenceData.residenceData.residenceGatewayMAC); |
| | | var revertObj = new HttpServerRequest().GetSensorHistory(sr.bus.SubnetID, sr.bus.DeviceID, |
| | | 5, (int)(sr.functionType) % 256, (int)curQueryType, sr.bus.LoopId, curMonth, |
| | | DB_ResidenceData.Instance.residenceGatewayMAC); |
| | | |
| | | if (revertObj != null) |
| | | { |