Example #1
0
 def __init__(self):
     """
     Constructor
     """
     ClassBase.__init__(self, "Bus Type")
     self.attributes["name"] = base.ConfigAttribute("STR63", "Name", "Short string for fast identification the object by user", 100, "No name")
     self.attributes["description"] = base.ConfigAttribute("TEXT", "Description", "Additional information and comments", 10, "No description")
Example #2
0
    def __init__(self):
        """
        Constructor
        """
        ClassBase.__init__(self, "Device")

        self.attributes["params"] = base.ConfigAttribute("DICTIONARY", "Parameters", "A set of device parameters", 90)
    def __init__(self):
        """
        Constructor
        """
        ClassBase.__init__(self, "Device Channel")

        self.attributes["default_value"] = base.ConfigAttribute("DOUBLE", "Default value", "Default value of the channel", 90, "")
Example #4
0
    def __init__(self):
        """
        Constructor
        """
        ClassBase.__init__(self, "Device Type")

        self.attributes["params"] = base.ConfigAttribute("DICTIONARY", "Parameters", "A set of device parameters", 90, {"PSy" : "BR"})
        self.attributes["template"] = base.ConfigAttribute("STR63", "Template", "Template file for generating IOC's shell commands", 80)
Example #5
0
 def __init__(self):
     """
     Constructor
     """
     ClassBase.__init__(self, "BPM")
     self.attributes["address"] = base.ConfigAttribute("INTEGER", "Address", "Block sequence number on the line", 80, "")
     self.attributes["zero_file"] = base.ConfigAttribute("STR255", "Zero file", "Path to the file of zeros", 70, "")
     self.attributes["background_file"] = base.ConfigAttribute("STR255", "Background file", "Background_file", 70, "")
Example #6
0
 def __init__(self):
     """
     Constructor
     """
     ClassBase.__init__(self, "Bridge")
     self.attributes["can_address"] = base.ConfigAttribute("STR63", "CAN address", "CAN address on the bus", 80, "")
     self.attributes["type"] = base.ConfigAttribute("STR63", "Bridge type", "Type of the bridge", 70, "")
     self.attributes["can_address"] = base.ConfigAttribute("STR63", "CAN address", "CAN address on the bus", 60, "")
     self.attributes["active_line"] = base.ConfigAttribute("INTEGER", "Active line", "ID of active line", 50, "")
Example #7
0
    def __init__(self):
        """
        Constructor
        """
        ClassBase.__init__(self, "Device Type")
        self.attributes["name"] = base.ConfigAttribute("STR63", "Name", "Short string for fast identification the object by user", 100, "No name")
        self.attributes["description"] = base.ConfigAttribute("TEXT", "Description", "Additional information and comments", 10, "No description")

        self.attributes["bigc_info"] = base.ConfigAttribute("TEXT", "Big Channel Info", "Big channel information [should be temporal]", 50, "")
 def __init__(self):
     """
     Constructor
     """
     ClassBase.__init__(self, "Algorithm Parameters")
     self.attributes["data_backdir_x"] = base.ConfigAttribute("BOOLEAN", "data_backdir_x", "data_backdir_x", 80, False)
     self.attributes["data_backdir_z"] = base.ConfigAttribute("BOOLEAN", "data_backdir_z", "data_backdir_z", 80, False)
     self.attributes["scale_x"] = base.ConfigAttribute("DOUBLE", "scale_x", "scale_x", 80, 0.0)
     self.attributes["scale_z"] = base.ConfigAttribute("DOUBLE", "scale_z", "scale_z", 80, 0.0)
    def __init__(self):
        """
        Constructor
        """
        ClassBase.__init__(self, "Bus Controller Type")
        self.attributes["name"] = base.ConfigAttribute("STR63", "Name", "Short string for fast identification the object by user", 100, "No name")
        self.attributes["description"] = base.ConfigAttribute("TEXT", "Description", "Additional information and comments", 10, "No description")

        self.attributes["config_format"] = base.ConfigAttribute("TEXT", "Configuration String Format", "Format of the configuration string to be used by driver", 90, "")
    def __init__(self):
        """
        Constructor
        """
        ClassBase.__init__(self, "Device Channel")
        self.attributes["name"] = base.ConfigAttribute("STR63", "Name", "Short string for fast identification the object by user", 100, "No name")
        self.attributes["description"] = base.ConfigAttribute("TEXT", "Description", "Additional information and comments", 10, "No description")

        self.attributes["group_num"] = base.ConfigAttribute("INTEGER", "Group Number", "Address of Channel group at Device channel groups (by its Device Type)", 90, "")
        self.attributes["needs_init"] = base.ConfigAttribute("BOOLEAN", "Needs Initialization", "Is the initialization required by the channel or not", 80, "")
        self.attributes["init_value"] = base.ConfigAttribute("TEXT", "Initialization Value", "The Value to be used if initialization is needed", 70, "")
    def __init__(self):
        """
        Constructor
        """
        ClassBase.__init__(self, "Device Channel Group")
        self.attributes["name"] = base.ConfigAttribute("STR63", "Name", "Short string for fast identification the object by user", 100, "No name")
        self.attributes["description"] = base.ConfigAttribute("TEXT", "Description", "Additional information and comments", 10, "No description")

        self.attributes["is_writable"] = base.ConfigAttribute("BOOLEAN", "Writable", "If channels of the group is writable", 90, "")
        self.attributes["quantity"] = base.ConfigAttribute("INTEGER", "Quantity", "The number of channels in the group", 80, "")
