Newer
Older
huludao / src / main / java / com / newfiber / api / pc / service / PumpRuntimeDataService.java
package com.newfiber.api.pc.service;

import com.baomidou.mybatisplus.service.IService;
import com.newfiber.api.pc.dto.OperationPumpDTO;
import com.newfiber.api.pc.dto.PumpRuntimeDTO;
import com.newfiber.api.pc.model.zhz.PumpRuntimeData;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @description: 泵机运行时数据业务层接口
 * @author: 张鸿志
 * @date: 2020/12/14 15:25
 * @version: v1.0
 */
public interface PumpRuntimeDataService extends IService<PumpRuntimeData> {
    /**
     * @Description: 方法是:根据请求传入的参数,获取对应的泵机运行时数据
     * @param: 
     * @return: 
     * @author: 张鸿志
     * @data: 2020/12/14 15:35
     */
    List<PumpRuntimeData> selectPumpRuntimeDataByStationNoOrPumpType(PumpRuntimeDTO pumpRuntimeDTO);

    /**
     * @Description: 方法是:三维图里面操作泵机
     * @param: pumpSiteNo 泵站编号, pumpNo 蹦极变好, state: 操作
     * @return:
     * @author: 张鸿志
     * @data: 2020/12/21 16:06
     */
    void operationPumpStateBySanWei(String pumpSiteNo, String pumpNo, String state, HttpServletRequest request);
    /**
     * @Description: 方法是:非三维图里面操作泵机(不使用)
     * @param: pumpSiteNo 泵站编号, pumpNo 蹦极变好, state: 操作
     * @return:
     * @author: 张鸿志
     * @data: 2020/12/21 16:06
     */
    void operationPumpState(OperationPumpDTO operationPumpDTO, HttpServletRequest request);
}