import { ComponentInfo } from '/@/api/dataBoard/model';

export interface DigitalDashBoardLayout {
  max: number;
  keepNumber: number;
}

export interface DigitalDashBoardValue {
  unit?: string;
  name?: string;
  updateTime?: string;
  value?: number;
  fontColor?: string;
}

export const DigitalComponentDefaultConfig: Partial<ComponentInfo> = {
  fontColor: '#000',
  unit: 'kw/h',
};
