Commit 561c5284 authored by 刘乐's avatar 刘乐

类名修改

parent 565e3aa3
......@@ -6,6 +6,14 @@ CivOptSchedEngine::CivOptSchedEngine(const string& uri):mUri(uri)
}
bool CivOptSchedEngine::optimal()
{
// תinpÎļþ
// ¿ªÊ¼¼ÆËã
}
void CivOptSchedEngine::schedulingResultToJson(string& json)
{
}
\ No newline at end of file
......@@ -7,7 +7,7 @@
using namespace std;
/**
优化调度模拟客户端
优化调度客户端
*/
class CivOptSchedEngine
{
......@@ -16,9 +16,20 @@ public:
bool optimal();
protected:
/**
*@brief 将计算结果转换为json字符串
*@param [out] json 输出结果的字符串
*/
void schedulingResultToJson(string& json);
private:
// 水泵编码与水泵状态的映射
map<string, int> mPumpsStatus;
// 编码与状态的映射
map<string, int> mStatus;
// 调度结果
vector<map<string, int>> mSchedulingResults;
// 数据连接地址
string mUri;
......
......@@ -2,7 +2,7 @@
#include "CivOptSchedEngine.h"
/**
Ż
վŻ
*/
class CivOptSchedPumpEngine: public CivOptSchedEngine
{
......
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