#pragma once


#define EnergyHead  "能量利用"
#define TotalEnergy "需电费"
#define TotalCost "总成本"
#define LineSeparator  "----------------------------------------------------------------------"
#define NodeHead "节点结果"
#define PipeHead "管段结果"
#define Node "节点"
#define Demand "需水量"
#define TotalHead "总水头"
#define Pressure "压力"
#define Quality "水质"

#define Pipe "管段"
#define UnitHeadLoss "单位水头损失"
#define Flow "流量"
#define Velocity "流速"
#define Status "状态"
#define Open "打开"
#define Close "关闭"
#define Pump "水泵"

/***
	模拟报告的一些数结构体
*/

// 管段模拟结果值
typedef struct PipeStruct
{
	char sz[128];
	float flow;
	float velocity;// 流速
	float unitHeadLosss; // 单位水头损失
	char status[256]; // 状态
};

//  节点模拟结果值
typedef struct NodeStruct
{
	char sz[128];  // id号
	float demand;
	float totalHead;
	float pressure;
	float quality;
};

// 能量报告结构体
typedef struct EnergyStruct
{
	char sz[128];
	float percentage; // 百分比利用
	float averEffic; // 平均效率
	float kwm; // kw-hr
	float averKilowatt; // 平均千瓦
	float dayCost; // 成本/日
};
