• 大小: 2.96M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 采集  c    

资源简介

使用串口、正则表达式和数据IO卡与PLC同步采集LCR测试仪的测试数据

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
//using CCWin;
using UniDAQ_Ns;
namespace _13350LogSaver
{
    public partial class frmMain : Form
    {

        IniFile ini = new IniFile(“Setting.ini“);
        bool Parse5435ok = false;

        public string Device1_Comport { get { return ini.GetString(“Device1“ “Comport“ ““); } set { ini.WriteValue(“Device1“ “Comport“ value); } }
        public string Device1_BaudRate { get { return ini.GetString(“Device1“ “BaudRate“ ““); } set { ini.WriteValue(“Device1“ “BaudRate“ value); } }
        public string Device2_Comport { get { return ini.GetString(“Device2“ “Comport“ ““); } set 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-02-17 15:10  13350LogSaver\
     目录           0  2017-02-17 08:04  13350LogSaver\.vs\
     目录           0  2017-02-17 08:04  13350LogSaver\.vs\13350LogSaver\
     目录           0  2017-02-17 08:06  13350LogSaver\.vs\13350LogSaver\v14\
     文件       23552  2017-02-17 08:06  13350LogSaver\.vs\13350LogSaver\v14\.suo
     目录           0  2017-02-17 08:02  13350LogSaver\13350LogSaver\
     文件        5758  2017-02-17 08:02  13350LogSaver\13350LogSaver\DataServer.csproj
     目录           0  2017-02-17 08:03  13350LogSaver\13350LogSaver\Debug\
     文件       16896  2017-02-17 08:02  13350LogSaver\13350LogSaver\Debug\13350LogSaver.exe
     文件         144  2017-02-17 08:02  13350LogSaver\13350LogSaver\Debug\13350LogSaver.exe.config
     文件       40448  2017-02-17 08:02  13350LogSaver\13350LogSaver\Debug\13350LogSaver.pdb
     文件       22472  2017-02-17 08:02  13350LogSaver\13350LogSaver\Debug\13350LogSaver.vshost.exe
     文件         144  2017-02-17 08:02  13350LogSaver\13350LogSaver\Debug\13350LogSaver.vshost.exe.config
     文件         490  2017-02-17 08:02  13350LogSaver\13350LogSaver\Debug\13350LogSaver.vshost.exe.manifest
     文件     2738176  2017-02-17 08:03  13350LogSaver\13350LogSaver\Debug\CSkin.dll
     文件     3274240  2017-02-17 08:03  13350LogSaver\13350LogSaver\Debug\DevComponents.DotNetBar2.dll
     文件         166  2017-02-17 08:02  13350LogSaver\13350LogSaver\Debug\Setting-.ini
     文件       26947  2017-02-17 08:02  13350LogSaver\13350LogSaver\IniFile.cs
     文件        3964  2017-02-17 08:02  13350LogSaver\13350LogSaver\LogSaver.cs
     文件        3965  2017-02-17 08:19  13350LogSaver\13350LogSaver\Parser13350.cs
     文件        2651  2017-02-17 08:02  13350LogSaver\13350LogSaver\Parser5435.cs
     文件         497  2017-02-17 08:02  13350LogSaver\13350LogSaver\Program.cs
     目录           0  2017-02-17 08:02  13350LogSaver\13350LogSaver\Properties\
     文件        1362  2017-02-17 08:02  13350LogSaver\13350LogSaver\Properties\AssemblyInfo.cs
     文件        2858  2017-02-17 08:02  13350LogSaver\13350LogSaver\Properties\Resources.Designer.cs
     文件        5612  2017-02-17 08:02  13350LogSaver\13350LogSaver\Properties\Resources.resx
     文件        1107  2017-02-17 08:02  13350LogSaver\13350LogSaver\Properties\Settings.Designer.cs
     文件         249  2017-02-17 08:02  13350LogSaver\13350LogSaver\Properties\Settings.settings
     文件       16064  2017-02-17 08:02  13350LogSaver\13350LogSaver\SerialPortUtil.cs
     文件       22072  2017-02-17 08:02  13350LogSaver\13350LogSaver\UniDAQ.cs
     文件         144  2017-02-17 08:02  13350LogSaver\13350LogSaver\app.config
............此处省略39个文件信息

评论

共有 条评论