modbus/web_settings.py
branchsvghmi
changeset 3055 6dd617cc9c05
parent 3054 b4a84892e369
child 3096 fc5a0b1ece10
equal deleted inserted replaced
3054:b4a84892e369 3055:6dd617cc9c05
   181     #                                                                       annotate.Integer, ...)
   181     #                                                                       annotate.Integer, ...)
   182     ("device"           , _("Serial Port")           , ctypes.c_char_p,    MB_StrippedString),
   182     ("device"           , _("Serial Port")           , ctypes.c_char_p,    MB_StrippedString),
   183     ("baud"             , _("Baud Rate")             , ctypes.c_int,       MB_Baud         ),
   183     ("baud"             , _("Baud Rate")             , ctypes.c_int,       MB_Baud         ),
   184     ("parity"           , _("Parity")                , ctypes.c_int,       MB_Parity       ),
   184     ("parity"           , _("Parity")                , ctypes.c_int,       MB_Parity       ),
   185     ("stop_bits"        , _("Stop Bits")             , ctypes.c_int,       MB_StopBits     ),
   185     ("stop_bits"        , _("Stop Bits")             , ctypes.c_int,       MB_StopBits     ),
   186     ("slave_id"         , _("Slave ID")              , ctypes.c_ulonglong, annotate.Integer)
   186     ("slave_id"         , _("Slave ID")              , ctypes.c_ubyte,     annotate.Integer)
   187     ]
   187     ]
   188 
   188 
   189 
   189 
   190 
   190 
   191 
   191