| | |
| | | import com.java110.utils.factory.ApplicationContextFactory; |
| | | import com.java110.vo.ResultVo; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import com.java110.core.log.LoggerFactory; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | |
| | | private static final Logger logger = LoggerFactory.getLogger(DataBusInnerServiceSMOImpl.class); |
| | | |
| | | public static final String DEFAULT_OPEN_DOOR_PROTOCOL = "openDoorAdapt";//吸墨门禁 |
| | | public static final String DEFAULT_GET_QRCODE_PROTOCOL = "getMachineQrCodeAdapt";//获取二维码 |
| | | public static final String DEFAULT_START_MACHINE_PROTOCOL = "restartMachineAdapt";//吸墨门禁 |
| | | public static final String DEFAULT_RESEND_IOT_PROTOCOL = "reSendIotAdapt";//重新送数据 |
| | | public static final String DEFAULT_GET_TEMP_CAR_FEE_ORDER_PROTOCOL = "getTempCarFeeOrderAdapt";//重新送数据 |
| | |
| | | IDatabusAdapt databusAdaptImpl = ApplicationContextFactory.getBean(DEFAULT_OPEN_DOOR_PROTOCOL, IDatabusAdapt.class); |
| | | return databusAdaptImpl.openDoor(reqJson); |
| | | |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public ResultVo getQRcode(@RequestBody JSONObject reqJson) { |
| | | IDatabusAdapt databusAdaptImpl = ApplicationContextFactory.getBean(DEFAULT_GET_QRCODE_PROTOCOL, IDatabusAdapt.class); |
| | | return databusAdaptImpl.getQRcode(reqJson); |
| | | } |
| | | |
| | | @Override |
| | | public ResultVo customCarInOut(@RequestBody JSONObject reqJson) { |
| | | IDatabusAdapt databusAdaptImpl = ApplicationContextFactory.getBean(DEFAULT_OPEN_DOOR_PROTOCOL, IDatabusAdapt.class); |
| | | return databusAdaptImpl.customCarInOut(reqJson); |
| | | } |
| | | |
| | | @Override |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 处理业务类 |
| | | * |