#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
pub enum RegulatingControlModeKind {
voltage,
activePower,
reactivePower,
currentFlow,
admittance,
timeScheduled,
temperature,
powerFactor,
}
impl RegulatingControlModeKind {
pub fn uri(&self) -> &'static str {
match self {
RegulatingControlModeKind::voltage => "http://iec.ch/TC57/CIM100#RegulatingControlModeKind.voltage",
RegulatingControlModeKind::activePower => "http://iec.ch/TC57/CIM100#RegulatingControlModeKind.activePower",
RegulatingControlModeKind::reactivePower => "http://iec.ch/TC57/CIM100#RegulatingControlModeKind.reactivePower",
RegulatingControlModeKind::currentFlow => "http://iec.ch/TC57/CIM100#RegulatingControlModeKind.currentFlow",
RegulatingControlModeKind::admittance => "http://iec.ch/TC57/CIM100#RegulatingControlModeKind.admittance",
RegulatingControlModeKind::timeScheduled => "http://iec.ch/TC57/CIM100#RegulatingControlModeKind.timeScheduled",
RegulatingControlModeKind::temperature => "http://iec.ch/TC57/CIM100#RegulatingControlModeKind.temperature",
RegulatingControlModeKind::powerFactor => "http://iec.ch/TC57/CIM100#RegulatingControlModeKind.powerFactor",
}
}
}