This commit is contained in:
RobertJDavis
2025-10-23 12:53:36 -07:00
parent b95e8132c9
commit 8304941cb6
9 changed files with 563 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
/**
* @file State_Running.cpp
* @brief Implementation of the RunningState class.
* @author Emmanuel Hernandez Cruz
* @date 2025-09-05
* @author Emmanuel Hernandez Cruz, Robert J Davis
* @date 2025-10-22
*
* This file contains the implementation for the RunningState, which defines
* the behavior of the equipment when it is actively running.
@@ -41,8 +41,11 @@
*/
template<>
RunningState<ModbusRTU>::RunningState() {
addStrategy("Inverter Temperature", new SquareStrategy(40.0f, 80.0f,1000));
addStrategy("Inverter Temperature", new SquareStrategy(40.0f, 80.0f, 1000));
addStrategy("Motor Speed Used", new RampStrategy(100.0f, 10.0f, 1000));
addStrategy("Motor Speed Estimated", new RampStrategy(80.0f, 10.0f, 1000));
addStrategy("Motor Current", new RampStrategy(65.0f, 2.0f, 1000));
addStrategy("Motor Torque", new RampStrategy(200.0f, 10.0f, 1000));
}
/**