Merge branch 'master' of ssh://115.28.86.8:29418/~admin/昆仑_1025
| | |
| | | { |
| | | AD_Req,//娣诲姞璁惧璇锋眰 |
| | | AD_Res,//娣诲姞璁惧鍝嶅簲 |
| | | DD_Req,//鍏抽棴璁惧璇锋眰 |
| | | DD_Res,//鍏抽棴璁惧璇锋眰 |
| | | CD_Req,//鍏抽棴璁惧璇锋眰 |
| | | CD_Res,//鍏抽棴璁惧璇锋眰 |
| | | PD_Req,//鏆傚仠璁惧璇锋眰 |
| | | PD_Res,//鏆傚仠璁惧璇锋眰 |
| | | }; |
| | |
| | | { |
| | | 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 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; |
| | | ADRes() { |
| | | head.type = AD_Res; |
| | |
| | | }; |
| | | |
| | | //鍏抽棴璁惧 |
| | | struct DDReq |
| | | struct CDReq |
| | | { |
| | | Head head; |
| | | char Device_Name[32]; |
| | | DDReq() { |
| | | head.type = DD_Req; |
| | | head.len = sizeof(DDReq); |
| | | CDReq() { |
| | | head.type = CD_Req; |
| | | head.len = sizeof(CDReq); |
| | | } |
| | | }; |
| | | struct DDPermission |
| | | struct CDPermission |
| | | { |
| | | char Device_Name[32]; |
| | | char Device_Status[32]; |
| | |
| | | char Work_Time[32]; |
| | | char Manufacturer[100]; |
| | | char Devices_Type[32]; |
| | | double Longitude; |
| | | double Latitude; |
| | | }; |
| | | struct DDRes |
| | | struct CDRes |
| | | { |
| | | Head head; |
| | | |
| | | DDPermission per; |
| | | DDRes() { |
| | | head.type = DD_Res; |
| | | head.len = sizeof(DDRes); |
| | | char Device_Status[32]; |
| | | int status; |
| | | CDPermission per; |
| | | CDRes() { |
| | | head.type = CD_Res; |
| | | head.len = sizeof(CDRes); |
| | | } |
| | | }; |
| | | |
| | |
| | | char Work_Time[32]; |
| | | char Manufacturer[100]; |
| | | char Devices_Type[32]; |
| | | double Longitude; |
| | | double Latitude; |
| | | }; |
| | | struct PDRes |
| | | { |
| | | Head head; |
| | | |
| | | char Device_Status[32]; |
| | | char Work_Time[32]; |
| | | int status; |
| | | PDPermission per; |
| | | PDRes() { |
| | | head.type = PD_Res; |