package com.gyee.frame.service.monitor;


import com.gyee.frame.common.spring.Constant;
import com.gyee.frame.common.spring.InitialRunner;
import com.gyee.frame.model.auto.*;
import com.gyee.frame.model.custom.MatrixVo;
import com.gyee.frame.model.custom.PointData;
import com.gyee.frame.model.enumeration.Messagetype;
import com.gyee.frame.netty.websocket.WebSocketServer;
import com.gyee.frame.netty.websocket.util.SocketToolService;
import com.gyee.frame.service.ProjectService;
import com.gyee.frame.service.WindpowerstationService;
import com.gyee.frame.util.IRealTimeDataBaseUtil;
import com.gyee.frame.util.RealTimeDataBaseFactory;
import com.gyee.frame.util.StringUtils;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CopyOnWriteArraySet;

@Service
public class MonitorService extends SocketToolService {

    @Resource
    private WindpowerstationService windpowerstationService;
    @Resource
    private ProjectService projectService;

    private int decimal_digit = 2;
    private IRealTimeDataBaseUtil mongodb = RealTimeDataBaseFactory.createRealTimeDataBase();



    public void monitor_target_matrixMonitor() throws Exception {



    }

    private void setMatrixValue(Map<String, Map<String, WindTurbineTestingPointAi2>> wtpAimap, List<MatrixVo> vos, List<Windturbine> ls) throws Exception {

    }
}