# Valve
class Valve(mapping: Optional[Mapping[mechwolf.components.stdlib.component.Component, int]] = None, name: Optional[str] = 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).