import { TaskBatchRemoteModel } from '@/types';
import { PageQueryParam } from '@/types/api/base';
import { TCheckDetailModel } from '../tcheckdetail'
/**
 * 拷机业务查询声明
 */
export interface TCheckQueryParam extends PageQueryParam {
    id?: string;
    checkName?: string;
    hideFinished:string;
    createMan?:string;
}

/**
* 拷机业务明细新增DTO
*/
export interface TCheckDto {
    id?: number;
    platId?: string;
    deviceSns?: string;
}

/**
* 拷机业务声明
*/
export interface TCheckModel {
    id: number,
    checkId: string,
    checkName: string,
    startTime: string,
    endTime: string,
    checkDays: number,
    checkIntverl: number,
    checkDeviceNum: number,
    createMan: string,
    createTime: string,
    chkrptId: string,
    earlyFlag: string,
    earlyMan: string,
    earlyTime: string,
    earlyBecause: string,
    taskBatchId:string;
    taskBatchStatusName:string;
    taskBatchRemoteModel:TaskBatchRemoteModel;
    planEndTime:string;//计划结束时间 2022-10-29 guozhao
    planEndInfo:string;//距离计划结束的提示信息
    platName:string;
    mcuVersion:string;
    batFlag:string;
    autoBatchFlag: string,
    autoBatchAntennaType: string,
    autoBatchId: string,
    delaySwitchAntenna: number,
    delaySwitchAntennaType: string,
    delaySwitchBatchId: string,
    delaySwitchTaskFlag: string,
    detailList:TCheckDetailModel[],//拷机明细列表
}

export interface TCheckFzModel {
    id: number,
    checkId: string,
    checkName: string,
    startTime: string,
    endTime: string,
    checkDays: number,
    checkIntverl: number,
    checkDeviceNum: number,
    createMan: string,
    createTime: string,
    chkrptId: string,
    earlyFlag: string,
    earlyMan: string,
    earlyTime: string,
    earlyBecause: string,
    detailList: TCheckDetailModel[],
    planEndTime:Date,
    autoBatchFlag: string,
    autoBatchTianxianType: string,
    autoBatchId: string,
    delaySwitchAntenna: number,
    delaySwitchAntennaType: string,
    delaySwitchBatchId: string,
    delaySwitchTaskFlag: string,
}