| | |
| | | import com.moral.common.util.ParameterUtils;
|
| | | import com.moral.common.util.ReportTimeFormat;
|
| | | import com.moral.common.util.ResourceUtil;
|
| | | import com.moral.common.util.StringUtils;
|
| | | import com.moral.common.util.ValidateUtil;
|
| | | import com.moral.entity.Sensor;
|
| | | import com.moral.entity.charts.DataCondition;
|
| | |
| | | for (String key : map.keySet()) {
|
| | | for (Sensor sensor : sensors) {
|
| | | if (sensor.getSensorKey().equals(key)) {
|
| | | new_map.put(sensor.getDescription(), map.get(key));
|
| | | if("e79".equals(key)||"e80".equals(key)||"e81".equals(key)){
|
| | | new_map.put(sensor.getDescription(), StringUtils.scientificCountingConversion(map.get(key).toString()));
|
| | | }else{
|
| | | new_map.put(sensor.getDescription(), map.get(key));
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|