- before some chamges in the gerrit pipline Change-Id: I33eb2d75f83345a7039d0fb709e66defefb1c3e0
1.8 KiB
1.8 KiB
Configuration File
- Node(equipment_id, description, interface, **kwds)
Specify the SEC-node properties.
The arguments are SECoP node properties and additional internal node configurations
- Parameters
- equipment_id - a globally unique string identifying the SEC node
- description - a human readable description of the SEC node
- interface - an uri style string indication the address for the server
- kwds - other SEC node properties
- Mod(name, cls, description, **kwds)
Create a SECoP module. Keyworded argument matching a parameter name are used to configure the initial value of a parameter. For configuring the parameter properties the value must be an instance of Param, using the keyworded arguments for modifying the default values of the parameter properties. In this case, the initial value may be given as the first positional argument. In case command properties are to be modified Command has to be used.
- Parameters
- name - the module name
- cls - a qualified class name or the python class of a module
- description - a human readable description of the module
- kwds - parameter, property or command configurations
- Param(value=<undef>, **kwds)
Configure a parameter
- Parameters
- value - if given, the initial value of the parameter
- kwds - parameter or datatype SECoP properties (see
frappy.param.Parameterandfrappy.datatypes.Datatypes)
- Command(**kwds)
Configure a command
- Parameters
- kwds - command SECoP properties (see
frappy.param.Commands)