pub struct Command<'a>(pub &'a Object);Expand description
A Command is a discrete control used for supervisory control.
Tuple Fields§
§0: &'a ObjectImplementations§
Source§impl<'a> Command<'a>
impl<'a> Command<'a>
Sourcepub fn diagram_objects(
&self,
) -> impl Iterator<Item = TypedRef<DiagramObject<'static>>> + use<'a>
pub fn diagram_objects( &self, ) -> impl Iterator<Item = TypedRef<DiagramObject<'static>>> + use<'a>
The diagram objects that are associated with the domain object.
Sourcepub fn diagram_objects_in<'d>(
&self,
dataset: &'d Dataset,
) -> impl Iterator<Item = DiagramObject<'d>> + use<'a, 'd>
pub fn diagram_objects_in<'d>( &self, dataset: &'d Dataset, ) -> impl Iterator<Item = DiagramObject<'d>> + use<'a, 'd>
Resolve every DiagramObjects through dataset, skipping unresolved references.
Sourcepub fn description(&self) -> Option<&'a str>
pub fn description(&self) -> Option<&'a str>
The description is a free human readable text describing or naming the object. It may be non unique and may not correlate to a naming hierarchy.
Sourcepub fn m_rid(&self) -> Option<&'a str>
pub fn m_rid(&self) -> Option<&'a str>
Master resource identifier issued by a model authority. The mRID is unique within an exchange context. Global uniqueness is easily achieved by using a UUID, as specified in RFC 4122, for the mRID. The use of UUID is strongly recommended. For CIMXML data files in RDF syntax conforming to IEC 61970-552, the mRID is mapped to rdf:ID or rdf:about attributes that identify CIM object elements.
Sourcepub fn name(&self) -> Option<&'a str>
pub fn name(&self) -> Option<&'a str>
The name is any free human readable and possibly non unique text naming the object.
Sourcepub fn energy_ident_code_eic(&self) -> Option<&'a str>
pub fn energy_ident_code_eic(&self) -> Option<&'a str>
The attribute is used for an exchange of the EIC code (Energy identification Code). The length of the string is 16 characters as defined by the EIC code. For details on EIC scheme please refer to ENTSO-E web site.
Sourcepub fn short_name(&self) -> Option<&'a str>
pub fn short_name(&self) -> Option<&'a str>
The attribute is used for an exchange of a human readable short name with length of the string 12 characters maximum.
Sourcepub fn power_system_resource(
&self,
) -> Option<TypedRef<PowerSystemResource<'static>>>
pub fn power_system_resource( &self, ) -> Option<TypedRef<PowerSystemResource<'static>>>
Regulating device governed by this control output.
Sourcepub fn power_system_resource_in<'d>(
&self,
dataset: &'d Dataset,
) -> Option<PowerSystemResource<'d>>
pub fn power_system_resource_in<'d>( &self, dataset: &'d Dataset, ) -> Option<PowerSystemResource<'d>>
Resolve PowerSystemResource through dataset.
Sourcepub fn control_type(&self) -> Option<&'a str>
pub fn control_type(&self) -> Option<&'a str>
Specifies the type of Control. For example, this specifies if the Control represents BreakerOpen, BreakerClose, GeneratorVoltageSetPoint, GeneratorRaise, GeneratorLower, etc.
Sourcepub fn operation_in_progress(&self) -> Option<bool>
pub fn operation_in_progress(&self) -> Option<bool>
Indicates that a client is currently sending control commands that has not completed.
Sourcepub fn time_stamp(&self) -> Option<&'a str>
pub fn time_stamp(&self) -> Option<&'a str>
The last time a control output was sent.
Sourcepub fn unit_multiplier(&self) -> Option<EnumValueId>
pub fn unit_multiplier(&self) -> Option<EnumValueId>
The unit multiplier of the controlled quantity.
Sourcepub fn unit_symbol(&self) -> Option<EnumValueId>
pub fn unit_symbol(&self) -> Option<EnumValueId>
The unit of measure of the controlled quantity.
Sourcepub fn discrete_value(&self) -> Option<TypedRef<DiscreteValue<'static>>>
pub fn discrete_value(&self) -> Option<TypedRef<DiscreteValue<'static>>>
The MeasurementValue that is controlled.
Sourcepub fn discrete_value_in<'d>(
&self,
dataset: &'d Dataset,
) -> Option<DiscreteValue<'d>>
pub fn discrete_value_in<'d>( &self, dataset: &'d Dataset, ) -> Option<DiscreteValue<'d>>
Resolve DiscreteValue through dataset.
Sourcepub fn value_alias_set(&self) -> Option<TypedRef<ValueAliasSet<'static>>>
pub fn value_alias_set(&self) -> Option<TypedRef<ValueAliasSet<'static>>>
The ValueAliasSet used for translation of a Control value to a name.
Sourcepub fn value_alias_set_in<'d>(
&self,
dataset: &'d Dataset,
) -> Option<ValueAliasSet<'d>>
pub fn value_alias_set_in<'d>( &self, dataset: &'d Dataset, ) -> Option<ValueAliasSet<'d>>
Resolve ValueAliasSet through dataset.
Sourcepub fn normal_value(&self) -> Option<i64>
pub fn normal_value(&self) -> Option<i64>
Normal value for Control.value e.g. used for percentage scaling.