• 大小: 0.55M
    文件类型: .zip
    金币: 2
    下载: 26 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 1500  PLC  C#  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using S7.Net;

namespace WindowsFormsApp1
{
    public partial class Form1 : Form
    {
        //定义PLC类型
        Plc S71500;      
        public Form1()
        {
            InitializeComponent();
           
        }
        private void Form1_Load(object sender EventArgs e)
        {

            //下拉框添加数据类型项
            Data_Type.Items.Add(“Bool“);
            Data_Type.Items.Add(“Int“);
            Data_Type.Items.Add(“DInt“);
            Data_Type.Items.Add(“Real“);
            Data_Type.Text = “Real“;

            //使能、禁止按钮操作
          

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2020-05-24 11:48  S7_1500_Test\
     目录           0  2020-05-24 11:48  S7_1500_Test\.vs\
     目录           0  2020-05-24 11:48  S7_1500_Test\.vs\S7_1500_Test\
     目录           0  2020-05-24 11:48  S7_1500_Test\.vs\S7_1500_Test\v14\
     文件       50688  2019-02-18 23:11  S7_1500_Test\.vs\S7_1500_Test\v14\.suo
     目录           0  2020-05-24 11:48  S7_1500_Test\.vs\S7_1500_Test\v15\
     文件       60416  2020-05-30 21:42  S7_1500_Test\.vs\S7_1500_Test\v15\.suo
     目录           0  2020-05-24 11:48  S7_1500_Test\.vs\S7_1500_Test\v15\Server\
     目录           0  2020-05-30 21:42  S7_1500_Test\.vs\S7_1500_Test\v15\Server\sqlite3\
     文件           0  2018-09-20 11:27  S7_1500_Test\.vs\S7_1500_Test\v15\Server\sqlite3\db.lock
     文件      643072  2020-05-30 21:42  S7_1500_Test\.vs\S7_1500_Test\v15\Server\sqlite3\storage.ide
     文件        1136  2018-09-20 13:47  S7_1500_Test\S7_1500_Test.sln
     文件       24064  2019-01-15 20:43  S7_1500_Test\S7_1500_Test.v12.suo
     目录           0  2020-05-30 20:08  S7_1500_Test\WindowsFormsApp1\
     文件         189  2018-09-20 11:27  S7_1500_Test\WindowsFormsApp1\App.config
     文件       14490  2018-09-20 17:06  S7_1500_Test\WindowsFormsApp1\Form1.Designer.cs
     文件        5715  2020-05-30 20:08  S7_1500_Test\WindowsFormsApp1\Form1.cs
     文件        5817  2018-09-20 17:06  S7_1500_Test\WindowsFormsApp1\Form1.resx
     文件         543  2018-09-20 11:42  S7_1500_Test\WindowsFormsApp1\Program.cs
     目录           0  2020-05-24 11:48  S7_1500_Test\WindowsFormsApp1\Properties\
     文件        1348  2018-09-20 11:27  S7_1500_Test\WindowsFormsApp1\Properties\AssemblyInfo.cs
     文件        2845  2018-09-20 11:27  S7_1500_Test\WindowsFormsApp1\Properties\Resources.Designer.cs
     文件        5612  2018-09-20 11:27  S7_1500_Test\WindowsFormsApp1\Properties\Resources.resx
     文件        1103  2018-09-20 11:27  S7_1500_Test\WindowsFormsApp1\Properties\Settings.Designer.cs
     文件         249  2018-09-20 11:27  S7_1500_Test\WindowsFormsApp1\Properties\Settings.settings
     文件        3844  2018-09-20 13:47  S7_1500_Test\WindowsFormsApp1\S7_1500_Test.csproj
     目录           0  2020-05-28 20:31  S7_1500_Test\WindowsFormsApp1\bin\
     目录           0  2020-05-24 11:48  S7_1500_Test\WindowsFormsApp1\bin\Debug\
     文件       65536  2018-07-11 21:00  S7_1500_Test\WindowsFormsApp1\bin\Debug\S7.Net.dll
     文件       21424  2018-07-11 21:00  S7_1500_Test\WindowsFormsApp1\bin\Debug\S7.Net.pdb
     文件       15360  2020-05-30 20:08  S7_1500_Test\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe
............此处省略39个文件信息

评论

共有 条评论