modbus/web_settings.py
changeset 2691 6e4a95621080
parent 2690 4de6a587f7f9
child 2703 32ffdb32b14e
child 3096 fc5a0b1ece10
equal deleted inserted replaced
2690:4de6a587f7f9 2691:6e4a95621080
   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