runtime/Modbus_config.py
changeset 2661 9d08e3bba629
parent 2660 ddbf029f5682
child 2665 978cf239c689
equal deleted inserted replaced
2660:ddbf029f5682 2661:9d08e3bba629
   145     #                                                                       annotate.Integer, ...)
   145     #                                                                       annotate.Integer, ...)
   146     ("config_name"      , _("")                      , ctypes.c_char_p,    annotate.String),
   146     ("config_name"      , _("")                      , ctypes.c_char_p,    annotate.String),
   147     ("addr_type"        , _("")                      , ctypes.c_char_p,    annotate.String)
   147     ("addr_type"        , _("")                      , ctypes.c_char_p,    annotate.String)
   148     ]                                                                      
   148     ]                                                                      
   149                                                                            
   149                                                                            
       
   150 # Parameters we will need to get from the C code, and that _will_ be shown
       
   151 # on the web interface.
   150 TCPclient_parameters = [                                                   
   152 TCPclient_parameters = [                                                   
   151     #    param. name       label                        ctype type         annotate type
   153     #    param. name       label                        ctype type         annotate type
   152     # (C code var name)   (used on web interface)      (C data type)       (web data type)
   154     # (C code var name)   (used on web interface)      (C data type)       (web data type)
   153     #                                                                      (annotate.String,
   155     #                                                                      (annotate.String,
   154     #                                                                       annotate.Integer, ...)
   156     #                                                                       annotate.Integer, ...)