package.ts 1.09 KB
import { ControlList } from './components/Control';
import { FlowmeterList } from './components/Flowmeter';
import { InstrumentList } from './components/Instrument';
import { MapList } from './components/Map';
import { OtherList } from './components/Other';
// import { PictureList } from './components/Picture';
import { TextList } from './components/Text';
import { STATISTICSList } from './components/Statistics';
import { AlarmList } from './components/Alarm';
import { PackagesCategoryEnum, PackagesType } from './index.type';

export const packageList: PackagesType = {
  [PackagesCategoryEnum.TEXT]: TextList,
  [PackagesCategoryEnum.INSTRUMENT]: InstrumentList,
  // [PackagesCategoryEnum.PICTURE]: PictureList,
  [PackagesCategoryEnum.CONTROL]: ControlList,
  [PackagesCategoryEnum.MAP]: MapList,
  [PackagesCategoryEnum.FLOWMETER]: FlowmeterList,
  [PackagesCategoryEnum.STATISTICS]: STATISTICSList,
  [PackagesCategoryEnum.ALARM]: AlarmList,
  [PackagesCategoryEnum.OTHER]: OtherList,
};

/**
 * @description
 */
export const CUSTOM_SUBSCRIBE_MESSAGE_COMPONENT_KEY_LIST: string[] = ['DeviceAlarmHistory'];