cimstructs/IfdBaseKind.rs
1/// Excitation base system mode.
2#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
3pub enum IfdBaseKind {
4 /// Air gap line mode.
5 ifag,
6 /// No load system with saturation mode.
7 ifnl,
8 /// Full load system mode.
9 iffl,
10}
11
12impl IfdBaseKind {
13 pub fn uri(&self) -> &'static str {
14 match self {
15 IfdBaseKind::ifag => "http://iec.ch/TC57/CIM100#IfdBaseKind.ifag",
16 IfdBaseKind::ifnl => "http://iec.ch/TC57/CIM100#IfdBaseKind.ifnl",
17 IfdBaseKind::iffl => "http://iec.ch/TC57/CIM100#IfdBaseKind.iffl",
18 }
19 }
20}