//package com.huimv.env.input.service.impl;
//
//import com.huimv.env.input.service.ICommandProcessorService;
////import com.huimv.env.common.service.IDeviceRegisterService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
//
//@Service
//public class CommandProcessorServiceImpl implements ICommandProcessorService {
////
////    @Autowired
////    private IBaseFarmService iBaseFarmService
//    @Autowired
//    private IEnvDeviceService envDeviceService;
//
//    @Autowired
//    private IEnvDayagePeizhiService envDayagePeizhiService;
//    @Autowired
//    private IEnvFengPeizhiService envFengPeizhiService;
//
//    @Override
//    public String getDeviceCodeByChipId(String idCode) {
//        //--{读取设备编码}
//        return envDeviceService.getDeviceCodeByChipId(idCode);
//    }
//
//    @Override
//    public boolean isEffectiveDevice(String idCode) {
//        return envDeviceService.isExistByDeviceCode(idCode);
//    }
//
//    @Override
//    public void updateStatus(String idCode) {
//        envDeviceService.updateStatus(idCode);
//    }
//
//    @Override
//    public String getDayAgePeiZhi(String[] dataArray,String idCode) {
//        return envDayagePeizhiService.getDayAgePeiZhi(dataArray,idCode);
//    }
//
//    @Override
//    public String getFengPeiZhi(String[] dataArray) {
//        return envFengPeizhiService.getFengPeiZhi(dataArray);
//    }
//}
