package com.shkj.wcs.scheduled;

import cn.hutool.core.bean.BeanUtil;
import com.shkj.common.core.domain.Result;
import com.shkj.common.enums.HttpStatus;
import com.shkj.common.utils.DateUtils;
import com.shkj.plc.sdk.device.PLCReadAndWrite;
import com.shkj.plc.sdk.device.PlcHelper;
import com.shkj.plc.sdk.device.PlcOperate;
import com.shkj.system.service.ISysParameterService;
import com.shkj.wcs.bo.BasePointQueryBo;
import com.shkj.wcs.bo.BasePunchRecordAddBo;
import com.shkj.wcs.domain.BasePoint;
import com.shkj.wcs.domain.BasePunch;
import com.shkj.wcs.domain.BasePunchRecord;
import com.shkj.wcs.domain.WcsPlcProperty;
import com.shkj.wcs.service.IBasePointService;
import com.shkj.wcs.service.IBasePunchRecordService;
import com.shkj.wcs.service.IBasePunchService;
import com.shkj.wcs.service.IWcsPlcPropertyService;
import com.shkj.wcs.third.rcs.RCSUtil;
import com.shkj.wcs.vo.BasePointVo;
import com.shkj.wcs.vo.BasePunchRecordVo;
import com.shkj.wms.bo.*;
import com.shkj.wms.constants.ParameterConstants;
import com.shkj.wms.domain.*;
import com.shkj.wms.enums.TaskStatusEnum;
import com.shkj.wms.mapper.BaseLocationMapper;
import com.shkj.wms.mapper.BaseLocationPlcMapper;
import com.shkj.wms.service.*;
import com.shkj.wms.service.impl.BaseLocationServiceImpl;
import com.shkj.wms.service.impl.SysStockDetailServiceImpl;
import com.shkj.wms.utils.JsonUtil;
import com.shkj.wms.vo.*;
import lombok.extern.slf4j.Slf4j;
import org.apache.poi.ddf.EscherSerializationListener;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Slf4j
@Component
public class ScheduledTasks {

    @Resource
    IBusinDataTaskService iBusinDataTaskService;

    @Resource
    IBusinDataTaskGoodsService iBusinDataTaskGoodsService;

    @Resource
    IBaseDeriveService iBaseDeriveService;

    @Resource
    IBaseLocationService iBaseLocationService;

    @Resource
    IPutInOutStorageService iPutInOutStorageService;

    @Resource
    ISysParameterService sysParameterService;

    @Resource
    RCSUtil rcsUtil;

    @Resource
    IBaseBarcodesOutService iBaseBarcodesOutService;
    @Resource
    SysStockDetailServiceImpl sysStockDetailServiceimpl;
    @Resource
    IBasePunchService iBasePunchService;
    @Autowired
    BaseLocationServiceImpl baseLocationService;
    @Resource
    IBasePointService iBasePointService;

    @Resource
    BaseLocationPlcMapper baseLocationPlcMapper;

    @Resource
    BaseLocationMapper baseLocationMapper;

    @Autowired
    IBasePunchRecordService iBasePunchRecordService;

    @Autowired
    IWcsPlcPropertyService iWcsPlcPropertyService;

    @Autowired
    ISysParameterService isysParameterService;



}

