Files
CN_Tool_client/frontend/src/constants/dictCodes.ts

16 lines
563 B
TypeScript
Raw Normal View History

2026-05-15 16:36:50 +08:00
export const DICT_CODES = {
USER_STATE: 'state',
EVENT_TYPE: 'event_type',
TEST_REPORT_COMPANY: 'test_report_company',
TEST_REPORT_STANDARD: 'test_report_standard',
2026-05-15 16:36:50 +08:00
LEDGER_DEVICE_TYPE: 'ledger_device_type',
LEDGER_DEVICE_MODEL: 'Ex-factory_Dev_Type',
LEDGER_TERMINAL_MODEL: 'Dev_Type',
DEVICE_TYPE_WORK_POWER: 'Dev_Power',
DEVICE_TYPE_CHANNEL_COUNT: 'Dev_Chns',
DEVICE_TYPE_RATED_VOLTAGE: 'Dev_Volt',
DEVICE_TYPE_RATED_CURRENT: 'Dev_Curr'
2026-05-15 16:36:50 +08:00
} as const
export type DictCode = (typeof DICT_CODES)[keyof typeof DICT_CODES]