From 50d32ed59ff8a03f06843571993716a4b94adaec Mon Sep 17 00:00:00 2001
From: Administrator <3174665893@qq.com>
Date: 星期五, 08 十一月 2024 21:08:23 +0800
Subject: [PATCH] 修改结构体

---
 common.h |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/common.h b/common.h
index 808271f..9b797c3 100644
--- a/common.h
+++ b/common.h
@@ -449,6 +449,7 @@
 {
     Head head;
     char place[32];//地区
+	char nowTime[32];//当时时间
         EnvironmentReq(){
         head.type = ENVIRONMENT_REQ;
         head.len = sizeof(EnvironmentReq);
@@ -609,9 +610,10 @@
     double planPro;//计划生产量
     double actPro;//实际生产量
 };
-struct CoaMinRodReS
+struct CoaMinRodRes
 {
     Head head;
+	int status;
     CoaMinRod coaMinRod[0];
         CoaMinRodReS(){
         head.type = COAL_MINE_RODER_RES;
@@ -728,7 +730,7 @@
 
 struct MonoutputInfo
 {
-	int date;//日期
+	char date[32];//日期
 	double aOutput;//a产品月产量
 	double bOutput;//b产品月产量
 	double cOutput;//c产品月产量
@@ -743,7 +745,7 @@
 		head.type = ADD_PDPLAN_REQ;
 		head.len = sizeof(AddPdplanReq);
 	}
-};
+}
 //添加一条生产计划的响应结构体
 struct AddPdplanRes
 {

--
Gitblit v1.8.0