#        self.attributes["length"] = base.ConfigAttribute("INTEGER", "Length", "Length of Value vector for each channel in the group", 70, "")
        self.attributes["group_number"] = base.ConfigAttribute("INTEGER", "Group Number", "The priority for group sorting", 80, "")
    def __init__(self):
        """
        Constructor
        """
        ClassBase.__init__(self, "Device Channel Group")

        self.attributes["is_writable"] = base.ConfigAttribute("BOOLEAN", "Writable", "If channels of the group is writable", 90, "")
        self.attributes["quantity"] = base.ConfigAttribute("INTEGER", "Quantity", "The number of channels in the group", 80, "1")
        self.attributes["min_value"] = base.ConfigAttribute("DOUBLE", "Minimum value", "Default minimum value of each channel in the group", 72, "")
        self.attributes["max_value"] = base.ConfigAttribute("DOUBLE", "Maximum value", "Default maximum value of each channel in the group", 71, "")
        self.attributes["default_value"] = base.ConfigAttribute("DOUBLE", "Default value", "Default value of each channel in the group", 70, "")
	self.attributes["params"] = base.ConfigAttribute("DICTIONARY", "Parameters", "A set of channel parameters", 60)
Example #13
0
    def __init__(self):
        """
        Constructor
        """
        ClassBase.__init__(self, "Device")
        self.attributes["readable_name"] = base.ConfigAttribute("STR63", "Readable Name", "Short string for fast identification the object by user", 150, "No name")
        self.attributes["name"] = base.ConfigAttribute("STR63", "API Name", "Short string for fast identification the object by programs", 100, "No name")
        self.attributes["description"] = base.ConfigAttribute("TEXT", "Description", "Additional information and comments", 10, "No description")

        self.attributes["addr"] = base.ConfigAttribute("STR63", "Address", "Address of the Device at the Bus", 90, "")
        self.attributes["init_str"] = base.ConfigAttribute("TEXT", "Initialize String", "String to initialize the Device by the driver", 80, "")
#        self.attributes["place"] = base.ConfigAttribute("STR255", "Place", "Description of where the Device could be found", 70, "")
        self.attributes["sequence_number"] = base.ConfigAttribute("INTEGER", "Sequence Number", "Sequence number for sorting devices during export", 30, "")
Example #14
0
    def __init__(self):
        """
        Constructor
        """
        ClassBase.__init__(self, "BPM Type")
        #self.attributes["I_koef"] = base.ConfigAttribute("DOUBLE", "I_koef", "I_koef", 80, 0.0)
        #self.attributes["step_x"] = base.ConfigAttribute("DOUBLE", "step_x", "step_x", 80, 0.0)
        #self.attributes["step_z"] = base.ConfigAttribute("DOUBLE", "step_z", "step_z", 80, 0.0)
        #self.attributes["shear_x"] = base.ConfigAttribute("DOUBLE", "shear_x", "shear_x", 80, 0.0)
        #self.attributes["shear_z"] = base.ConfigAttribute("DOUBLE", "shear_z", "shear_z", 80, 0.0)
        #self.attributes["angle"] = base.ConfigAttribute("DOUBLE", "angle", "angle", 80, 0.0)

        self.attributes["sensor_type"] = base.ConfigAttribute("STR63", "Sensor_type", "PIC or IPP", 80, "")
        self.attributes["params"] = base.ConfigAttribute("DICTIONARY", "params", "List of parameters depending on BPM type.", 80, {"I_koef":"", "step_x":"", "step_z":"", "shear_x":"", "shear_z":"", "angle":""})
Example #15
0
 def __init__(self):
     """
     Constructor
     """
     ClassBase.__init__(self, "Bridge Group")
Example #16
0
 def __init__(self):
     """
     Constructor
     """
     ClassBase.__init__(self, "Device Link")
Example #17
0
 def __init__(self):
     """
     Constructor
     """
     ClassBase.__init__(self, "Algorithm")
 def __init__(self):
     """
     Constructor
     """
     ClassBase.__init__(self, "Device Link Group")
     self.attributes["quantity"] = base.ConfigAttribute("INTEGER", "Quantity", "The number of links in the group", 80, "")
 def __init__(self):
     """
     Constructor
     """
     ClassBase.__init__(self, "Device Connector Type")
Example #20
0
 def __init__(self):
     """
     Constructor
     """
     ClassBase.__init__(self, "IOC")
Example #21
0
 def __init__(self):
     """
     Constructor
     """
     ClassBase.__init__(self, "Server")
Example #22
0
 def __init__(self):
     """
     Constructor
     """
     ClassBase.__init__(self, "Server")
     self.attributes["Address"] = base.ConfigAttribute("STR63", "Address", "IP address or domain name", 150, "0.0.0.0")