import { PropType } from 'vue';
export interface BasicProps {
  width: string;
  height: string;
}
export const basicProps = {
  width: {
    type: String as PropType<string>,
    default: '100%',
  },
  height: {
    type: String as PropType<string>,
    default: '280px',
  },
};

export interface CardList {
  deviceInfo: {
    sumCount: number;
    onLine: number;
    offLine: number;
    inActive: number;
    todayAdd: number;
    directConnection: number;
    gateWay: number;
    sensor: number;
  };
  tenantInfo?: { sumCount: number; todayAdd: number };
  customerInfo?: { sumCount: number; todayAdd: number };
  alarmInfo?: {
    sumCount: number;
    todayAdd: number;
  };
  messageInfo?: {
    dataPointsCount: number;
    messageCount: number;
    todayDataPointsAdd: number;
    todayMessageAdd: number;
  };
  productInfo?: {
    sumCount: number;
    todayAdd: number;
  };
}
export type seriesDataT = {
  value: number | undefined;
  name: string | undefined;
  itemStyle: object | undefined;
  key?: string | undefined;
};
