minor adjustments
This commit is contained in:
@@ -33,7 +33,8 @@
|
|||||||
*/
|
*/
|
||||||
template<>
|
template<>
|
||||||
FailState<ModbusIP>::FailState(const std::vector<std::string>& activeAlarms) {
|
FailState<ModbusIP>::FailState(const std::vector<std::string>& activeAlarms) {
|
||||||
addStrategy("Duct RH", new SingleValueStrategy(35.0f, 5.0f, 1000));
|
addStrategy("Duct RH", new SingleValueStrategy(35.0f, 5.0f, 1000));
|
||||||
|
addStrategy("Tank Temp", new SingleValueStrategy(80.0f, 1.0f, 3000));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -37,7 +37,8 @@
|
|||||||
*/
|
*/
|
||||||
template<>
|
template<>
|
||||||
StandbyState<ModbusIP>::StandbyState() {
|
StandbyState<ModbusIP>::StandbyState() {
|
||||||
addStrategy("Duct RH", new SingleValueStrategy(35.0f, 5.0f, 1000));
|
addStrategy("Duct RH", new SingleValueStrategy(35.0f, 5.0f, 1000));
|
||||||
|
addStrategy("Tank Temp", new SingleValueStrategy(80.0f, 1.0f, 3000));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ modbusMap mb_map[] =
|
|||||||
{DI, 8, 0, "Drain Valve"}, // 0:not draining, 1:draining
|
{DI, 8, 0, "Drain Valve"}, // 0:not draining, 1:draining
|
||||||
{DI, 9, 0, "Alarms Present"}, // Used for Modscan testing only - not part of vendor Modbus table
|
{DI, 9, 0, "Alarms Present"}, // Used for Modscan testing only - not part of vendor Modbus table
|
||||||
|
|
||||||
{IR, 0, 0, "Space RH"}, // Relative_Humidity
|
{IR, 0, 0, "Space RH"}, // Relative_Humidity --> NOT USED, sensor not connected to HUM
|
||||||
{IR, 2, 0, "Duct RH"}, // OSet_CV
|
{IR, 2, 0, "Duct RH"}, // OSet_CV
|
||||||
{IR, 3, 0, "Steam Demand Mass"},
|
{IR, 3, 0, "Steam Demand Mass"},
|
||||||
{IR, 4, 0, "Steam Demand Percent"},
|
{IR, 4, 0, "Steam Demand Percent"},
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/**
|
/**
|
||||||
* @file main.cpp
|
* @file main.cpp
|
||||||
* @brief Main execution program for the CRAH Unit (TCP) Emulator.
|
* @brief Main execution program for the DriSteem Humidifier (TCP) Emulator.
|
||||||
* @author Emmanuel Hernandez Cruz
|
* @author Emmanuel Hernandez Cruz, Robert J Davis
|
||||||
* @date 2025-09-02
|
* @date 2025-09-02
|
||||||
*
|
*
|
||||||
* @details This file contains the main execution program for an Arduino-based emulator of a CRAH unit.
|
* @details This file contains the main execution program for an Arduino-based emulator of the DriSteem Humidifier unit.
|
||||||
* The program uses a Wi-Fi connection to communicate via the Modbus IP protocol.
|
* The program uses a Wi-Fi connection to communicate via the Modbus IP protocol.
|
||||||
*
|
*
|
||||||
* The setup() function initializes the following:
|
* The setup() function initializes the following:
|
||||||
|
|||||||
Reference in New Issue
Block a user