/**
 * 弹窗属性类型声明
 */
export interface Dialog {
  title: string;
  visible: boolean;
  disabled: boolean;
}

/**
 * 通用组件选择项类型声明
 */
export interface Option {
  value: string;
  label: string;
  children?: Option[];
}

/**
 * 遥测站点/组分组声明
 */
export interface GroupAndStationTree {
  id: string;
  label: string;
  children?: GroupAndStationTree[];
  code: string;
  parentcode: string;
  parentname: string;
  type: string;
  data: {};
  deviceType:string;        //设备类型1=水表,2=压力表
  labelpy:string;           //名称的拼音首字母(一字一字母)
}

/**
 * 遥测站点组分组声明
 */
export interface StationGroupTree {
  id: number;
  label: string;
  children?: StationGroupTree[];
  groupCode: string;
  parentCode: string;
  parentname: string;
  type: string;
  data: {};
}

export interface LinkItem {
  value: string
  link: string
}