// @ts-ignore
/* eslint-disable */

declare namespace MachineConnectivity {
  type MachineParams = {
    machines: string[];
    startTime?: string;
    endTime?: string;
    ed?: {
      machine: string;
      oee: string;
      prodRate: string;
    }[];
  };

  type MachineStatus = {
    machineName: string;
    picName?: string;
    mode: string;
    program?: string;
    runTime: number;
  };

  type MachineStatusStat = {
    total: number;
    ct: {
      shut_down: number;
      wait: number;
      production: number;
      ready: number;
      alarm: number;
      setup: number;
      manual_input: number;
    };
    machineList: MachineStatus[];
  };

  type StaticMachineStatus = {
    shut_down: number;
    wait: number;
    production: number;
    ready: number;
    alarm: number;
    setup: number;
    manual_input: number;
    feedDuration?: number;
  };

  type MachineProgramExecStat = {
    program: string;
    executionDuration: number;
    feedDuration: number;
  };
}
