资源简介

可以通过上位机控制8路继电器,直接提供的源码,稍加改动,可以进行自己的项目

资源截图

代码片段和文件信息

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

namespace SampleDemo
{
    class Datasolve
    {
        private String datasourse;

        public String Datasourse
        {
            get { return datasourse; }
            set { datasourse = value; }
        }
        private String nodeID;
        private String value;

        public String Value
        {
            get { return this.value; }
            set { this.value = value; }
        }

        public String NodeID
        {
            get { return nodeID; }
            set { nodeID = value; }
        }
        private String values;

        public String Values
        {
            get { return values; }
            set { values = value; }
        }
        //0.01 * d-39.66;-2.8 * 0.000001 * d * d + 0.0405 * d - 4
        public void datasole(String temp)
        {
            if (temp.Length >= 44)
            {
                String[] temps = temp.Split(‘‘);
                nodeID = temps[9];
                datasourse = ““;
            }
        }
        
     
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-01-02 14:09  智能采集和控制\
     目录           0  2015-01-02 14:09  智能采集和控制\SampleDemo\
     文件        1152  2015-01-02 14:08  智能采集和控制\SampleDemo\Datasolve.cs
     文件       25737  2015-01-02 14:08  智能采集和控制\SampleDemo\Form1.Designer.cs
     文件       15107  2015-01-02 14:08  智能采集和控制\SampleDemo\Form1.cs
     文件        6790  2015-01-02 14:08  智能采集和控制\SampleDemo\Form1.resx
     文件         491  2015-01-02 14:08  智能采集和控制\SampleDemo\Program.cs
     目录           0  2015-01-02 14:09  智能采集和控制\SampleDemo\Properties\
     文件        1376  2015-01-02 14:08  智能采集和控制\SampleDemo\Properties\AssemblyInfo.cs
     文件        2870  2015-01-02 14:08  智能采集和控制\SampleDemo\Properties\Resources.Designer.cs
     文件        5612  2015-01-02 14:08  智能采集和控制\SampleDemo\Properties\Resources.resx
     文件        1095  2015-01-02 14:08  智能采集和控制\SampleDemo\Properties\Settings.Designer.cs
     文件         249  2015-01-02 14:08  智能采集和控制\SampleDemo\Properties\Settings.settings
     文件        3719  2015-01-02 14:08  智能采集和控制\SampleDemo\SampleDemo.csproj
     目录           0  2015-01-02 14:09  智能采集和控制\SampleDemo\bin\
     目录           0  2015-01-02 14:09  智能采集和控制\SampleDemo\bin\Debug\
     文件       23552  2015-01-02 14:08  智能采集和控制\SampleDemo\bin\Debug\SampleDemo.exe
     文件       46592  2015-01-02 14:08  智能采集和控制\SampleDemo\bin\Debug\SampleDemo.pdb
     文件       11600  2015-01-02 14:08  智能采集和控制\SampleDemo\bin\Debug\SampleDemo.vshost.exe
     文件         490  2015-01-02 14:08  智能采集和控制\SampleDemo\bin\Debug\SampleDemo.vshost.exe.manifest
     目录           0  2015-01-02 14:09  智能采集和控制\SampleDemo\obj\
     目录           0  2015-01-02 14:09  智能采集和控制\SampleDemo\obj\x86\
     目录           0  2015-01-02 14:09  智能采集和控制\SampleDemo\obj\x86\Debug\
     文件        4440  2015-01-02 14:08  智能采集和控制\SampleDemo\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        6411  2015-01-02 14:08  智能采集和控制\SampleDemo\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件         972  2015-01-02 14:08  智能采集和控制\SampleDemo\obj\x86\Debug\GenerateResource.read.1.tlog
     文件        2278  2015-01-02 14:08  智能采集和控制\SampleDemo\obj\x86\Debug\GenerateResource.write.1.tlog
     文件        7897  2015-01-02 14:08  智能采集和控制\SampleDemo\obj\x86\Debug\ResolveAssemblyReference.cache
     文件         180  2015-01-02 14:08  智能采集和控制\SampleDemo\obj\x86\Debug\SampleDemo.Form1.resources
     文件         180  2015-01-02 14:08  智能采集和控制\SampleDemo\obj\x86\Debug\SampleDemo.Properties.Resources.resources
     文件        3225  2015-01-02 14:08  智能采集和控制\SampleDemo\obj\x86\Debug\SampleDemo.csproj.FileListAbsolute.txt
............此处省略5个文件信息

评论

共有 条评论