生产线综合自动化控制系统源代码

上传人:laiq****ong 文档编号:62169542 上传时间:2022-03-14 格式:DOC 页数:58 大小:226KB
收藏 版权申诉 举报 下载
生产线综合自动化控制系统源代码_第1页
第1页 / 共58页
生产线综合自动化控制系统源代码_第2页
第2页 / 共58页
生产线综合自动化控制系统源代码_第3页
第3页 / 共58页
资源描述:

《生产线综合自动化控制系统源代码》由会员分享,可在线阅读,更多相关《生产线综合自动化控制系统源代码(58页珍藏版)》请在装配图网上搜索。

1、高信生产线综合自动化控制系统 源代码/*/*设备管理 类 /*/using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Med

2、ia.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.IO;public partial class Equipmentmanagement/ Check attributes/ / (c) 1998-2000 (W3C) MIT, INRIA, Keio University/ See HtmlParser.cs for the copyright notice./ Derived from / HTML HtmlParser Release 4 Aug 2000/ / Dave

3、 Raggett <dsrw3.org>/ Andy Quick <ac.quicksympatico.ca> (translation to Java)/ Seth Yates <seth_yates> (translation to C#)/ 1.0, 1999/05/22/ 1.0.1, 1999/05/29/ 1.1, 1999/06/18 Java Bean/ 1.2, 1999/07/10 HtmlParser Release 7 Jul 1999/ 1.3, 1999/07/30 HtmlParser Release 26 Jul 1999/

4、1.4, 1999/09/04 DOM support/ 1.5, 1999/10/23 HtmlParser Release 27 Sep 1999/ 1.6, 1999/11/01 HtmlParser Release 22 Oct 1999/ 1.7, 1999/12/06 HtmlParser Release 30 Nov 1999/ 1.8, 2000/01/22 HtmlParser Release 13 Jan 2000/ 1.9, 2000/06/03 HtmlParser Release 30 Apr 2000/ 1.10, 2000/07/22 HtmlParser Rel

5、ease 8 Jul 2000/ 1.11, 2000/08/16 HtmlParser Release 4 Aug 2000internal class AreaCheckTableCheckAttribs : ICheckAttribspublic virtual void Check(Lexer lexer, Node node)AttVal attval;Attribute attribute;bool hasAlt = false;bool hasHref = false;node.CheckUniqueAttributes(lexer);for (attval = node.Att

6、ributes; attval != null; attval = attval.Next)attribute = attval.CheckAttribute(lexer, node);if (attribute = AttributeTable.AttrAlt)hasAlt = true;else if (attribute = AttributeTable.AttrHref)hasHref = true;if (!hasAlt)lexer.badAccess |= Report.MISSING_LINK_ALT;Report.AttrError(lexer, node, alt, Repo

7、rt.MISSING_ATTRIBUTE);if (!hasHref)Report.AttrError(lexer, node, href, Report.MISSING_ATTRIBUTE);/*/*设备添加 类/*/using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;

8、using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.IO;public partial class Equipmenttoadd / This class holds the event arguments collected when the ItemClick RoutedEvent is raised. Descript

9、ion(This class holds the event arguments collected when the ItemClick RoutedEvent is raised.)public class ChartItemClickEventArgs : RadRoutedEventArgs/ Initializes a new instance of the class./ The routed event.Description(Initializes a new instance of the ChartItemClickEventArgs class.)public Chart

10、ItemClickEventArgs(RoutedEvent routedEvent): base(routedEvent)/ Initializes a new instance of the class./ The routed event identifier for this instance of the class./ An alternate source that will be reported when the event is handled. This pre-populates the property.Description(Initializes a new in

11、stance of the ChartItemClickEventArgs class.)public ChartItemClickEventArgs(RoutedEvent routedEvent, IChartItem source): base(routedEvent, source)this.DataPoint = source.DataPoint;this.DataSeries = source.DataSeries; / Initializes a new instance of the class. / The routed event. / The source. / The

12、instance containing the event data. Description(Initializes a new instance of the ChartItemClickEventArgs class.) public ChartItemClickEventArgs(RoutedEvent routedEvent, IChartItem source, MouseEventArgs mouseData) : this(routedEvent, source) this.MouseData = mouseData; / Initializes a new instance

13、of the class. / The routed event. / The source. / The data point. / The instance containing the event data. Description(Initializes a new instance of the ChartItemClickEventArgs class.) public ChartItemClickEventArgs(RoutedEvent routedEvent, IChartItem source, DataPoint dataPoint, MouseEventArgs mou

14、seData) : this(routedEvent, source) this.DataPoint = dataPoint; this.MouseData = mouseData; / Gets or sets the data point associated with the series item./ The data point.Description(Gets or sets the data point associated with the series item.)public DataPoint DataPointget;private set;/ Gets or sets

15、 the data series associated with the series item./ The data series.Description(Gets or sets the data series.)public DataSeries DataSeriesget;private set; / Gets or sets the mouse data. / The mouse data. Description(Gets or sets the mouse data.) public MouseEventArgs MouseData get; private set; / Get

16、s or sets the index of the associated series item.Description(Gets or sets the index of the associated series item.)public int ItemIndexgetreturn this.DataSeries.IndexOf(this.DataPoint);/*/*设备维修 类/*/using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Window

17、s;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.IO;public partial class Equipmentmaintenance / Th

18、is class holds the event arguments collected when the DataBinding event is raised. Description(This class holds the event arguments collected when the DataBinding event is raised.) public class ChartDataBindingEventArgs : EventArgs internal static new readonly ChartDataBindingEventArgs Empty = new C

19、hartDataBindingEventArgs(); / Initializes a new instance of the class. Description(Initializes a new instance of the ChartDataBindingEventArgs class.) internal ChartDataBindingEventArgs() /*/*设备信息导入 类/*/using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Wi

20、ndows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.IO;public partial class Importequipmentinform

21、ation / Provides localization. public class RadToolStripLocalizationProvider public static event EventHandler CurrentProviderChanged; private static void OnCurrentProviderChanged() if (RadToolStripLocalizationProvider.CurrentProviderChanged != null) RadToolStripLocalizationProvider.CurrentProviderCh

22、anged( RadToolStripLocalizationProvider.CurrentProviderChanged, EventArgs.Empty); private static RadToolStripLocalizationProvider currentLocalizationProvider = RadToolStripLocalizationProvider.CreateDefaultLocalizationProvider(); / Gets or sets the current localization provider. Browsable(false) pub

23、lic static RadToolStripLocalizationProvider CurrentProvider get return RadToolStripLocalizationProvider.currentLocalizationProvider; set if (value = null) RadToolStripLocalizationProvider.currentLocalizationProvider = RadToolStripLocalizationProvider.CreateDefaultLocalizationProvider(); else RadTool

24、StripLocalizationProvider.currentLocalizationProvider = value; RadToolStripLocalizationProvider.OnCurrentProviderChanged(); public static RadToolStripLocalizationProvider CreateDefaultLocalizationProvider() return new RadToolStripLocalizationProvider(); / Gets a CultureInfo object corresponding to t

25、he current localization provider. public virtual CultureInfo Culture get return CultureInfo.CreateSpecificCulture(en-US); public virtual string GetLocalizationString(RadToolStripLocalizationStringId localizationString) switch (localizationString) case RadToolStripLocalizationStringId.CloseButton: re

26、turn Close; case RadToolStripLocalizationStringId.ResetButton: return Reset; case RadToolStripLocalizationStringId.ToolBarsTabItem: return Toolbars; case RadToolStripLocalizationStringId.CustomizeDialogCaption: return Customize; case RadToolStripLocalizationStringId.AddorRemoveButtons: return Add or

27、 Remove Buttons; case RadToolStripLocalizationStringId.NoTextAssociated: return No Text Associated; case RadToolStripLocalizationStringId.ResetToolBar: return Reset Toolbar; case RadToolStripLocalizationStringId.Customize: return Customize; case RadToolStripLocalizationStringId.ResetToolBarsAlertMes

28、sage: return Are you really sure that you want to reset the toolbars?; return string.Empty; /*/*系统控制 类/*/using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using

29、 System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.IO;public partial class Systemcontrol / Describes an interval in time. public interface IPeriodSpan / Gets the end date. / The end date. DateTi

30、me EndDate get; / Gets the interval between and . / The interval. TimeSpan Interval get; / Gets the start date. / The start date. DateTime StartDate get; /*/*工作状态管理 类/*/using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Control

31、s;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.IO;public partial class Statemanagementwork / Required designer variable. priva

32、te System.ComponentModel.IContainer components = null; / Clean up any resources being used. / true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) if (disposing & (components != null) components.Dispose(); base.Dispose(disposing); #region Co

33、mponent Designer generated code / Required method for Designer support - do not modify / the contents of this method with the code editor. private void InitializeComponent() this.radListBox1 = new Telerik.WinControls.UI.RadListControl(); this.radListBoxItem1 = new Telerik.WinControls.UI.RadListDataI

34、tem(); this.radListBoxItem2 = new Telerik.WinControls.UI.RadListDataItem(); this.radListBoxItem3 = new Telerik.WinControls.UI.RadListDataItem(); this.radListBoxItem5 = new Telerik.WinControls.UI.RadListDataItem(); this.radListBox2 = new Telerik.WinControls.UI.RadListControl(); this.radButton1 = new

35、Telerik.WinControls.UI.RadButton(); this.radButton2 = new Telerik.WinControls.UI.RadButton(); this.radButton3 = new Telerik.WinControls.UI.RadButton(); this.radButton4 = new Telerik.WinControls.UI.RadButton(); this.radButton7 = new Telerik.WinControls.UI.RadButton(); this.radButton8 = new Telerik.Wi

36、nControls.UI.RadButton(); this.radButton5 = new Telerik.WinControls.UI.RadButton(); this.radButton6 = new Telerik.WinControls.UI.RadButton(); this.radPanelDemoHolder = new Telerik.WinControls.UI.RadPanel(); this.radPanel1 = new Telerik.WinControls.UI.RadPanel(); (System.ComponentModel.ISupportInitia

37、lize)(this.settingsPanel).BeginInit(); (System.ComponentModel.ISupportInitialize)(this.radListBox1).BeginInit(); (System.ComponentModel.ISupportInitialize)(this.radListBox2).BeginInit(); (System.ComponentModel.ISupportInitialize)(this.radButton1).BeginInit(); (System.ComponentModel.ISupportInitializ

38、e)(this.radButton2).BeginInit(); (System.ComponentModel.ISupportInitialize)(this.radButton3).BeginInit(); (System.ComponentModel.ISupportInitialize)(this.radButton4).BeginInit(); (System.ComponentModel.ISupportInitialize)(this.radButton7).BeginInit(); (System.ComponentModel.ISupportInitialize)(this.

39、radButton8).BeginInit(); (System.ComponentModel.ISupportInitialize)(this.radButton5).BeginInit(); (System.ComponentModel.ISupportInitialize)(this.radButton6).BeginInit(); (System.ComponentModel.ISupportInitialize)(this.radPanelDemoHolder).BeginInit(); this.radPanelDemoHolder.SuspendLayout(); (System

40、.ComponentModel.ISupportInitialize)(this.radPanel1).BeginInit(); this.radPanel1.SuspendLayout(); this.SuspendLayout(); / / settingsPanel / this.settingsPanel.ForeColor = System.Drawing.Color.Black; this.settingsPanel.Location = new System.Drawing.Point(1023, 1); / / / this.settingsPanel.RootElement.

41、ForeColor = System.Drawing.Color.Black; this.settingsPanel.Size = new System.Drawing.Size(200, 818); this.settingsPanel.ThemeName = ControlDefault; / / radListBox1 / this.radListBox1.FormatString = 0; this.radListBox1.Items.AddRange(new Telerik.WinControls.UI.RadListDataItem this.radListBoxItem1, th

42、is.radListBoxItem2, this.radListBoxItem3, this.radListBoxItem5); this.radListBox1.Location = new System.Drawing.Point(45, 176); this.radListBox1.Name = radListBox1; / / / this.radListBox1.Size = new System.Drawing.Size(255, 255); this.radListBox1.TabIndex = 1; (Telerik.WinControls.UI.RadListElement)

43、(this.radListBox1.GetChildAt(0).Font = new System.Drawing.Font(Segoe Print, 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, (byte)(204); (Telerik.WinControls.UI.RadListElement)(this.radListBox1.GetChildAt(0).BackColor = System.Drawing.Color.White; (Telerik.WinControls.UI.RadLi

44、stElement)(this.radListBox1.GetChildAt(0).Opacity = 0.8; / / radListBoxItem1 / this.radListBoxItem1.Image = global:Telerik.Examples.WinControls.Properties.Resources.lb_m4; this.radListBoxItem1.Text = Tuna Salad; this.radListBoxItem1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBef

45、oreText; / / radListBoxItem2 / this.radListBoxItem2.Image = global:Telerik.Examples.WinControls.Properties.Resources.lb_m3; this.radListBoxItem2.Text = Grilled Salmon ; this.radListBoxItem2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; / / radListBoxItem3 / this.radListBoxItem3.Image = global:Telerik.Examples.WinControls.Properties.Resources.lb_m2; this.radListBoxItem3.Text = Sashimi Salad; this.radListBoxItem3.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; / / radListBoxItem5 / this.radListBoxItem5.Image = g

展开阅读全文
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!