实现削峰套利策略的编辑页面

This commit is contained in:
lixiaoyuan
2025-08-26 18:36:25 +08:00
parent 7fe51ea362
commit 8f6c83147b
37 changed files with 1506 additions and 729 deletions

View File

@@ -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")
{