C#波形控件升级版

上传者: lhk791995123126 | 上传时间: 2021-08-17 17:00:07 | 文件大小: 324KB | 文件类型: ZIP
在项目程序设计的过程中,由于要求比较苛刻,这个波形控件的功能有点不能满足我的需求,于是在一个风雷交加的晚上,我暗暗下定决心,面对这座大山进行代码的修改。到目前为止,我对这个控件做出来了多处修改,具体修改内容如下: (1)修改了“默认坐标范围”的功能,它现在表示在接收数据的时候,横坐标范围不变,波形图像一直向左平移,且波形的结尾处一直处于波形控件的右边。 (2)简化了放大波形的过程,添加了波形缩小的功能。 (3) 添加了波形拖动的功能,可以很方便的查看历史记录。 (4)添加显示曲线坐标的功能,可以很方便的显示出曲线上某一点的实际坐标,matlab风格的。 (5)添加了截图的功能。 (6) 添加了清屏的按钮。 (7)支持文件内容的读取与显示(由于显示风格比较复杂,没有把波形的储存集成到控件本身,需要用外部的程序进行实现,这段代码在下边会详细介绍,代码很简单,容易实现)。 (8)支持纯链表显示(就是原控件的工作模式),纯文件内容显示,链表和文件混合显示,方便对历史波形进行查看。 (9)在显示波形之前,添加了设置波形显示模式的内容,可以方便不同情况下的显示状况(这一点在下边详细介绍,在这里不做解释)。 (10)优化了部分驱动算法,删除了部分没用的代码(可能是楼主调试的时候忘了删除无用代码吧)。

文件下载

资源详情

[{"title":"( 63 个子文件 324KB ) C#波形控件升级版","children":[{"title":"波形控件升级版","children":[{"title":"ZGraph","children":[{"title":"ZGraph.cs <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"ZGraph_FuncPublic.cs <span style='color:#111;'> 16.16KB </span>","children":null,"spread":false},{"title":"ZGraph_ParamPublic.cs <span style='color:#111;'> 11.42KB </span>","children":null,"spread":false},{"title":"ZGraph_Drawing.cs <span style='color:#111;'> 60.39KB </span>","children":null,"spread":false},{"title":"ZGraph.designer.cs <span style='color:#111;'> 36.30KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"ZGraph_ParamPrivate.cs <span style='color:#111;'> 10.05KB </span>","children":null,"spread":false},{"title":"ZGraph_FuncPrivate.cs <span style='color:#111;'> 26.87KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"ZGraph.csproj.FileListAbsolute.txt <span style='color:#111;'> 675B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"ZGraph.csproj.FileListAbsolute.txt <span style='color:#111;'> 7.28KB </span>","children":null,"spread":false},{"title":"Refactor","children":[{"title":"ZGraph.dll <span style='color:#111;'> 13.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Pengpai.UI.ZGraph.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false},{"title":"ZGraph.pdb <span style='color:#111;'> 101.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"ZGraph.csproj.GenerateResource.Cache <span style='color:#111;'> 903B </span>","children":null,"spread":false},{"title":"ZGraph.dll <span style='color:#111;'> 54.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"ZGraph.pdb <span style='color:#111;'> 101.50KB </span>","children":null,"spread":false},{"title":"ZGraph.dll <span style='color:#111;'> 54.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":[{"title":"ZGraph.xml <span style='color:#111;'> 15.51KB </span>","children":null,"spread":false},{"title":"ZGraph.dll <span style='color:#111;'> 52.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ZGraph.csproj <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false},{"title":"ZGraph.resx <span style='color:#111;'> 5.88KB </span>","children":null,"spread":false},{"title":"ZGraph_Menu.cs <span style='color:#111;'> 36.66KB </span>","children":null,"spread":false}],"spread":false},{"title":"更新记录.txt <span style='color:#111;'> 82B </span>","children":null,"spread":false},{"title":"Test","children":[{"title":"Program.cs <span style='color:#111;'> 466B </span>","children":null,"spread":false},{"title":"FormTest.cs <span style='color:#111;'> 39.37KB </span>","children":null,"spread":false},{"title":"FormTest.Designer.cs <span style='color:#111;'> 74.89KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"Test.csproj <span style='color:#111;'> 3.65KB </span>","children":null,"spread":false},{"title":"Test.sln <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"ZGraph.xml <span style='color:#111;'> 15.51KB </span>","children":null,"spread":false},{"title":"Test.suo <span style='color:#111;'> 26.00KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"Test.csprojResolveAssemblyReference.cache <span style='color:#111;'> 6.16KB </span>","children":null,"spread":false},{"title":"Test.pdb <span style='color:#111;'> 55.50KB </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 19.09KB </span>","children":null,"spread":false},{"title":"Test.exe <span style='color:#111;'> 43.50KB </span>","children":null,"spread":false},{"title":"Test.csproj.GenerateResource.Cache <span style='color:#111;'> 978B </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 5.38KB </span>","children":null,"spread":false},{"title":"Test.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Test.FormTest.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Test.csproj.FileListAbsolute.txt <span style='color:#111;'> 4.97KB </span>","children":null,"spread":false}],"spread":false},{"title":"Test.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"UpgradeLog.XML <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"ZGraph.dll <span style='color:#111;'> 52.00KB </span>","children":null,"spread":false},{"title":"FormTest.resx <span style='color:#111;'> 6.07KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"Test.pdb <span style='color:#111;'> 55.50KB </span>","children":null,"spread":false},{"title":"14_00_34.wave <span style='color:#111;'> 312B </span>","children":null,"spread":false},{"title":"Test.exe <span style='color:#111;'> 43.50KB </span>","children":null,"spread":false},{"title":"15_39_36.wave <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Test.vshost.exe <span style='color:#111;'> 11.34KB </span>","children":null,"spread":false},{"title":"ZGraph.pdb <span style='color:#111;'> 101.50KB </span>","children":null,"spread":false},{"title":"ZGraph.xml <span style='color:#111;'> 15.51KB </span>","children":null,"spread":false},{"title":"Test.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"ZGraph.dll <span style='color:#111;'> 54.50KB </span>","children":null,"spread":false},{"title":"16_31_37.wave <span style='color:#111;'> 360B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"ZGraph.suo <span style='color:#111;'> 75.00KB </span>","children":null,"spread":false},{"title":"ZGraph.sln <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明