登录
首页 » C# » c# MODBUS协议 上位机

c# MODBUS协议 上位机

于 2015-08-12 发布
0 127
下载积分: 1 下载次数: 1

代码说明:

c# MODBUS协议 上位机

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 多种c#开发的仪表盘
    多种c#开发的仪表盘
    2017-05-12下载
    积分:1
  • C# 套打Demo
    套打Demo 【核心代码】using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Drawing.Printing;namespace Print_Demo{ public partial class Form1 : Form { public PrintDocument printDt = new PrintDocument(); //打印文档对象 Font printFont; //打印使用的字体 public Form1() { InitializeComponent(); } void printDt_PrintPage(object sender, PrintPageEventArgs e) { float pointX = 10; float pointY = 10; e.Graphics.DrawString("打印内容", new Font("宋体", 16F), Brushes.Black, pointX 60, pointY); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 26,pointX 300,pointY 26); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 35); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 56, pointX 300, pointY 56); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 65); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 86, pointX 300, pointY 86); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 95); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 116, pointX 300, pointY 116); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 125); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 146, pointX 300, pointY 146); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 155); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 176, pointX 300, pointY 176); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 185); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 206, pointX 300, pointY 206); e.Graphics.DrawString("检测结果", printFont, Brushes.Black, pointX, pointY 233); e.Graphics.DrawString("通过", new Font("宋体",22F,FontStyle.Bold), Brushes.Black, pointX 90, pointY 225); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 265, pointX 300, pointY 265); e.Graphics.DrawString("单位名称", printFont, Brushes.Black, pointX, pointY 275); } private void Form1_Load(object sender, EventArgs e) { printDt.PrintPage = new PrintPageEventHandler(printDt_PrintPage); printFont = new Font("宋体", 12F); } private void btnPrint_Click(object sender, EventArgs e) { //PrintDialog printDlg = new PrintDialog(); //printDlg.Document = printDt; //printDlg.AllowPrintToFile = true; //printDlg.AllowCurrentPage = true; //printDlg.AllowSelection = true; //printDlg.ShowDialog(); //printDlg.ShowDialog(); printDt.Print(); } private void btnLook_Click(object sender, EventArgs e) { PrintPreviewDialog printPreview = new PrintPreviewDialog(); printPreview.PrintPreviewControl.Document = printDt; printPreview.ShowDialog(this); } }}
    2021-05-06下载
    积分:1
  • WinForm实现文件的压缩和解压,并思考解压时如何恢复当初的文件名。
    WinForm实现文件的压缩和解压,并思考解压时如何恢复当初的文件名。
    2020-06-04下载
    积分:1
  • C# 7.0 in a Nutshell果壳C#.pdf
    C# 7.0 in a Nutshell果壳C#.pdf
    2020-03-27下载
    积分:1
  • C# 异常处理常用示例源码
    除零异常、空引用、自定义异常示例,适合刚入门的同学学习
    2013-02-13下载
    积分:1
  • p2p文件传输
    p2p文件传输
    2013-12-24下载
    积分:1
  • wpf 带音提示的通讯录实例源码(mvvm)
    wpf 带语音提示的通讯录实例源码(mvvm)
    2018-05-14下载
    积分:1
  • sha256源代码
    sha256源代码
    2020-12-11下载
    积分:1
  • C#图书管理系统(源代码+数据库+系统流程图)
    本课题主要的任务是实现图书管理的系统化、规范化和自动化,实现对图书资料的集中统一的管理。本系统主要实现对图书馆信息的管理,主要功能为管理有关读者、图书、借阅、查询、删除和管理员的信息等。 (1)   管理员对功能的需求: l  图书的入库、查询、修改、删除 l  注册读者的查询、删除、添加 l  借书还书管理 l  借阅情况的查询 (2)   读者对功能的需求: l  普通读者对图书信息的浏览、查询 l  个人信息的修改 l  借书还书登记 l  借阅记录查询
    2021-05-06下载
    积分:1
  • C# 单机网络监听 实例源码
    可实现本机TCP or udp网络监听
    2014-11-17下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载