소스 검색

chore(constants): 更新字典编码常量

wangcong 3 달 전
부모
커밋
08ce64735f
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      src/constants/index.ts

+ 11 - 0
src/constants/index.ts

@@ -31,6 +31,17 @@ export const enum DictCode {
   ModbusProtocolType = 'modbus_protocol_type',
   S7ProtocolType = 's7_protocol_type',
   ProtocolTemplateFileName = 'protocol_template_file_name',
+  BaudRate = 'baud_rate',
+  ReadWriteType = 'read_write_type',
+  WriteFuncCode = 'write_func_code',
+  ReadFuncCode = 'read_func_code',
+  ByteOrder = 'byte_order',
+  AddrOrder = 'addr_order',
+  ParsingType = 'parsing_type',
+  IsHighFreqParam = 'is_high_freq_param',
+  RegisterType = 'register_type',
+  WordLength = 'word_length',
+  ReadContinuousAddr = 'read_continuous_addr',
 }
 
 /**