| | |
| | | type2 = OperationLogEnum.TYPE_2_USER_UPDATE_PASSWORD.getType(); |
| | | operationTypeName = OperationLogEnum.TYPE_2_USER_UPDATE_PASSWORD.getName(); |
| | | } |
| | | }else if(classNameTrue.contains("Alarm") |
| | | ||classNameTrue.contains("Alm")){ //告警设置 |
| | | if(methodName.startsWith("update")){ |
| | | }else if(classNameTrue.contains("A200")){ //告警设置 |
| | | type1 = OperationLogEnum.TYPE_1_SERVICE.getType(); |
| | | type2 = OperationLogEnum.TYPE_2_ALARM.getType(); |
| | | operationTypeName = OperationLogEnum.TYPE_2_ALARM.getName(); |
| | | if(methodName.startsWith("set")){ |
| | | if(methodName.contains("Pl")){ |
| | | type2 = OperationLogEnum.TYPE_2_A200_SETPARAMPL.getType(); |
| | | operationTypeName = OperationLogEnum.TYPE_2_A200_SETPARAMPL.getName(); |
| | | }else{ |
| | | type2 = OperationLogEnum.TYPE_2_A200_SETPARAM.getType(); |
| | | operationTypeName = OperationLogEnum.TYPE_2_A200_SETPARAM.getName(); |
| | | } |
| | | }else if(classNameTrue.contains("plan")){ |
| | | if(methodName.startsWith("static")){//统计计划 |
| | | } |
| | | if(methodName.startsWith("start")){ |
| | | if(methodName.contains("Pl")){ |
| | | type2 = OperationLogEnum.TYPE_2_A200_STARTPL.getType(); |
| | | operationTypeName = OperationLogEnum.TYPE_2_A200_STARTPL.getName(); |
| | | }else{ |
| | | type2 = OperationLogEnum.TYPE_2_A200_START.getType(); |
| | | operationTypeName = OperationLogEnum.TYPE_2_A200_START.getName(); |
| | | } |
| | | } |
| | | if(methodName.startsWith("stop")){ |
| | | if(methodName.contains("Pl")){ |
| | | type2 = OperationLogEnum.TYPE_2_A200_STOPPL.getType(); |
| | | operationTypeName = OperationLogEnum.TYPE_2_A200_STOPPL.getName(); |
| | | }else{ |
| | | type2 = OperationLogEnum.TYPE_2_A200_STOP.getType(); |
| | | operationTypeName = OperationLogEnum.TYPE_2_A200_STOP.getName(); |
| | | } |
| | | } |
| | | }else if(classNameTrue.contains("Actm")){ |
| | | type1 = OperationLogEnum.TYPE_1_SERVICE.getType(); |
| | | type2 = OperationLogEnum.TYPE_2_PLAN_MON.getType(); |
| | | operationTypeName = OperationLogEnum.TYPE_2_PLAN_MON.getName(); |
| | | if(methodName.startsWith("set")){ |
| | | if(methodName.contains("Pl")){ |
| | | type2 = OperationLogEnum.TYPE_3_ACTM_SETPARAMPL.getType(); |
| | | operationTypeName = OperationLogEnum.TYPE_3_ACTM_SETPARAMPL.getName(); |
| | | }else{ |
| | | type2 = OperationLogEnum.TYPE_3_ACTM_SETPARAM.getType(); |
| | | operationTypeName = OperationLogEnum.TYPE_3_ACTM_SETPARAM.getName(); |
| | | } |
| | | } |
| | | if(methodName.startsWith("controll")){ |
| | | if(methodName.contains("Pl")){ |
| | | type2 = OperationLogEnum.TYPE_3_ACTM_CONTROLLPL.getType(); |
| | | operationTypeName = OperationLogEnum.TYPE_3_ACTM_CONTROLLPL.getName(); |
| | | }else{ |
| | | type2 = OperationLogEnum.TYPE_3_ACTM_CONTROLL.getType(); |
| | | operationTypeName = OperationLogEnum.TYPE_3_ACTM_CONTROLL.getName(); |
| | | } |
| | | } |
| | | } |
| | | |