From 55e23559af4aca494a33bc1f146ceec3583865bf Mon Sep 17 00:00:00 2001
From: lhl <1281544429@qq.com>
Date: 星期六, 09 十一月 2024 15:55:42 +0800
Subject: [PATCH] 提交了总结
---
/dev/null | 88 --------------------------------------------
Client/黎弘霖/code/DeviceManageServer.zip | 0
Client/黎弘霖/code/DeviceManageClient.zip | 0
Client/黎弘霖/log/设备管理模块总结.docx | 0
4 files changed, 0 insertions(+), 88 deletions(-)
diff --git "a/Client/\351\273\216\345\274\230\351\234\226/code/DeviceManageClient.zip" "b/Client/\351\273\216\345\274\230\351\234\226/code/DeviceManageClient.zip"
new file mode 100644
index 0000000..3e4a2f7
--- /dev/null
+++ "b/Client/\351\273\216\345\274\230\351\234\226/code/DeviceManageClient.zip"
Binary files differ
diff --git "a/Client/\351\273\216\345\274\230\351\234\226/code/DeviceManageServer.zip" "b/Client/\351\273\216\345\274\230\351\234\226/code/DeviceManageServer.zip"
new file mode 100644
index 0000000..46a7799
--- /dev/null
+++ "b/Client/\351\273\216\345\274\230\351\234\226/code/DeviceManageServer.zip"
Binary files differ
diff --git "a/Client/\351\273\216\345\274\230\351\234\226/code/Devices_Management_Struct.h" "b/Client/\351\273\216\345\274\230\351\234\226/code/Devices_Management_Struct.h"
deleted file mode 100644
index 28278eb..0000000
--- "a/Client/\351\273\216\345\274\230\351\234\226/code/Devices_Management_Struct.h"
+++ /dev/null
@@ -1,88 +0,0 @@
-#pragma once
-enum TypeInfo
-{
- AD_REQ,//添加设备请求
- AD_RES,//添加设备响应
- MD_REQ,//修改设备请求
- MD_RES,//修改设备响应
- QD_REQ,//查询设备请求
- QD_RES,//查询设备响应
-};
-struct Head
-{
- int type;
- int len;
-};
-struct DevicesInfo
-{
- int deviceID;
- char deviceName[32];//设备名称
- char deviceStatus[32];//设备状态
- char manufacturer[100];//厂家
- char devicesType[32];//设备类型
- double longitude;//经度
- double latitude;//纬度
- char purchasingTime[15];//购买时间
- char installTime[15];//安装时间
- char devicesSerialNumber[32];//设备编码
-};
-//添加设备
-struct ADReq//添加请求
-{
- Head head;
- char deviceName[32];
- ADReq() {
- head.type = AD_REQ;
- head.len = sizeof(ADReq);
- }
-
-};
-
-struct ADRes//添加响应
-{
- Head head;
- int type;
- ADRes() {
- head.type = AD_RES;
- head.len = sizeof(ADRes);
- }
-
-};
-//修改设备
-struct MDRes//修改请求
-{
- Head head;
- DevicesInfo info;
- MDRes() {
- head.type = MD_RES;
- head.len = sizeof(MDRes);
- }
-};
-struct MDReq//修改响应
-{
- Head head;
- int type;
- MDReq() {
- head.type = MD_REQ;
- head.len = sizeof(MDReq);
- }
-};
-//查询设备
-struct QDReq//查询请求
-{
- Head head;
- DevicesInfo info;
- QDReq() {
- head.type = QD_REQ;
- head.len = sizeof(QDReq);
- }
-};
-struct QDRes//查询响应
-{
- Head head;
- int type;
- QDRes() {
- head.type = QD_RES;
- head.len = sizeof(QDRes);
- }
-};
\ No newline at end of file
diff --git "a/Client/\351\273\216\345\274\230\351\234\226/log/\350\256\276\345\244\207\347\256\241\347\220\206\346\250\241\345\235\227\346\200\273\347\273\223.docx" "b/Client/\351\273\216\345\274\230\351\234\226/log/\350\256\276\345\244\207\347\256\241\347\220\206\346\250\241\345\235\227\346\200\273\347\273\223.docx"
new file mode 100644
index 0000000..3faacbf
--- /dev/null
+++ "b/Client/\351\273\216\345\274\230\351\234\226/log/\350\256\276\345\244\207\347\256\241\347\220\206\346\250\241\345\235\227\346\200\273\347\273\223.docx"
Binary files differ
--
Gitblit v1.8.0