# Valve
class Valve(mapping: Union[Mapping[mechwolf.components.stdlib.component.Component, int], NoneType] = None, name: Union[str, NoneType] = None)
A generic valve.
# Arguments
mapping
: The mapping from components to their integer port numbers.name
: The name of the valve.
# Attributes
mapping
: The mapping from components to their integer port numbers.name
: The name of the valve.setting
: The position of the valve as an int (mapped viamapping
).