| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- package com.gyee.sampleimpala.service.kudu;
- import com.gyee.sampleimpala.model.custom.TsPointData;
- import com.gyee.sampleimpala.model.kudu.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 部件代码
- * @return
- */
- List<Windturbinepoint> getAll(String wtId, String widget);
- /**
- * 通过场站和统一编码查询测点
- *
- * @param station 场站
- * @param uniformCode 统一编码
- * @return
- */
- List<Windturbinepoint> getAllByStationAndUniformCode(String station, String uniformCode);
- /**
- * 编辑数据
- *
- * @param obj
- * @return
- */
- boolean editItem(Windturbinepoint obj);
- /**
- * 新建数据
- *
- * @param obj
- * @return
- */
- boolean insertItem(Windturbinepoint obj);
- /**
- * 通过id删除数据
- *
- * @param id
- * @return
- */
- boolean 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);
- /**
- * 通过场风机编码站和统一编码查询测点
- *
- * @param station 场站
- * @param wtId 风机编码
- * @param uniformCode 统一编码
- * @return
- */
- List<Windturbinepoint> getListByStationAndWtIdAndUniformCode(String station, String wtId, String[] uniformCode);
- }
|