修改 阀门保存的redis数据库Index,改为使用用nis.propterties
This commit is contained in:
@@ -57,9 +57,9 @@ public class ServiceAndRDBIndexReal {
|
|||||||
private static Map<Integer, Map<String, String[]>> maatToValveMap = new HashMap<Integer, Map<String, String[]>>();
|
private static Map<Integer, Map<String, String[]>> maatToValveMap = new HashMap<Integer, Map<String, String[]>>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 阀门保存的redis数据库Index,在seriveTable.properties中定义
|
* 阀门保存的redis数据库Index,在nis.properties中定义
|
||||||
*/
|
*/
|
||||||
private static Integer valveDBIndex = 7;
|
private static Integer valveDBIndex = Configurations.getIntProperty("tapRedisDb", 5);
|
||||||
static {
|
static {
|
||||||
|
|
||||||
String unMaatService = Configurations.getStringProperty("unMaatService", "");
|
String unMaatService = Configurations.getStringProperty("unMaatService", "");
|
||||||
|
|||||||
Reference in New Issue
Block a user