cimstructs/
ControlAreaTypeKind.rs1#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
3pub enum ControlAreaTypeKind {
4 AGC,
6 Forecast,
8 Interchange,
10}
11
12impl ControlAreaTypeKind {
13 pub fn uri(&self) -> &'static str {
14 match self {
15 ControlAreaTypeKind::AGC => "http://iec.ch/TC57/CIM100#ControlAreaTypeKind.AGC",
16 ControlAreaTypeKind::Forecast => "http://iec.ch/TC57/CIM100#ControlAreaTypeKind.Forecast",
17 ControlAreaTypeKind::Interchange => "http://iec.ch/TC57/CIM100#ControlAreaTypeKind.Interchange",
18 }
19 }
20}