declare namespace Page_Station {
  interface Station {
    id: string;
    snapshot: any;
    self_active_status_fk: string; // Foreign Key
    business_hours_fk: string;
    qr_code: string;

    price?: number;

    image?: string;

    Equipments: Equipment[];
  }

  interface Equipment {
    id: string;
    EquipmentID: string;
    StationID: Station;
    EquipmentLat: string;
    EquipmentLng: string;
    EquipmentType: number;
    EquipmentName: string;
    EquipmentModel: string;
    Power: number;
    ConnectorInfos: Connector[];
  }
  interface Connector {
    ConnectorID: string;
    EquipmentID: Equipment;
    VoltageLowerLimits: number;
    ConnectorType: number;
    VoltageUpperLimits: number;
    NationalStandard: number;
    ConnectorName: string;
    Current: number;
    Power: number;
    park?: number;
    Status?: string;
  }
}
declare type ConnectorStatus = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;

declare interface StatusInfo {
  text: string;
  color: string;
}
