Commit b2d67b34 authored by 刘乐's avatar 刘乐

1, 增加接口文档

parent cb17f35f
...@@ -26,7 +26,7 @@ bool DLLEXPORT simulation(char* uri, char* netName, char* flag) ...@@ -26,7 +26,7 @@ bool DLLEXPORT simulation(char* uri, char* netName, char* flag)
return msg; return msg;
} }
bool DLLEXPORT getDataByInterval(char* uri, char* netName, char* date, char* interval) bool DLLEXPORT getDataByInterval(char* uri,char* date, char* interval)
{ {
CivDbConnection* dbConn = new CivDbConnection(uri); CivDbConnection* dbConn = new CivDbConnection(uri);
bool flag = dbConn->updateLinkByInterval(date, interval); bool flag = dbConn->updateLinkByInterval(date, interval);
......
...@@ -15,12 +15,11 @@ extern "C" { ...@@ -15,12 +15,11 @@ extern "C" {
/** /**
*@brief 获取管网计算特定时段的结果 *@brief 获取管网计算特定时段的结果
*@uri: 管网数据库连接 *@uri: 管网数据库连接uri
*@netName: 管网名
*@date: 日期 *@date: 日期
*@interval: 时段,整数 *@interval: 时段,整数
*/ */
bool DLLEXPORT getDataByInterval(char* uri, char* netName, char* date, char* interval); bool DLLEXPORT getDataByInterval(char* uri,char* date, char* interval);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment