From d0269de8e05569093149afaeef13c418a45bc356 Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期五, 23 八月 2024 09:59:41 +0800 Subject: [PATCH] 没啥内容 --- WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-/SelXhsValveMainPhartDlg.resx | 123 ++++++++++++ WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-/SelXhsValveMainPhartDlg.cs | 118 +++++++++++ WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/HStation.WinFrmUI.PhartRelation.Core.csproj | 3 WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-/SelXhsValveMainPhartDlg.Designer.cs | 334 +++++++++++++++++++++++++++++++++ 4 files changed, 578 insertions(+), 0 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-/SelXhsValveMainPhartDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-/SelXhsValveMainPhartDlg.Designer.cs new file mode 100644 index 0000000..a5ecc1f --- /dev/null +++ b/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-/SelXhsValveMainPhartDlg.Designer.cs @@ -0,0 +1,334 @@ +锘縩amespace HStation.WinFrmUI.PhartRelation +{ + partial class SelXhsValveMainPhartDlg + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + components = new System.ComponentModel.Container(); + xtrPerform2dChart1 = new Yw.WinFrmUI.Phart.XtrPerform2dChart(); + sidePanel2 = new SidePanel(); + xhsPumpMainPhartListCtrl1 = new XhsPumpMainPhartListCtrl(); + dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); + dockPanelBottom = new DevExpress.XtraBars.Docking.DockPanel(); + dockPanel2_Container = new DevExpress.XtraBars.Docking.ControlContainer(); + layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); + btnOk = new SimpleButton(); + btnCancel = new SimpleButton(); + Root = new DevExpress.XtraLayout.LayoutControlGroup(); + layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); + emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); + dockPanelList = new DevExpress.XtraBars.Docking.DockPanel(); + dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); + dockPanelCenter = new DevExpress.XtraBars.Docking.DockPanel(); + dockPanel5_Container = new DevExpress.XtraBars.Docking.ControlContainer(); + layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); + simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem(); + emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); + sidePanel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)dockManager1).BeginInit(); + dockPanelBottom.SuspendLayout(); + dockPanel2_Container.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); + layoutControl1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)emptySpaceItem2).BeginInit(); + dockPanelList.SuspendLayout(); + dockPanel1_Container.SuspendLayout(); + dockPanelCenter.SuspendLayout(); + dockPanel5_Container.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem6).BeginInit(); + ((System.ComponentModel.ISupportInitialize)simpleLabelItem1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); + SuspendLayout(); + // + // xtrPerform2dChart1 + // + xtrPerform2dChart1.DefinePointVisible = false; + xtrPerform2dChart1.Dock = DockStyle.Fill; + xtrPerform2dChart1.LineVisible = false; + xtrPerform2dChart1.Location = new Point(0, 0); + xtrPerform2dChart1.Name = "xtrPerform2dChart1"; + xtrPerform2dChart1.Size = new Size(823, 480); + xtrPerform2dChart1.TabIndex = 1; + // + // sidePanel2 + // + sidePanel2.Controls.Add(xhsPumpMainPhartListCtrl1); + sidePanel2.Dock = DockStyle.Fill; + sidePanel2.Location = new Point(0, 0); + sidePanel2.Name = "sidePanel2"; + sidePanel2.Size = new Size(234, 480); + sidePanel2.TabIndex = 4; + sidePanel2.Text = "sidePanel2"; + // + // xhsPumpMainPhartListCtrl1 + // + xhsPumpMainPhartListCtrl1.Appearance.BackColor = SystemColors.Control; + xhsPumpMainPhartListCtrl1.Appearance.Options.UseBackColor = true; + xhsPumpMainPhartListCtrl1.Dock = DockStyle.Fill; + xhsPumpMainPhartListCtrl1.Location = new Point(0, 0); + xhsPumpMainPhartListCtrl1.Margin = new Padding(4, 5, 4, 5); + xhsPumpMainPhartListCtrl1.Name = "xhsPumpMainPhartListCtrl1"; + xhsPumpMainPhartListCtrl1.Size = new Size(234, 480); + xhsPumpMainPhartListCtrl1.TabIndex = 0; + // + // dockManager1 + // + dockManager1.DockingOptions.ShowCloseButton = false; + dockManager1.Form = this; + dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { dockPanelBottom, dockPanelList, dockPanelCenter }); + dockManager1.Style = DevExpress.XtraBars.Docking2010.Views.DockingViewStyle.Light; + dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "DevExpress.XtraBars.StandaloneBarDockControl", "System.Windows.Forms.MenuStrip", "System.Windows.Forms.StatusStrip", "System.Windows.Forms.StatusBar", "DevExpress.XtraBars.Ribbon.RibbonStatusBar", "DevExpress.XtraBars.Ribbon.RibbonControl", "DevExpress.XtraBars.Navigation.OfficeNavigationBar", "DevExpress.XtraBars.Navigation.TileNavPane", "DevExpress.XtraBars.TabFormControl", "DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl", "DevExpress.XtraBars.ToolbarForm.ToolbarFormControl" }); + // + // dockPanelBottom + // + dockPanelBottom.Controls.Add(dockPanel2_Container); + dockPanelBottom.Dock = DevExpress.XtraBars.Docking.DockingStyle.Bottom; + dockPanelBottom.FloatVertical = true; + dockPanelBottom.ID = new Guid("85e68b43-5bd2-4223-8601-763cc80ee777"); + dockPanelBottom.Location = new Point(0, 514); + dockPanelBottom.Name = "dockPanelBottom"; + dockPanelBottom.OriginalSize = new Size(200, 243); + dockPanelBottom.Size = new Size(1058, 243); + dockPanelBottom.Text = "姘村姏淇℃伅"; + // + // dockPanel2_Container + // + dockPanel2_Container.Controls.Add(layoutControl1); + dockPanel2_Container.Location = new Point(0, 35); + dockPanel2_Container.Name = "dockPanel2_Container"; + dockPanel2_Container.Size = new Size(1058, 208); + dockPanel2_Container.TabIndex = 0; + // + // layoutControl1 + // + layoutControl1.Controls.Add(btnOk); + layoutControl1.Controls.Add(btnCancel); + layoutControl1.Dock = DockStyle.Fill; + layoutControl1.Location = new Point(0, 0); + layoutControl1.Name = "layoutControl1"; + layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(1585, 453, 975, 600); + layoutControl1.Root = Root; + layoutControl1.Size = new Size(1058, 208); + layoutControl1.TabIndex = 0; + layoutControl1.Text = "layoutControl1"; + // + // btnOk + // + btnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; + btnOk.Appearance.Options.UseBackColor = true; + btnOk.Location = new Point(798, 164); + btnOk.Name = "btnOk"; + btnOk.Size = new Size(122, 32); + btnOk.StyleController = layoutControl1; + btnOk.TabIndex = 0; + btnOk.Text = "纭"; + btnOk.Click += btnOk_Click; + // + // btnCancel + // + btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Danger; + btnCancel.Appearance.Options.UseBackColor = true; + btnCancel.DialogResult = DialogResult.Cancel; + btnCancel.Location = new Point(924, 164); + btnCancel.Name = "btnCancel"; + btnCancel.Size = new Size(122, 32); + btnCancel.StyleController = layoutControl1; + btnCancel.TabIndex = 2; + btnCancel.Text = "鍙栨秷"; + // + // Root + // + Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; + Root.GroupBordersVisible = false; + Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem2, emptySpaceItem2, simpleLabelItem1, emptySpaceItem1 }); + Root.Name = "Root"; + Root.Size = new Size(1058, 208); + Root.TextVisible = false; + // + // layoutControlItem1 + // + layoutControlItem1.Control = btnOk; + layoutControlItem1.Location = new Point(786, 152); + layoutControlItem1.Name = "layoutControlItem1"; + layoutControlItem1.Size = new Size(126, 36); + layoutControlItem1.TextSize = new Size(0, 0); + layoutControlItem1.TextVisible = false; + // + // layoutControlItem2 + // + layoutControlItem2.Control = btnCancel; + layoutControlItem2.Location = new Point(912, 152); + layoutControlItem2.Name = "layoutControlItem2"; + layoutControlItem2.Size = new Size(126, 36); + layoutControlItem2.TextSize = new Size(0, 0); + layoutControlItem2.TextVisible = false; + // + // emptySpaceItem2 + // + emptySpaceItem2.AllowHotTrack = false; + emptySpaceItem2.Location = new Point(0, 152); + emptySpaceItem2.Name = "emptySpaceItem2"; + emptySpaceItem2.Size = new Size(786, 36); + emptySpaceItem2.TextSize = new Size(0, 0); + // + // dockPanelList + // + dockPanelList.Controls.Add(dockPanel1_Container); + dockPanelList.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; + dockPanelList.ID = new Guid("202c2203-fb3a-4b47-a9cb-083c698bd2ac"); + dockPanelList.Location = new Point(0, 0); + dockPanelList.Name = "dockPanelList"; + dockPanelList.OriginalSize = new Size(235, 200); + dockPanelList.Size = new Size(235, 514); + dockPanelList.Text = "鎬ц兘鏇茬嚎"; + // + // dockPanel1_Container + // + dockPanel1_Container.Controls.Add(sidePanel2); + dockPanel1_Container.Location = new Point(0, 34); + dockPanel1_Container.Name = "dockPanel1_Container"; + dockPanel1_Container.Size = new Size(234, 480); + dockPanel1_Container.TabIndex = 0; + // + // dockPanelCenter + // + dockPanelCenter.Controls.Add(dockPanel5_Container); + dockPanelCenter.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; + dockPanelCenter.ID = new Guid("d50b3904-75d7-4d3c-9e26-1cfa6c188a50"); + dockPanelCenter.Location = new Point(235, 0); + dockPanelCenter.Name = "dockPanelCenter"; + dockPanelCenter.OriginalSize = new Size(200, 200); + dockPanelCenter.Size = new Size(823, 514); + dockPanelCenter.Text = "鏇茬嚎瑙嗗浘"; + // + // dockPanel5_Container + // + dockPanel5_Container.Controls.Add(xtrPerform2dChart1); + dockPanel5_Container.Location = new Point(0, 34); + dockPanel5_Container.Name = "dockPanel5_Container"; + dockPanel5_Container.Size = new Size(823, 480); + dockPanel5_Container.TabIndex = 0; + // + // layoutControlItem4 + // + layoutControlItem4.Location = new Point(497, 376); + layoutControlItem4.Name = "layoutControlItem4"; + layoutControlItem4.Size = new Size(105, 38); + layoutControlItem4.TextSize = new Size(0, 0); + layoutControlItem4.TextVisible = false; + // + // layoutControlItem6 + // + layoutControlItem6.Location = new Point(602, 376); + layoutControlItem6.Name = "layoutControlItem6"; + layoutControlItem6.Size = new Size(110, 38); + layoutControlItem6.TextSize = new Size(0, 0); + layoutControlItem6.TextVisible = false; + // + // simpleLabelItem1 + // + simpleLabelItem1.AllowHotTrack = false; + simpleLabelItem1.Location = new Point(0, 0); + simpleLabelItem1.Name = "simpleLabelItem1"; + simpleLabelItem1.Size = new Size(1038, 26); + simpleLabelItem1.Text = "寰呰ˉ鍏�"; + simpleLabelItem1.TextSize = new Size(54, 22); + // + // emptySpaceItem1 + // + emptySpaceItem1.AllowHotTrack = false; + emptySpaceItem1.Location = new Point(0, 26); + emptySpaceItem1.Name = "emptySpaceItem1"; + emptySpaceItem1.Size = new Size(1038, 126); + emptySpaceItem1.TextSize = new Size(0, 0); + // + // SelXhsPumpMainPhartDlg + // + Appearance.BackColor = SystemColors.Control; + Appearance.Options.UseBackColor = true; + AutoScaleDimensions = new SizeF(10F, 22F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(1058, 757); + Controls.Add(dockPanelCenter); + Controls.Add(dockPanelList); + Controls.Add(dockPanelBottom); + IconOptions.ShowIcon = false; + Margin = new Padding(6, 8, 6, 8); + MinimizeBox = false; + Name = "SelXhsPumpMainPhartDlg"; + StartPosition = FormStartPosition.CenterScreen; + sidePanel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)dockManager1).EndInit(); + dockPanelBottom.ResumeLayout(false); + dockPanel2_Container.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); + layoutControl1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)Root).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); + ((System.ComponentModel.ISupportInitialize)emptySpaceItem2).EndInit(); + dockPanelList.ResumeLayout(false); + dockPanel1_Container.ResumeLayout(false); + dockPanelCenter.ResumeLayout(false); + dockPanel5_Container.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem6).EndInit(); + ((System.ComponentModel.ISupportInitialize)simpleLabelItem1).EndInit(); + ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit(); + ResumeLayout(false); + } + + #endregion + private Yw.WinFrmUI.Phart.XtrPerform2dChart xtrPerform2dChart1; + private DevExpress.XtraEditors.SidePanel sidePanel2; + private XhsPumpMainPhartListCtrl xhsPumpMainPhartListCtrl1; + private DevExpress.XtraBars.Docking.DockManager dockManager1; + private DevExpress.XtraBars.Docking.DockPanel dockPanelList; + private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container; + private DevExpress.XtraBars.Docking.DockPanel dockPanelCenter; + private DevExpress.XtraBars.Docking.ControlContainer dockPanel5_Container; + private DevExpress.XtraBars.Docking.DockPanel dockPanelBottom; + private DevExpress.XtraBars.Docking.ControlContainer dockPanel2_Container; + private DevExpress.XtraLayout.LayoutControl layoutControl1; + private DevExpress.XtraLayout.LayoutControlGroup Root; + private SimpleButton btnOk; + private SimpleButton btnCancel; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; + private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; + private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem1; + private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; + } +} diff --git a/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-/SelXhsValveMainPhartDlg.cs b/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-/SelXhsValveMainPhartDlg.cs new file mode 100644 index 0000000..87ccda4 --- /dev/null +++ b/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-/SelXhsValveMainPhartDlg.cs @@ -0,0 +1,118 @@ +锘縩amespace HStation.WinFrmUI.PhartRelation +{ + public partial class SelXhsValveMainPhartDlg : XtraForm + { + public SelXhsValveMainPhartDlg() + { + InitializeComponent(); + this.xhsPumpMainPhartListCtrl1.FocusedChangedEvent += XhsPumpMainPhartListCtrl1_FocusedChangedEvent; + } + + public event Func<Vmo.XhsPumpMainPhartMappingExtensions, Task<bool>> ReloadDataEvent; + + private long _pump_main_id; + private Vmo.XhsPumpMainPhartMappingExtensions _xhs_phart_diagram_ex_std_dto = null; + + + /// <summary> + /// 鍒濆鍖栨暟鎹� + /// </summary> + public void SetBandingData(long pump_main_id) + { + _pump_main_id = pump_main_id; + if (_pump_main_id < 1) + { + this.xhsPumpMainPhartListCtrl1.Clear(); + return; + } + this.xhsPumpMainPhartListCtrl1.SetBindingData(pump_main_id); + } + + //閫夋嫨鏇茬嚎鍙樻崲浜嬩欢 + private void XhsPumpMainPhartListCtrl1_FocusedChangedEvent(Vmo.XhsPumpMainPhartMappingExtensions obj) + { + _xhs_phart_diagram_ex_std_dto = obj; + InitChart(_xhs_phart_diagram_ex_std_dto); + } + + #region 鍥捐〃 + + //鍒濆鍖栧浘琛ㄦ暟鎹� + private void InitChart(Vmo.XhsPumpMainPhartMappingExtensions dto) + { + if (dto == null) + { + return; + } + var diagram = dto.Diagram; + if (diagram == null) + { + return; + } + var graph_list = diagram.GraphList; + if (graph_list == null || !graph_list.Any()) + { + return; + } + + var graph_qh = graph_list.Find(x => x.GraphType == HStation.PhartRelation.eGraphType.PumpQH); + var graph_qe = graph_list.Find(x => x.GraphType == HStation.PhartRelation.eGraphType.PumpQH); + var graph_qp = graph_list.Find(x => x.GraphType == HStation.PhartRelation.eGraphType.PumpQH); + + if (graph_qp == null) + { + return; + } + + List<Yw.Geometry.Point2d> points_qh = null, points_qe = null, points_qp = null; + points_qh = PhartPerformCurveHelper.GetFeatPointList(graph_qh.GraphType, graph_qh.GeometryInfo, 12, null); + if (graph_qe != null) + points_qe = PhartPerformCurveHelper.GetFeatPointList(graph_qe.GraphType, graph_qe.GeometryInfo, 12, null); + if (graph_qp != null) + points_qp = PhartPerformCurveHelper.GetFeatPointList(graph_qp.GraphType, graph_qp.GeometryInfo, 12, null); + + var cubic_spline_qh = new Yw.Geometry.CubicSpline2d(points_qh); + var cubic_spline_qe = new Yw.Geometry.CubicSpline2d(points_qe); + var cubic_spline_qp = new Yw.Geometry.CubicSpline2d(points_qp); + + var disp_paras = diagram.DispParas; + var is_calc_disp_paras = string.IsNullOrWhiteSpace(disp_paras); + this.xtrPerform2dChart1.SetBindingData(cubic_spline_qh, cubic_spline_qe, cubic_spline_qp, disp_paras, is_calc_disp_paras); + } + #endregion + + + //楠岃瘉 + private bool Verify() + { + if (_xhs_phart_diagram_ex_std_dto == null) + { + XtraMessageBox.Show("璇烽�夋嫨鏇茬嚎!"); + return false; + } + if (this.ReloadDataEvent==null) + { + XtraMessageBox.Show("璇锋敞鍐屼簨浠�!"); + return false; + } + + return true; + } + + //纭 + private async void btnOk_Click(object sender, EventArgs e) + { + if (!Verify()) + return; + var bol = await this.ReloadDataEvent(_xhs_phart_diagram_ex_std_dto); + if (!bol) + { + XtraMessageBox.Show("鎿嶄綔澶辫触!"); + return; + } + this.DialogResult = DialogResult.OK; + this.Close(); + + } + } +} \ No newline at end of file diff --git a/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-/SelXhsValveMainPhartDlg.resx b/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-/SelXhsValveMainPhartDlg.resx new file mode 100644 index 0000000..a86ecc3 --- /dev/null +++ b/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/02-/SelXhsValveMainPhartDlg.resx @@ -0,0 +1,123 @@ +锘�<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <metadata name="dockManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </metadata> +</root> \ No newline at end of file diff --git a/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/HStation.WinFrmUI.PhartRelation.Core.csproj b/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/HStation.WinFrmUI.PhartRelation.Core.csproj index c24d661..efa270f 100644 --- a/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/HStation.WinFrmUI.PhartRelation.Core.csproj +++ b/WinFrmUI/HStation.WinFrmUI.PhartRelation.Core/HStation.WinFrmUI.PhartRelation.Core.csproj @@ -39,6 +39,9 @@ <Compile Update="01-pump-main\XhsPumpMainPhartPanel.cs"> <SubType>UserControl</SubType> </Compile> + <Compile Update="02-\SelXhsValveMainPhartDlg.cs"> + <SubType>Form</SubType> + </Compile> <Compile Update="Properties\Resources.Designer.cs"> <DesignTime>True</DesignTime> <AutoGen>True</AutoGen> -- Gitblit v1.9.3