123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- package com.gyee.impala.service.master;
- import com.gyee.impala.model.master.Windturbinepoint;
- import com.baomidou.mybatisplus.extension.service.IService;
- import java.util.List;
- /**
- * <p>
- * 服务类
- * </p>
- *
- * @author chenmh
- * @since 2021-10-17
- */
- public interface WindturbinepointService extends IService<Windturbinepoint> {
- /**
- * 查询部件关联的测点
- *
- * @param wtId 风机编号
- * @param widget 部件代码
- * @param type 测点类型 AI/DI
- * @return
- */
- List<Windturbinepoint> getAll(String wtId, String widget, String type);
- /**
- * 通过场站和统一编码查询测点
- *
- * @param station 场站
- * @param uniformCode 统一编码
- * @return
- */
- List<Windturbinepoint> getAllByStationAndUniformCode(String station, String uniformCode);
- /**
- * 编辑数据
- *
- * @param obj
- * @return
- */
- void editItem(Windturbinepoint obj);
- /**
- * 新建数据
- *
- * @param list
- * @return
- */
- void insertBatch(List<Windturbinepoint> 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<Object> 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<Windturbinepoint> getListByStationAndWtIdAndUniformCode(String station, String wtId, String[] uniformCode);
- /**
- * 通过风机ID和统一编码查询测点
- *
- * @param wtId 风机编码
- * @param uniformCode 统一编码
- * @return
- */
- List<Windturbinepoint> getItemByWtIdAndUniformCode(String wtId, String uniformCode);
- }
|