| | |
| | | import com.dy.common.mw.protocol.Command; |
| | | import com.dy.common.mw.protocol.CommandType; |
| | | import com.dy.common.mw.protocol.Data; |
| | | import com.dy.common.mw.protocol.p206V1_0_0.CodeV1_0_1; |
| | | import com.dy.common.webUtil.BaseResponse; |
| | | import com.dy.common.webUtil.BaseResponseUtils; |
| | | import com.dy.pipIrrGlobal.command.dto.Param; |
| | |
| | | } |
| | | |
| | | // 如果是开发命令(92-平台开阀,91-小程序开阀),返回结果中添加阀控器地址、虚拟卡编号、订单号 |
| | | if(commandCode.equals("92") || commandCode.equals("97")) { |
| | | //if(commandCode.equals("92") || commandCode.equals("97")) { |
| | | if(commandCode.equals(CodeV1_0_1.cd_92) || commandCode.equals(CodeV1_0_1.cd_97) |
| | | || commandCode.equals(CodeV1_0_1.cd_99) || commandCode.equals(CodeV1_0_1.cd_A0) |
| | | || commandCode.equals(CodeV1_0_1.cd_A1) || commandCode.equals(CodeV1_0_1.cd_A2)) { |
| | | JSONObject job_response = (JSONObject) JSON.toJSON(response_CallBack); |
| | | JSONObject job_param = (JSONObject) JSON.toJSON(param); |
| | | JSONObject job_data = job_response.getJSONObject("content").getJSONObject("data"); |