• 大小: 6.22M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2024-06-15
  • 语言: C#
  • 标签: demo  POST  http  GET  POS  

资源简介

C# HTTP Get Post Demo

上位机跟Web服务器 http get post通讯

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HTTP_Demo
{
   public class Box
    {
        public string boxNo { get; set; }
        public string boxStatus { get; set; }
        public string boxUseStatus { get; set; }
        public string boxOperateType { get; set; }
        public string boxOperatePerson { get; set; }
        public string boxOperatePersonName { get; set; }
        public string boxOperateTime { get; set; }
        public string equipType { get; set; }
        public string deviceNo { get; set; }
        public string deviceMac { get; set; }
        public string toolStatus { get; set; }
        public string toolOperateStatus { get; set; }
        public string tooleOperatePerson { get; set; }
        public string tooleOperatePersonName { get; set; }
        public string toolOperateTime { get; set; }
        public string toolCpuRam { get; set; }
        public string toolCpuRate { get; set; }
        public string toolRom { get; set; }
        public string toolBatteryTag { get; set; }
        public string toolChargeA { get; set; }
        public string toolChargeV { get; set; }
        public string toolChargeQuantity { get; set; }
        public string toolChargePercent { get; set; }
        public string toolChargeState { get; set; }
        public string toolFaultType { get; set; }
        public string toolFaultDescription { get; set; }
        public string toolFaultReason { get; set; }
        public string cabinetWlanRate { get; set; }
        public string cabinetPower { get; set; }
  
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2021-07-19 16:29  HTTP_Demo\
     目录           0  2021-07-19 16:29  HTTP_Demo\.vs\
     目录           0  2021-06-25 17:34  HTTP_Demo\.vs\HTTP_Demo\
     目录           0  2021-06-25 17:34  HTTP_Demo\.vs\HTTP_Demo\v15\
     文件       51200  2021-04-20 17:54  HTTP_Demo\.vs\HTTP_Demo\v15\.suo
     目录           0  2021-06-25 17:34  HTTP_Demo\.vs\HTTP_Demo\v15\Server\
     目录           0  2021-06-25 17:34  HTTP_Demo\.vs\HTTP_Demo\v15\Server\sqlite3\
     文件           0  2020-06-17 15:20  HTTP_Demo\.vs\HTTP_Demo\v15\Server\sqlite3\db.lock
     文件      630784  2020-06-30 09:58  HTTP_Demo\.vs\HTTP_Demo\v15\Server\sqlite3\storage.ide
     文件       32768  2021-04-20 17:52  HTTP_Demo\.vs\HTTP_Demo\v15\Server\sqlite3\storage.ide-shm
     文件     4132392  2021-04-20 17:55  HTTP_Demo\.vs\HTTP_Demo\v15\Server\sqlite3\storage.ide-wal
     目录           0  2021-06-25 17:34  HTTP_Demo\.vs\HTTP_Demo\v16\
     文件       99328  2021-07-19 16:22  HTTP_Demo\.vs\HTTP_Demo\v16\.suo
     目录           0  2021-06-25 17:34  HTTP_Demo\.vs\HTTP_Demo\v16\Server\
     目录           0  2021-06-25 17:34  HTTP_Demo\.vs\HTTP_Demo\v16\Server\sqlite3\
     文件           0  2020-07-01 20:51  HTTP_Demo\.vs\HTTP_Demo\v16\Server\sqlite3\db.lock
     文件      655360  2020-12-08 09:47  HTTP_Demo\.vs\HTTP_Demo\v16\Server\sqlite3\storage.ide
     目录           0  2021-07-19 16:29  HTTP_Demo\.vs\HTTP_Demook\
     目录           0  2021-07-19 16:34  HTTP_Demo\.vs\HTTP_Demook\v16\
     文件       57344  2021-10-26 15:42  HTTP_Demo\.vs\HTTP_Demook\v16\.suo
     目录           0  2021-10-26 15:25  HTTP_Demo\HTTP_Demo\
     文件         187  2020-06-17 15:20  HTTP_Demo\HTTP_Demo\App.config
     文件        1681  2021-06-28 14:38  HTTP_Demo\HTTP_Demo\Box.cs
     文件       15210  2021-06-28 15:03  HTTP_Demo\HTTP_Demo\Demo.Designer.cs
     文件        7905  2021-07-07 15:11  HTTP_Demo\HTTP_Demo\Demo.cs
     文件        6747  2021-06-28 15:03  HTTP_Demo\HTTP_Demo\Demo.resx
     文件       27233  2021-10-26 15:22  HTTP_Demo\HTTP_Demo\Frm_Main.Designer.cs
     文件       28827  2021-10-26 15:25  HTTP_Demo\HTTP_Demo\Frm_Main.cs
     文件        6179  2021-10-26 15:22  HTTP_Demo\HTTP_Demo\Frm_Main.resx
     文件         391  2021-07-08 16:12  HTTP_Demo\HTTP_Demo\GetRecord.cs
     文件        5153  2021-07-14 08:45  HTTP_Demo\HTTP_Demo\HTTP_Demo.csproj
............此处省略91个文件信息

评论

共有 条评论