|
ADS-IDAC Engine 5.0.0
|
#include <DisplayComponentState.h>
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Friends | |
| class | boost::serialization::access |
Definition at line 12 of file DisplayComponentState.h.
| DisplayComponentState::DisplayComponentState | ( | ) |
Definition at line 17 of file DisplayComponentState.cpp.
References ComponentState, sim::None, DisplayElement::setCorrespondingSystemParameterUnit(), setDisplayedComponentOperationalState(), setDisplayedComponentOperationalStateWhenFail(), setRelationOperatorToChangeTheComponentState(), setThresholdValueToChangeTheComponentState(), and SystemDisplay::setTypeOfDisplay().
|
virtual |
Definition at line 28 of file DisplayComponentState.cpp.
| void DisplayComponentState::copyDisplayComponentState | ( | DisplayComponentState & | _dcs | ) |
Definition at line 187 of file DisplayComponentState.cpp.
References SystemDisplay::copySystemDisplay(), displayed_component_operational_state, displayed_component_operational_state_when_fail, getDisplayedComponentOperationalState(), getDisplayedComponentOperationalStateWhenFail(), getRelationOperatorToChangeTheComponentState(), getThresholdValueToChangeTheComponentState(), relational_operator_to_change_the_component_state, and threshold_value_to_change_the_component_state.
| int DisplayComponentState::getDisplayedComponentOperationalState | ( | ) |
Definition at line 87 of file DisplayComponentState.cpp.
References displayed_component_operational_state.
Referenced by HWReliabilityFTUnit::checkAndActivateComponentFailure(), HWReliabilityUnit::checkAndActivateComponentFailure(), copyDisplayComponentState(), ControlPanel::executeRequestToPlant(), ReasonMachine::GetAComponentStateImediately(), HWReliabilityModule::readSystemOperationReliabilityInfoFromFile(), HWReliabilityModule::readSystemReliabilityFTInfoFromFile(), HWReliabilityModule::readSystemReliabilityInfoFromFile(), and AlarmComponent::updateDisplayedAlarmState().
| int DisplayComponentState::getDisplayedComponentOperationalStateWhenFail | ( | ) |
Definition at line 88 of file DisplayComponentState.cpp.
References displayed_component_operational_state_when_fail.
Referenced by copyDisplayComponentState().
| int DisplayComponentState::getRelationOperatorToChangeTheComponentState | ( | ) |
Definition at line 186 of file DisplayComponentState.cpp.
References relational_operator_to_change_the_component_state.
Referenced by copyDisplayComponentState().
| double DisplayComponentState::getThresholdValueToChangeTheComponentState | ( | ) |
Definition at line 185 of file DisplayComponentState.cpp.
References threshold_value_to_change_the_component_state.
Referenced by copyDisplayComponentState().
| void DisplayComponentState::readInfoFromFile | ( | std::ifstream & | ) |
Definition at line 31 of file DisplayComponentState.cpp.
References AdsSimErr, SimulationContext::Branch_center, sim::State::Close, displayed_component_operational_state, displayed_component_operational_state_when_fail, g_sim, DisplayElement::getDisplayName(), sim::ControlAction::GreaterThenClose, sim::ControlAction::GreaterThenOff, sim::ControlAction::GreaterThenOn, sim::ControlAction::GreaterThenOpen, sim::State::Off, sim::State::On, sim::State::Open, r5pars_, SystemDisplay::readInfoFromFile(), relational_operator_to_change_the_component_state, BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), sim::ControlAction::SmallerThenClose, sim::ControlAction::SmallerThenOff, sim::ControlAction::SmallerThenOn, sim::ControlAction::SmallerThenOpen, threshold_value_to_change_the_component_state, and sim::ControlAction::Trip.
| void DisplayComponentState::retrieveDisplayComponentStateFromFile | ( | std::ifstream & | ) |
Definition at line 200 of file DisplayComponentState.cpp.
References displayed_component_operational_state, displayed_component_operational_state_when_fail, relational_operator_to_change_the_component_state, SystemDisplay::retrieveSystemDisplayFromFile(), and threshold_value_to_change_the_component_state.
| void DisplayComponentState::saveDisplayComponentStateToFile | ( | std::ofstream & | ) |
Definition at line 194 of file DisplayComponentState.cpp.
References displayed_component_operational_state, displayed_component_operational_state_when_fail, relational_operator_to_change_the_component_state, SystemDisplay::saveSystemDisplayToFile(), and threshold_value_to_change_the_component_state.
|
inlineprivate |
Definition at line 37 of file DisplayComponentState.h.
References displayed_component_operational_state.
| void DisplayComponentState::setDisplayedComponentOperationalState | ( | int | n | ) |
Definition at line 83 of file DisplayComponentState.cpp.
References displayed_component_operational_state.
Referenced by DisplayComponentState().
| void DisplayComponentState::setDisplayedComponentOperationalStateWhenFail | ( | int | n | ) |
Definition at line 84 of file DisplayComponentState.cpp.
References displayed_component_operational_state_when_fail.
Referenced by DisplayComponentState().
| void DisplayComponentState::setRelationOperatorToChangeTheComponentState | ( | int | n | ) |
Definition at line 182 of file DisplayComponentState.cpp.
References relational_operator_to_change_the_component_state.
Referenced by DisplayComponentState().
| void DisplayComponentState::setThresholdValueToChangeTheComponentState | ( | double | x | ) |
Definition at line 179 of file DisplayComponentState.cpp.
References threshold_value_to_change_the_component_state.
Referenced by DisplayComponentState().
| void DisplayComponentState::updateDisplayedComponentOperationalState | ( | ) |
Definition at line 89 of file DisplayComponentState.cpp.
References AdsSimErr, SimulationContext::Branch_center, sim::State::Close, displayed_component_operational_state, displayed_component_operational_state_when_fail, g_sim, SystemDisplay::getCorrespondingSystemParameterValue(), DisplayElement::getDisplayName(), SystemDisplay::getFunctionalState(), sim::ControlAction::GreaterThenClose, sim::ControlAction::GreaterThenOff, sim::ControlAction::GreaterThenOn, sim::ControlAction::GreaterThenOpen, sim::State::Off, sim::State::On, sim::State::Open, r5pars_, relational_operator_to_change_the_component_state, BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), sim::ControlAction::SmallerThenClose, sim::ControlAction::SmallerThenOff, sim::ControlAction::SmallerThenOn, sim::ControlAction::SmallerThenOpen, sim::State::Succeed, and threshold_value_to_change_the_component_state.
|
friend |
Definition at line 35 of file DisplayComponentState.h.
|
private |
Definition at line 31 of file DisplayComponentState.h.
Referenced by copyDisplayComponentState(), getDisplayedComponentOperationalState(), readInfoFromFile(), retrieveDisplayComponentStateFromFile(), saveDisplayComponentStateToFile(), serialize(), setDisplayedComponentOperationalState(), and updateDisplayedComponentOperationalState().
|
private |
Definition at line 31 of file DisplayComponentState.h.
Referenced by copyDisplayComponentState(), getDisplayedComponentOperationalStateWhenFail(), readInfoFromFile(), retrieveDisplayComponentStateFromFile(), saveDisplayComponentStateToFile(), setDisplayedComponentOperationalStateWhenFail(), and updateDisplayedComponentOperationalState().
|
private |
Definition at line 33 of file DisplayComponentState.h.
Referenced by copyDisplayComponentState(), getRelationOperatorToChangeTheComponentState(), readInfoFromFile(), retrieveDisplayComponentStateFromFile(), saveDisplayComponentStateToFile(), setRelationOperatorToChangeTheComponentState(), and updateDisplayedComponentOperationalState().
|
private |
Definition at line 32 of file DisplayComponentState.h.
Referenced by copyDisplayComponentState(), getThresholdValueToChangeTheComponentState(), readInfoFromFile(), retrieveDisplayComponentStateFromFile(), saveDisplayComponentStateToFile(), setThresholdValueToChangeTheComponentState(), and updateDisplayedComponentOperationalState().