q
This commit is contained in:
@@ -9,10 +9,10 @@
|
|||||||
|
|
||||||
[platformio]
|
[platformio]
|
||||||
|
|
||||||
default_envs = MVG_SC_EC_M505_TCP ; Select here the name of the configuration you want to download
|
default_envs = Base_TCP ; Select here the name of the configuration you want to download
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
upload_port = COM26
|
upload_port = COM15
|
||||||
|
|
||||||
[common_env_options]
|
[common_env_options]
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
|||||||
@@ -21,10 +21,10 @@
|
|||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
#include <ModbusIP_ESP8266.h>
|
#include <ModbusIP_ESP8266.h>
|
||||||
const char *ssid = "wifi_name"; /**< @brief The SSID of the WiFi network. */
|
const char *ssid = "QTS_ATL_Arduino"; /**< @brief The SSID of the WiFi network. */
|
||||||
const char *password = "wifi_password"; /**< @brief The password for the WiFi network. */
|
const char *password = "Fayetteville123"; /**< @brief The password for the WiFi network. */
|
||||||
IPAddress local_IP(192, 168, 1, 234); /**< @brief The static IP address for the device. */
|
IPAddress local_IP(172, 17, 25, 115); /**< @brief The static IP address for the device. */
|
||||||
IPAddress gateway(192, 168, 1, 1); /**< @brief The gateway IP address. */
|
IPAddress gateway(172, 17, 25, 1); /**< @brief The gateway IP address. */
|
||||||
IPAddress subnet(255, 255, 255, 0); /**< @brief The subnet mask. */
|
IPAddress subnet(255, 255, 255, 0); /**< @brief The subnet mask. */
|
||||||
|
|
||||||
ModbusIP mb;
|
ModbusIP mb;
|
||||||
|
|||||||
@@ -98,6 +98,7 @@ void StandbyState<ModbusIP>::enterState(Equipment<ModbusIP>* equipment) {
|
|||||||
setPointValue(equipment, "kW", 0.0f);
|
setPointValue(equipment, "kW", 0.0f);
|
||||||
setPointValue(equipment, "kVA", 0.0f);
|
setPointValue(equipment, "kVA", 0.0f);
|
||||||
setPointValue(equipment, "kWh", 0.0f);
|
setPointValue(equipment, "kWh", 0.0f);
|
||||||
|
setBitValue(equipment, "Alarm General", 0, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user