240717班级,工业化控制系统,煤矿相关行业,昆仑系统
congmu
2024-11-02 0a5bc1d574adce254becfd3f598f505fbfbe27c3
Merge branch 'master' of ssh://115.28.86.8:29418/~admin/昆仑_1025
1 文件已重命名
3个文件已修改
17个文件已添加
3个文件已删除
252 ■■■■ 已修改文件
Client/冀浩昶/log/日志_冀浩昶_1101.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/冀浩昶/log/日志_冀浩昶_1102.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/刘子航/log/日志_刘子航_1102.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/宋昊昳/log/日志_宋昊昳_1102.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/朱航/log/朱航1030.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/朱航/log/朱航1031.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/朱航/log/朱航1101.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/李宵增/document/历史查询分析模块需求分析.docx 补丁 | 查看 | 原始文档 | blame | 历史
Client/李宵增/log/历史查询_李宵增_1101.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/黎弘霖/code/Devices_Management_Struct.h 131 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Client/黎弘霖/log/设备管理_黎弘霖_1102.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/龚启祥/log/日志模板_龚启祥_1102.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/李转转/log/配置管理_1102.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/王琨元/document/~$表.docx 补丁 | 查看 | 原始文档 | blame | 历史
Server/王琨元/document/备份导出.txt 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Server/王琨元/document/建表.docx 补丁 | 查看 | 原始文档 | blame | 历史
Server/王琨元/document/表.docx 补丁 | 查看 | 原始文档 | blame | 历史
Server/王琨元/document/防注入.txt 67 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Server/王琨元/log/日志模板_王琨元_1031 .doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/胡家明/log/日志_胡家明_1101.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/马渝杭/log/20241101昆仑日报.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/马渝杭/log/日志_马渝杭_20241031.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/马渝杭/log/日志_马渝杭_20241101.doc 补丁 | 查看 | 原始文档 | blame | 历史
common.h 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Client/¼½ºÆêÆ/log/ÈÕÖ¾_¼½ºÆêÆ_1101.doc
Binary files differ
Client/¼½ºÆêÆ/log/ÈÕÖ¾_¼½ºÆêÆ_1102.doc
Binary files differ
Client/Áõ×Óº½/log/ÈÕÖ¾_Áõ×Óº½_1102.doc
Binary files differ
Client/ËÎ껕i/log/ÈÕÖ¾_ËÎ껕i_1102.doc
Binary files differ
Client/Ö캽/log/Ö캽1030.doc
Binary files differ
Client/Ö캽/log/Ö캽1031.doc
Binary files differ
Client/Ö캽/log/Ö캽1101.doc
Binary files differ
Client/ÀîÏüÔö/document/ÀúÊ·²éѯ·ÖÎöÄ£¿éÐèÇó·ÖÎö.docx
Binary files differ
Client/ÀîÏüÔö/log/ÀúÊ·²éѯ_ÀîÏüÔö_1101.doc
Binary files differ
Client/ÀèºëÁØ/code/Devices_Management_Struct.h
@@ -1,121 +1,88 @@
#pragma once
enum TypeInfo
{
    AD_Req,//添加设备请求
    AD_Res,//添加设备响应
    CD_Req,//关闭设备请求
    CD_Res,//关闭设备请求
    PD_Req,//暂停设备请求
    PD_Res,//暂停设备请求
    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
struct ADReq//添加请求
{
    Head head;
    char Device_Name[32];
    char deviceName[32];
    ADReq() {
        head.type = AD_Req;
        head.len = sizeof(AD_Req);
        head.type = AD_REQ;
        head.len = sizeof(ADReq);
    }
};
struct ADPermission
{
    char Device_Name[32];
    char Device_Status[32];
    char Manufacturer[100];
    char Devices_Type[32];
    double Longitude;
    double Latitude;
};
struct ADRes
struct ADRes//添加响应
{
    Head head;
    char Device_Name[32];
    char Device_Status[32];
    char Start_Time[32];
    char Work_Time[32];
    char Manufacturer[100];
    char Devices_Type[32];
    double Longitude;
    double Latitude;
    ADPermission per;
    int type;
    ADRes() {
        head.type = AD_Res;
        head.type = AD_RES;
        head.len = sizeof(ADRes);
    }
};
//关闭设备
struct CDReq
//修改设备
struct MDRes//修改请求
{
    Head head;
    char Device_Name[32];
    CDReq() {
        head.type = CD_Req;
        head.len = sizeof(CDReq);
    DevicesInfo info;
    MDRes() {
        head.type = MD_RES;
        head.len = sizeof(MDRes);
    }
};
struct CDPermission
{
    char Device_Name[32];
    char Device_Status[32];
    char Start_Time[32];
    char Work_Time[32];
    char Manufacturer[100];
    char Devices_Type[32];
    double Longitude;
    double Latitude;
};
struct CDRes
struct MDReq//修改响应
{
    Head head;
    char Device_Status[32];
    int status;
    CDPermission per;
    CDRes() {
        head.type = CD_Res;
        head.len = sizeof(CDRes);
    int type;
    MDReq() {
        head.type = MD_REQ;
        head.len = sizeof(MDReq);
    }
};
//暂停设备
struct PDReq
//查询设备
struct QDReq//查询请求
{
    Head head;
    char Device_Name[32];
    PDReq() {
        head.type = PD_Req;
        head.len = sizeof(PDReq);
    DevicesInfo info;
    QDReq() {
        head.type = QD_REQ;
        head.len = sizeof(QDReq);
    }
};
struct PDPermission
{
    char Device_Name[32];
    char Device_Status[32];
    char Start_Time[32];
    char Work_Time[32];
    char Manufacturer[100];
    char Devices_Type[32];
    double Longitude;
    double Latitude;
};
struct PDRes
struct QDRes//查询响应
{
    Head head;
    char Device_Status[32];
    char Work_Time[32];
    int status;
    PDPermission per;
    PDRes() {
        head.type = PD_Res;
        head.len = sizeof(PDRes);
    int type;
    QDRes() {
        head.type = QD_RES;
        head.len = sizeof(QDRes);
    }
};
Client/ÀèºëÁØ/log/É豸¹ÜÀí_ÀèºëÁØ_1102.doc
Binary files differ
Client/¹¨ÆôÏé/log/ÈÕ־ģ°å_¹¨ÆôÏé_1102.doc
Binary files differ
Server/Àîתת/log/ÅäÖùÜÀí_1102.doc
Binary files differ
Server/ÍõçûÔª/document/~$±í.docx
Binary files differ
Server/ÍõçûÔª/document/±¸·Ýµ¼³ö.txt
File was deleted
Server/ÍõçûÔª/document/½¨±í.docx
Binary files differ
Server/ÍõçûÔª/document/±í.docx
Binary files differ
Server/ÍõçûÔª/document/·À×¢Èë.txt
File was deleted
Server/ÍõçûÔª/log/ÈÕ־ģ°å_ÍõçûÔª_1031 .doc
Binary files differ
Server/ºú¼ÒÃ÷/log/ÈÕÖ¾_ºú¼ÒÃ÷_1101.doc
Binary files differ
Server/ÂíÓ庼/log/20241101À¥ÂØÈÕ±¨.doc
Binary files differ
Server/ÂíÓ庼/log/ÈÕÖ¾_ÂíÓ庼_20241031.doc
Binary files differ
Server/ÂíÓ庼/log/ÈÕÖ¾_ÂíÓ庼_20241101.doc
Binary files differ
common.h
@@ -561,10 +561,11 @@
// è­¦æŠ¥è¯·æ±‚结构体  
struct WarningReq {  
    Head head;  
    float oxygen;   // æ°§æ°”浓度
    float carbon;   // ä¸€æ°§åŒ–碳浓度
    float temp;     // æ¸©åº¦
    float humidity; // æ¹¿åº¦
   float oxygenWarning;
   float carbonWarning;
   float tempWarning;
   float humidityWarning;
    WarningReq() {  
        head.type = WARNING_REQ;  
@@ -572,6 +573,22 @@
    }  
};  
struct DataThreshold{
     //阈值
    float oxygenThreshold;
    float carbonThreshold;
    float tempThreshold;
    float humidityThreshold;
};
struct Data{
    float oxygen;   // æ°§æ°”浓度
    float carbon;   // ä¸€æ°§åŒ–碳浓度
    float temp;     // æ¸©åº¦
    float humidity; // æ¹¿åº¦
};
// è­¦æŠ¥å“åº”结构体  
struct WarningRes {  
    Head head;