Specifications¤
Specifications
¤
Specifications(**attributes: str)
Bases: Any
Specifications provided by the manufacturer of the equipment.
Typically, the specifications are specified on the website, datasheet and/or technical notes that a manufacturer provides.
Since this class is currently represented by the any type in the XML Schema Definition, it is simply a subclass of Element. It may be updated to be a more specific class at a later date.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
attributes
|
str
|
All keyword arguments are used as the element's attributes. |
{}
|
Source code in src/msl/equipment/schema.py
146 147 148 149 150 151 152 |
|
from_xml
classmethod
¤
Copies an XML element into the Any subclass.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
element
|
Element[str]
|
An XML element from an equipment register. |
required |
Returns:
Type | Description |
---|---|
A
|
The subclass instance. |
Source code in src/msl/equipment/schema.py
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 |
|