Explorar el Código

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

wangcong hace 3 meses
padre
commit
08ce64735f
Se han modificado 1 ficheros con 11 adiciones y 0 borrados
  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',
 }
 
 /**