package com.pqs9900.mapper.HisData;

import com.njcn.pojo.data.OfflLog;
import com.pqs9900.pojo.DataInfo.TranslateState;
import com.pqs9900.util.TranslateThread.data;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ManaDeviceMapper {
    void insertOFFlog(@Param("offllog") OfflLog offlLog);

    List<data> getDataInfo();

    Integer delOfflog(@Param("guid")String guid);

    void updateOFFlog(@Param("start") Date startTime, @Param("end") Date endTime, @Param("year") String year, @Param("state") int state, @Param("name") String name, @Param("id") int id, @Param("updateTime") Date updateTime, @Param("allCount") int allCount, @Param("realCount") int realCount, @Param("offlDescribe") String offlDescribe);

    int getCount(@Param("id") int id, @Param("name") String name, @Param("state") Integer state);

    List<TranslateState> getTranslateState(@Param("start") Date start, @Param("end") Date end);

    List<TranslateState> judgetranslate(@Param("time") Date time);

    List<String> getDepts(@Param("guid") String guid);

    List<String> getDeptsInfo();

    List<String> getProName();

    List<String> getFacs();

    List<String> getTypes();

    List<String> getNodes();

    List<String> getScale();

    List<String> getLoadType();
    List<String> getDic(@Param("dicName") String dicName);

    TranslateState getBaseInfo(@Param("guid") String guid);

    TranslateState queryimportLoading();

    List<String> getVoltage();

    void deleteTableDataFlicker(@Param("index") Integer index, @Param("start") Date start, @Param("end") Date end);

    void deleteTableDataFluc(@Param("index") Integer index, @Param("start") Date start, @Param("end") Date end);

    void deleteTableDataHAI(@Param("index") Integer index, @Param("start") Date start, @Param("end") Date end);

    void deleteTableDataHAV(@Param("index") Integer index, @Param("start") Date start, @Param("end") Date end);

    void deleteTableDataHAP(@Param("index") Integer index, @Param("start") Date start, @Param("end") Date end);

    void deleteTableDataHAQ(@Param("index") Integer index, @Param("start") Date start, @Param("end") Date end);

    void deleteTableDataHAS(@Param("index") Integer index, @Param("start") Date start, @Param("end") Date end);

    void deleteTableDataHarmrateI(@Param("index") Integer index, @Param("start") Date start, @Param("end") Date end);

    void deleteTableDataHarmrateV(@Param("index") Integer index, @Param("start") Date start, @Param("end") Date end);

    void deleteTableDataI(@Param("index") Integer index, @Param("start") Date start, @Param("end") Date end);

    void deleteTableDataV(@Param("index") Integer index, @Param("start") Date start, @Param("end") Date end);

    void deleteTableDataINI(@Param("index") Integer index, @Param("start") Date start, @Param("end") Date end);

    void deleteTableDataINV(@Param("index") Integer index, @Param("start") Date start, @Param("end") Date end);

    void deleteTableDataPLT(@Param("index") Integer index, @Param("start") Date start, @Param("end") Date end);

}
