cortex test
This commit is contained in:
@@ -152,7 +152,7 @@ State<ModbusIP>* StandbyState<ModbusIP>::update(Equipment<ModbusIP>* equipment)
|
||||
float mainCB_neutralCurrent = 0.0f;
|
||||
float mainCB_maxTotalKw = 0.0f;
|
||||
float mainCB_maxTotalCurrent = 0.0f;
|
||||
for (int i = 1; i <= 16; i++) {
|
||||
for (int i = 1; i <= 8; i++) {
|
||||
std::string kw_name = "CB" + std::to_string(i) + "_kW";
|
||||
std::string max_current_name = "CB" + std::to_string(i) + "_maxCurrent";
|
||||
mainCB_total_kW += getPointValue(equipment, kw_name.c_str());
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <ModbusIP_ESP8266.h>
|
||||
const char *ssid = "Oracle_SA"; /**< @brief The SSID of the WiFi network. */
|
||||
const char *password = "Prime!123"; /**< @brief The password for the WiFi network. */
|
||||
IPAddress local_IP(172, 17, 38, 72); /**< @brief The static IP address for the device. */
|
||||
IPAddress local_IP(172, 17, 38, 41); /**< @brief The static IP address for the device. */
|
||||
IPAddress gateway(172, 17, 38, 1); /**< @brief The gateway IP address. */
|
||||
IPAddress subnet(255, 255, 255, 0); /**< @brief The subnet mask. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user