package net.vtstar.zhongtong.avi.monitoring.service;

import net.vtstar.zhongtong.avi.monitoring.domain.Skid;
import net.vtstar.zhongtong.avi.monitoring.domain.Vehicle;
import org.springframework.data.redis.core.HashOperations;
import org.springframework.data.redis.core.ValueOperations;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

@Service
public class PDAService {

    @Resource(name = "redisTemplate")
    protected HashOperations hashOperations;
    @Resource(name = "redisTemplate")
    protected ValueOperations valueOperations;


    //钣金上车绑定
    public void bound(String vehicleNo, String busNo) {

        // TODO: 2019-11-02 判断车身工单号是否在计划中

        valueOperations.set(vehicleNo, busNo);
    }
}
