import { PageQueryParam } from '@/types/api/base';

/**
 * 遥测站查询声明
 */
export interface StationAccQueryParam extends PageQueryParam {
    stationName?: string;
    stationCode?: string;
    deviceSn?: string;
    groupCode?: string;
    unitCode?:string;
    visUnitCodes?:string;
    createUnitCode?:string;
    visUnitCodeList?:string[];
    stationPy?:string;
}

/**
* 遥测站声明
*/
export interface StationAccModel {
    id:number,
    stationCode:string,
    stationName:string,
    stationPy:string,
    meterId:string,
    groupCode:string,
    groupName:string,
    setupId:string,
    stationLon:number,
    stationLat:number,
    stationContacts:string,
    deviceSetupFlag:string,
    deviceSetupDate:string,
    deviceSetupMan:string,
    deviceSn:string,
    wmId:string,
    memo:string,
    createTime:string,
    createMan:string,
    useFlag:string,
    unitCode:string,
    visUnitCodes:string,
    unitName:string,
    visUnitNames:string,
    createUnitCode:string,
    reviewFlag:string,
    meterFontStyle:string,
    deviceType:string,
    deviceUnit:number,
    visUnitCodeList:string[],
}

export interface StationAccUpdataModel {
    visUnitCode:string,
    stationCodes:string[],
}