|
ADS-IDAC Engine 5.0.0
|
#include <ControlState.h>
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
| int | displyed_control_state |
| int | displyed_control_state_when_fail |
Friends | |
| class | boost::serialization::access |
Definition at line 20 of file ControlState.h.
| ControlState::ControlState | ( | ) |
Definition at line 19 of file ControlState.cpp.
References sim::State::Auto, ControlState, displyed_control_state, displyed_control_state_when_fail, and SystemControl::setTypeOfControl().
|
virtual |
Definition at line 26 of file ControlState.cpp.
| void ControlState::copyControlState | ( | ControlState & | _cs | ) |
Definition at line 285 of file ControlState.cpp.
References SystemControl::copySystemControl(), displyed_control_state, displyed_control_state_when_fail, getDisplayedControlState(), and getDisplayedControlStateWhenFail().
| int ControlState::getDisplayedControlState | ( | ) |
Definition at line 33 of file ControlState.cpp.
References displyed_control_state.
Referenced by copyControlState().
| string ControlState::getDisplayedControlStateString | ( | ) |
Definition at line 263 of file ControlState.cpp.
References sim::State::Close, displyed_control_state, sim::State::Off, sim::State::On, and sim::State::Open.
| int ControlState::getDisplayedControlStateWhenFail | ( | ) |
Definition at line 31 of file ControlState.cpp.
References displyed_control_state_when_fail.
Referenced by copyControlState(), HWReliabilityModule::readSystemOperationReliabilityInfoFromFile(), HWReliabilityModule::readSystemReliabilityFTInfoFromFile(), and HWReliabilityModule::readSystemReliabilityInfoFromFile().
| void ControlState::initiateDisplayedControlState | ( | SystemModule & | _th | ) |
Definition at line 205 of file ControlState.cpp.
References AdsSimErr, sim::State::Auto, SimulationContext::Branch_center, sim::State::Close, displyed_control_state_when_fail, g_sim, SystemModule::getComponentFromSystemMap(), ControlElement::getCorrespondingComponentNameOfControl(), InteractiveVariable::getDisplayValue(), SystemControl::getPtrToCorrespondingInteractiveVariable(), ControlElement::getValueForOffOrFullyClose(), ControlElement::getValueForOnOrFullyOpen(), sim::State::Off, sim::State::On, sim::State::Open, r5pars_, setDisplayedControlState(), SystemControl::setPtrToCorrespondingInteractiveVariable(), BranchRecord::setTempESMessage(), and BranchRecord::setTempTypeOfConsequence().
| void ControlState::performDisplayedControlState | ( | SystemModule & | _th, |
| int | _control_state | ||
| ) |
Definition at line 144 of file ControlState.cpp.
References AdsSimErr, SimulationContext::Branch_center, sim::State::Close, displyed_control_state_when_fail, g_sim, SystemModule::getComponentFromSystemMap(), ControlElement::getCorrespondingComponentNameOfControl(), SystemControl::getFunctionalState(), SystemControl::getPtrToCorrespondingInteractiveVariable(), ControlElement::getValueForOffOrFullyClose(), ControlElement::getValueForOnOrFullyOpen(), sim::None, sim::State::Off, sim::State::On, sim::State::Open, r5pars_, setDisplayedControlState(), InteractiveVariable::setInputValue(), InteractiveVariable::setNeedToInteract(), SystemControl::setPtrToCorrespondingInteractiveVariable(), BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), and sim::State::Succeed.
Referenced by ControlPanelControl::executeStateControl().
| void ControlState::performValueControl | ( | SystemModule & | _th, |
| double | _control_value | ||
| ) |
Definition at line 118 of file ControlState.cpp.
References AdsSimErr, SimulationContext::Branch_center, g_sim, SystemModule::getComponentFromSystemMap(), ControlElement::getCorrespondingComponentNameOfControl(), SystemControl::getPtrToCorrespondingInteractiveVariable(), r5pars_, ControlElement::setControlValue(), setDisplayedControlState(), InteractiveVariable::setInputValue(), InteractiveVariable::setNeedToInteract(), SystemControl::setPtrToCorrespondingInteractiveVariable(), BranchRecord::setTempESMessage(), and BranchRecord::setTempTypeOfConsequence().
Referenced by ControlPanel::executeRequestToPlant(), and ControlPanelControl::executeValueControl().
| void ControlState::readInfoFromFile | ( | std::ifstream & | ) |
Definition at line 34 of file ControlState.cpp.
References SimulationContext::Branch_center, sim::State::Close, displyed_control_state_when_fail, g_sim, ControlElement::getDisplayName(), NoKB, sim::None, sim::State::Off, sim::State::On, sim::State::Open, r5pars_, ControlElement::readInfoFromFile(), BranchRecord::setTempESMessage(), and BranchRecord::setTempTypeOfConsequence().
| void ControlState::retrieveControlStateFromFile | ( | std::ifstream & | ) |
Definition at line 294 of file ControlState.cpp.
References displyed_control_state, displyed_control_state_when_fail, and SystemControl::retrieveSystemControlFromFile().
| void ControlState::saveControlStateToFile | ( | std::ofstream & | ) |
Definition at line 290 of file ControlState.cpp.
References displyed_control_state, displyed_control_state_when_fail, and SystemControl::saveSystemControlToFile().
|
inlineprivate |
Definition at line 45 of file ControlState.h.
References displyed_control_state.
| void ControlState::setDisplayedControlState | ( | int | n | ) |
Definition at line 32 of file ControlState.cpp.
References displyed_control_state.
Referenced by initiateDisplayedControlState(), performDisplayedControlState(), performValueControl(), and updateDisplayedControlState().
| void ControlState::setDisplayedControlStateWhenFail | ( | int | n | ) |
Definition at line 30 of file ControlState.cpp.
References displyed_control_state_when_fail.
| void ControlState::updateDisplayedControlState | ( | SystemModule & | _th, |
| int | _control_state | ||
| ) |
Definition at line 61 of file ControlState.cpp.
References AdsSimErr, SimulationContext::Branch_center, sim::State::Close, displyed_control_state_when_fail, g_sim, SystemModule::getComponentFromSystemMap(), ControlElement::getCorrespondingComponentNameOfControl(), SystemControl::getFunctionalState(), SystemControl::getPtrToCorrespondingInteractiveVariable(), ControlElement::getValueForOffOrFullyClose(), ControlElement::getValueForOnOrFullyOpen(), sim::None, sim::State::Off, sim::State::On, sim::State::Open, r5pars_, setDisplayedControlState(), InteractiveVariable::setInputValue(), SystemControl::setPtrToCorrespondingInteractiveVariable(), BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), and sim::State::Succeed.
|
friend |
Definition at line 42 of file ControlState.h.
|
private |
Definition at line 39 of file ControlState.h.
Referenced by ControlState(), copyControlState(), getDisplayedControlState(), getDisplayedControlStateString(), retrieveControlStateFromFile(), saveControlStateToFile(), serialize(), and setDisplayedControlState().
|
private |
Definition at line 39 of file ControlState.h.
Referenced by ControlState(), copyControlState(), getDisplayedControlStateWhenFail(), initiateDisplayedControlState(), performDisplayedControlState(), readInfoFromFile(), retrieveControlStateFromFile(), saveControlStateToFile(), setDisplayedControlStateWhenFail(), and updateDisplayedControlState().