mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
实现削峰套利策略的编辑页面
This commit is contained in:
@@ -5,8 +5,8 @@ std::shared_ptr<CommEntity> Communicator::createEntity(Fields& data)
|
||||
{
|
||||
std::string commType = data.value("commType");
|
||||
std::string ip = data.value("ip");
|
||||
int port = data.getInt("port");
|
||||
int isclient = data.getInt("isclient");
|
||||
int port = data.get<int>("port");
|
||||
int isclient = data.get<int>("isclient");
|
||||
|
||||
if (commType == "TCP")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user