|
|
|
@ -45,7 +45,7 @@ public class MetalKilnScheme { |
|
|
|
|
|
|
|
|
|
public static List<SysDeviceHeatScene> getSchemeList(String userIndustry, Double needTemp, List<SysDeviceHeatScene> sysDeviceHeatSceneList) { |
|
|
|
|
// 黑色金属矿采选业 行业编码
|
|
|
|
|
String property = ConfigReader.getProperty("industry_code"); |
|
|
|
|
String property = ConfigReader.getPropertyByFile("industry_code", "IndustryCode.properties"); |
|
|
|
|
Map<String, Object> map = new HashMap<>(); |
|
|
|
|
List<SysDeviceHeatScene> sceneDevicesList = new ArrayList<>(); |
|
|
|
|
|
|
|
|
@ -73,7 +73,7 @@ public class MetalKilnScheme { |
|
|
|
|
map.put(item.getDevTechType(), list); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
if ("3200".equals(userIndustry)) { |
|
|
|
|
if (userIndustry.equals(property)) { |
|
|
|
|
sceneDevicesList = (List<SysDeviceHeatScene>) map.get(DeviceSubType.Metal_Kiln_Electric_Arc.getDesc()); |
|
|
|
|
} else { |
|
|
|
|
if (needTemp >= MetalKinTemps.Metal_Kiln_Direct_Heat_Min_Temp.getTemp() && needTemp <= MetalKinTemps.Metal_Kiln_Direct_Heat_Max_Temp.getTemp()){ |
|
|
|
@ -89,9 +89,4 @@ public class MetalKilnScheme { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
|
|
String property = ConfigReader.getProperty("industry_code"); |
|
|
|
|
System.out.println(property); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|