package com.gyee.impala.service.master; import com.gyee.impala.model.master.Windturbinepoint; import com.baomidou.mybatisplus.extension.service.IService; import java.util.List; /** *

* 服务类 *

* * @author chenmh * @since 2021-10-17 */ public interface WindturbinepointService extends IService { /** * 查询部件关联的测点 * * @param wtId 风机编号 * @param widget 部件代码 * @param type 测点类型 AI/DI * @return */ List getAll(String wtId, String widget, String type); /** * 通过场站和统一编码查询测点 * * @param station 场站 * @param uniformCode 统一编码 * @return */ List getAllByStationAndUniformCode(String station, String uniformCode); /** * 编辑数据 * * @param obj * @return */ void editItem(Windturbinepoint obj); /** * 新建数据 * * @param list * @return */ void insertBatch(List list); /** * 通过id删除数据 * * @param id * @return */ void deleteItem(String id); /** * 查询故障数据的原始点数据 * * @param station 场站 * @param wtId 风机Id * @param model 模型 * @param widget 部件 * @param startTs 开始时间 * @param endTs 结束时间 * @param type 测点类型 */ List getPointDataAll(String station, String wtId, String[] model, String[] widget, String startTs, String endTs, String type); /** * 通过point获取一条数据 * * @param point * @return */ Windturbinepoint getByPoint(String point); /** * 通过场站\风机ID和统一编码查询测点 * * @param station 场站 * @param wtId 风机编码 * @param uniformCode 统一编码 * @return */ List getListByStationAndWtIdAndUniformCode(String station, String wtId, String[] uniformCode); /** * 通过风机ID和统一编码查询测点 * * @param wtId 风机编码 * @param uniformCode 统一编码 * @return */ List getItemByWtIdAndUniformCode(String wtId, String uniformCode); }