mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
实现系统管理表格操作接口、分页操作
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#include "Communicator.h"
|
||||
#include "TcpEntity.h"
|
||||
|
||||
std::shared_ptr<CommEntity> Communicator::createEntity(DataFields& data)
|
||||
std::shared_ptr<CommEntity> Communicator::createEntity(Fields& data)
|
||||
{
|
||||
std::string commType = data.getStr("commType");
|
||||
std::string ip = data.getStr("ip");
|
||||
std::string commType = data.value("commType");
|
||||
std::string ip = data.value("ip");
|
||||
int port = data.getInt("port");
|
||||
int isclient = data.getInt("isclient");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user