package com.pqs9900.service.linedata;

import com.njcn.pojo.commons.HttpResult;
import com.njcn.pojo.pointInfo.LineLedger;
import com.pqs9900.pojo.linedata.MarkExcel;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * system
 * 监测点打分
 * @author cdf
 * @date 2021/10/27
 */
public interface LineMarkService {


    /**
     * 获取监测点台账
     * @author cdf
     * @date 2021/10/27
     */
    List<LineLedger> getLineMark(Integer status,Integer lineGrade);

    /**
     * 单个新增或修改监测点等级
     * @author cdf
     * @date 2021/11/2
     */
    Integer singleOperate(Integer lineIndex, String lineGrade);

    /**
     * 获取监测点评级
     * @author cdf
     * @date 2021/11/2
     */
    @GetMapping("getLineGrade")
    LineLedger getLineGrade(Integer lineIndex);
    /**
     * 根据对象查询监测点id
     * @author cdf
     * @date 2021/10/28
     */
    MarkExcel getLineMarkData(String gdName,String subName,String devName,String lineName);

    /**
     * 修改监测点评级
     * @author cdf
     * @date 2021/10/28
     */
    Integer updateMark(String lineGrade,Integer lineIndex);


    String dealData(List<MarkExcel> list);


    boolean batchUpdateLineMarkStop();
}
