cimstructs/
RegulatingControlModeKind.rs1#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
3pub enum RegulatingControlModeKind {
4 voltage,
6 activePower,
8 reactivePower,
10 currentFlow,
12 admittance,
14 timeScheduled,
16 temperature,
18 powerFactor,
20}
21
22impl RegulatingControlModeKind {
23 pub fn uri(&self) -> &'static str {
24 match self {
25 RegulatingControlModeKind::voltage => "http://iec.ch/TC57/CIM100#RegulatingControlModeKind.voltage",
26 RegulatingControlModeKind::activePower => "http://iec.ch/TC57/CIM100#RegulatingControlModeKind.activePower",
27 RegulatingControlModeKind::reactivePower => "http://iec.ch/TC57/CIM100#RegulatingControlModeKind.reactivePower",
28 RegulatingControlModeKind::currentFlow => "http://iec.ch/TC57/CIM100#RegulatingControlModeKind.currentFlow",
29 RegulatingControlModeKind::admittance => "http://iec.ch/TC57/CIM100#RegulatingControlModeKind.admittance",
30 RegulatingControlModeKind::timeScheduled => "http://iec.ch/TC57/CIM100#RegulatingControlModeKind.timeScheduled",
31 RegulatingControlModeKind::temperature => "http://iec.ch/TC57/CIM100#RegulatingControlModeKind.temperature",
32 RegulatingControlModeKind::powerFactor => "http://iec.ch/TC57/CIM100#RegulatingControlModeKind.powerFactor",
33 }
34 }
35}