WinFrmUI/HStation.WinFrmUI.Assets.Core/01-pump/01-EditPumpPartProp/EditPumpPartPropDlg.cs
@@ -12,24 +12,28 @@ this.pumpProductListBox1.MouseUp += PumpProductListBox1_MouseUp; } private BLL.AssetsPumpPartMain _bll = null; private List<PropGroupChoiceViewModel> _propList = null; #region Private private BLL.AssetsPumpPartMain _bll; private List<PropGroupChoiceViewModel> _propList; private List<CurrentPartMainViewModel> _allBindingList = new List<CurrentPartMainViewModel>(); private Vmo.AssetsPumpMainAndPartMapVmo _partMapping = null; private Vmo.AssetsPumpMainAndPartMapVmo _partMapping; private Vmo.AssetsPumpMainVmo _pumpMain; private Vmo.AssetsPumpPartMainVmo _pumpPart = null; private Vmo.AssetsPumpPartMainVmo _pumpPart; private long _catalogID; //åç±»ID private Vmo.AssetsPumpSeriesVmo _series; //ç³»åID private List<Vmo.AssetsPumpPropContentVmo> _allPropList = null; private List<Vmo.AssetsPumpPropContentVmo> _allPropList; private Yw.BLL.SysPropMapping _sysPropMapping; #endregion Private //åè°äºä»¶ public event Func<Vmo.AssetsPumpPartMainVmo, List<Vmo.AssetsPumpPropContentVmo>, Vmo.AssetsPumpMainAndPartMapVmo, Task<bool>> ReloadEvent; @@ -127,8 +131,7 @@ updatepart.NO = TextEditNo.Text; updatepart.Code = TextEditProductCode.Text; updatepart.SeriesID = _series.ID; var updateproplist = new List<UpdateAssetsPumpPropContentInput>(); var propList = _propList.Where(x => x.KeyWorldType == "Prop").ToList(); var propList = _propList.Where(x => x.KeyWorldType == "Prop").ToList(); //æ¾å°ææçé¢å¤å±æ§ foreach (var item in propList) { if (_allPropList != null) WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/05-completed/ProjectResultShowPanel.Designer.cs
@@ -29,9 +29,9 @@ private void InitializeComponent() { tabPane1 = new DevExpress.XtraBars.Navigation.TabPane(); tabNavigationPage1 = new DevExpress.XtraBars.Navigation.TabNavigationPage(); tabNavigationPageBasic = new DevExpress.XtraBars.Navigation.TabNavigationPage(); xhsProjectInfoCtrl1 = new XhsProjectInfoCtrl(); tabNavigationPage2 = new DevExpress.XtraBars.Navigation.TabNavigationPage(); tabNavigationPageLocation = new DevExpress.XtraBars.Navigation.TabNavigationPage(); layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); mapSetSimpleMarkerContainer1 = new MapSetSimpleMarkerContainer(); txtAddress = new TextEdit(); @@ -40,13 +40,15 @@ layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); tabNavigationPageBimface = new DevExpress.XtraBars.Navigation.TabNavigationPage(); xhsProjectBimfaceInfoCtrl1 = new XhsProjectBimfaceInfoCtrl(); tabNavigationPage4 = new DevExpress.XtraBars.Navigation.TabNavigationPage(); tabNavigationPageBuild = new DevExpress.XtraBars.Navigation.TabNavigationPage(); xhsProjectHydroInfoCtrl1 = new XhsProjectHydroInfoCtrl(); tabNavigationPageAnalysis = new DevExpress.XtraBars.Navigation.TabNavigationPage(); layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); xhsProjectSimulationAnalysisCtrl1 = new XhsProjectSimulationAnalysisCtrl(); ((ISupportInitialize)tabPane1).BeginInit(); tabPane1.SuspendLayout(); tabNavigationPage1.SuspendLayout(); tabNavigationPage2.SuspendLayout(); tabNavigationPageBasic.SuspendLayout(); tabNavigationPageLocation.SuspendLayout(); ((ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); ((ISupportInitialize)txtAddress.Properties).BeginInit(); @@ -54,32 +56,34 @@ ((ISupportInitialize)layoutControlItem3).BeginInit(); ((ISupportInitialize)layoutControlItem4).BeginInit(); tabNavigationPageBimface.SuspendLayout(); tabNavigationPage4.SuspendLayout(); tabNavigationPageBuild.SuspendLayout(); tabNavigationPageAnalysis.SuspendLayout(); ((ISupportInitialize)layoutControlItem2).BeginInit(); SuspendLayout(); // // tabPane1 // tabPane1.Controls.Add(tabNavigationPage1); tabPane1.Controls.Add(tabNavigationPage2); tabPane1.Controls.Add(tabNavigationPageBasic); tabPane1.Controls.Add(tabNavigationPageLocation); tabPane1.Controls.Add(tabNavigationPageBimface); tabPane1.Controls.Add(tabNavigationPage4); tabPane1.Controls.Add(tabNavigationPageBuild); tabPane1.Controls.Add(tabNavigationPageAnalysis); tabPane1.Dock = DockStyle.Fill; tabPane1.Location = new Point(0, 0); tabPane1.Name = "tabPane1"; tabPane1.Pages.AddRange(new DevExpress.XtraBars.Navigation.NavigationPageBase[] { tabNavigationPage1, tabNavigationPage2, tabNavigationPage4, tabNavigationPageBimface }); tabPane1.Pages.AddRange(new DevExpress.XtraBars.Navigation.NavigationPageBase[] { tabNavigationPageBasic, tabNavigationPageLocation, tabNavigationPageAnalysis, tabNavigationPageBuild, tabNavigationPageBimface }); tabPane1.RegularSize = new Size(916, 553); tabPane1.SelectedPage = tabNavigationPage1; tabPane1.SelectedPage = tabNavigationPageBasic; tabPane1.Size = new Size(916, 553); tabPane1.TabIndex = 0; tabPane1.Text = "tabPane1"; // // tabNavigationPage1 // tabNavigationPageBasic // tabNavigationPage1.Caption = "åºç¡ä¿¡æ¯"; tabNavigationPage1.Controls.Add(xhsProjectInfoCtrl1); tabNavigationPage1.Name = "tabNavigationPage1"; tabNavigationPage1.Size = new Size(916, 520); tabNavigationPageBasic.Caption = "åºç¡ä¿¡æ¯"; tabNavigationPageBasic.Controls.Add(xhsProjectInfoCtrl1); tabNavigationPageBasic.Name = "tabNavigationPageBasic"; tabNavigationPageBasic.Size = new Size(916, 520); // // xhsProjectInfoCtrl1 // @@ -89,12 +93,12 @@ xhsProjectInfoCtrl1.Size = new Size(916, 520); xhsProjectInfoCtrl1.TabIndex = 5; // // tabNavigationPage2 // tabNavigationPageLocation // tabNavigationPage2.Caption = "ä½ç½®å±ç¤º"; tabNavigationPage2.Controls.Add(layoutControl1); tabNavigationPage2.Name = "tabNavigationPage2"; tabNavigationPage2.Size = new Size(916, 520); tabNavigationPageLocation.Caption = "ä½ç½®å±ç¤º"; tabNavigationPageLocation.Controls.Add(layoutControl1); tabNavigationPageLocation.Name = "tabNavigationPageLocation"; tabNavigationPageLocation.Size = new Size(916, 520); // // layoutControl1 // @@ -160,22 +164,22 @@ tabNavigationPageBimface.Caption = "ä¸ç»´æ¨¡å"; tabNavigationPageBimface.Controls.Add(xhsProjectBimfaceInfoCtrl1); tabNavigationPageBimface.Name = "tabNavigationPageBimface"; tabNavigationPageBimface.Size = new Size(916, 520); tabNavigationPageBimface.Size = new Size(916, 553); // // xhsProjectBimfaceInfoCtrl1 // xhsProjectBimfaceInfoCtrl1.Dock = DockStyle.Fill; xhsProjectBimfaceInfoCtrl1.Location = new Point(0, 0); xhsProjectBimfaceInfoCtrl1.Name = "xhsProjectBimfaceInfoCtrl1"; xhsProjectBimfaceInfoCtrl1.Size = new Size(916, 520); xhsProjectBimfaceInfoCtrl1.Size = new Size(916, 553); xhsProjectBimfaceInfoCtrl1.TabIndex = 0; // // tabNavigationPage4 // tabNavigationPageBuild // tabNavigationPage4.Caption = "æå»ºæç»"; tabNavigationPage4.Controls.Add(xhsProjectHydroInfoCtrl1); tabNavigationPage4.Name = "tabNavigationPage4"; tabNavigationPage4.Size = new Size(916, 520); tabNavigationPageBuild.Caption = "æå»ºæç»"; tabNavigationPageBuild.Controls.Add(xhsProjectHydroInfoCtrl1); tabNavigationPageBuild.Name = "tabNavigationPageBuild"; tabNavigationPageBuild.Size = new Size(916, 520); // // xhsProjectHydroInfoCtrl1 // @@ -185,6 +189,13 @@ xhsProjectHydroInfoCtrl1.Size = new Size(916, 520); xhsProjectHydroInfoCtrl1.TabIndex = 0; // // tabNavigationPageAnalysis // tabNavigationPageAnalysis.Caption = "è§£ææç»"; tabNavigationPageAnalysis.Controls.Add(xhsProjectSimulationAnalysisCtrl1); tabNavigationPageAnalysis.Name = "tabNavigationPageAnalysis"; tabNavigationPageAnalysis.Size = new Size(916, 520); // // layoutControlItem2 // layoutControlItem2.Location = new Point(0, 435); @@ -192,6 +203,14 @@ layoutControlItem2.Size = new Size(765, 24); layoutControlItem2.Text = "详ç»å°åï¼"; layoutControlItem2.TextSize = new Size(60, 14); // // xhsProjectSimulationAnalysisCtrl1 // xhsProjectSimulationAnalysisCtrl1.Dock = DockStyle.Fill; xhsProjectSimulationAnalysisCtrl1.Location = new Point(0, 0); xhsProjectSimulationAnalysisCtrl1.Name = "xhsProjectSimulationAnalysisCtrl1"; xhsProjectSimulationAnalysisCtrl1.Size = new Size(916, 520); xhsProjectSimulationAnalysisCtrl1.TabIndex = 0; // // ProjectResultShowPanel // @@ -202,8 +221,8 @@ Size = new Size(916, 553); ((ISupportInitialize)tabPane1).EndInit(); tabPane1.ResumeLayout(false); tabNavigationPage1.ResumeLayout(false); tabNavigationPage2.ResumeLayout(false); tabNavigationPageBasic.ResumeLayout(false); tabNavigationPageLocation.ResumeLayout(false); ((ISupportInitialize)layoutControl1).EndInit(); layoutControl1.ResumeLayout(false); ((ISupportInitialize)txtAddress.Properties).EndInit(); @@ -211,7 +230,8 @@ ((ISupportInitialize)layoutControlItem3).EndInit(); ((ISupportInitialize)layoutControlItem4).EndInit(); tabNavigationPageBimface.ResumeLayout(false); tabNavigationPage4.ResumeLayout(false); tabNavigationPageBuild.ResumeLayout(false); tabNavigationPageAnalysis.ResumeLayout(false); ((ISupportInitialize)layoutControlItem2).EndInit(); ResumeLayout(false); } @@ -219,10 +239,10 @@ #endregion private DevExpress.XtraBars.Navigation.TabPane tabPane1; private DevExpress.XtraBars.Navigation.TabNavigationPage tabNavigationPage1; private DevExpress.XtraBars.Navigation.TabNavigationPage tabNavigationPage2; private DevExpress.XtraBars.Navigation.TabNavigationPage tabNavigationPageBasic; private DevExpress.XtraBars.Navigation.TabNavigationPage tabNavigationPageLocation; private DevExpress.XtraBars.Navigation.TabNavigationPage tabNavigationPageBimface; private DevExpress.XtraBars.Navigation.TabNavigationPage tabNavigationPage4; private DevExpress.XtraBars.Navigation.TabNavigationPage tabNavigationPageBuild; private DevExpress.XtraLayout.LayoutControl layoutControl1; private DevExpress.XtraLayout.LayoutControlGroup Root; private TextEdit txtAddress; @@ -233,5 +253,7 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; private XhsProjectHydroInfoCtrl xhsProjectHydroInfoCtrl1; private XhsProjectBimfaceInfoCtrl xhsProjectBimfaceInfoCtrl1; private DevExpress.XtraBars.Navigation.TabNavigationPage tabNavigationPageAnalysis; private XhsProjectSimulationAnalysisCtrl xhsProjectSimulationAnalysisCtrl1; } } WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/05-completed/ProjectResultShowPanel.cs
@@ -27,6 +27,7 @@ xhsProjectInfoCtrl1.SetBindingData(_vm); await xhsProjectHydroInfoCtrl1.SetBindingData(_vm.ProjectID ?? 0); await xhsProjectBimfaceInfoCtrl1.SetBindingData(_vm.ProjectID ?? 0); this.xhsProjectSimulationAnalysisCtrl1.SetBindingData(vm.RevitModel); } //å°å¾å è½½å®æ WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/05-completed/XhsProjectSimulationAnalysisCtrl.Designer.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,117 @@ namespace HStation.WinFrmUI { partial class XhsProjectSimulationAnalysisCtrl { /// <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 Container(); gridControl1 = new DevExpress.XtraGrid.GridControl(); gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); xhsProjectSimulationAnalysisViewModelBindingSource = new BindingSource(components); colName = new DevExpress.XtraGrid.Columns.GridColumn(); colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); colCode = new DevExpress.XtraGrid.Columns.GridColumn(); colType = new DevExpress.XtraGrid.Columns.GridColumn(); ((ISupportInitialize)gridControl1).BeginInit(); ((ISupportInitialize)gridView1).BeginInit(); ((ISupportInitialize)xhsProjectSimulationAnalysisViewModelBindingSource).BeginInit(); SuspendLayout(); // // gridControl1 // gridControl1.DataSource = xhsProjectSimulationAnalysisViewModelBindingSource; gridControl1.Dock = DockStyle.Fill; gridControl1.Location = new Point(0, 0); gridControl1.MainView = gridView1; gridControl1.Name = "gridControl1"; gridControl1.Size = new Size(890, 581); gridControl1.TabIndex = 0; gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); // // gridView1 // gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colDescription, colCode, colType }); gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; gridView1.OptionsView.ShowGroupPanel = false; // // xhsProjectSimulationAnalysisViewModelBindingSource // xhsProjectSimulationAnalysisViewModelBindingSource.DataSource = typeof(XhsProjectSimulationAnalysisViewModel); // // colName // colName.FieldName = "Name"; colName.Name = "colName"; colName.Visible = true; colName.VisibleIndex = 0; // // colDescription // colDescription.FieldName = "Description"; colDescription.Name = "colDescription"; colDescription.Visible = true; colDescription.VisibleIndex = 1; // // colCode // colCode.FieldName = "Code"; colCode.Name = "colCode"; colCode.Visible = true; colCode.VisibleIndex = 2; // // colType // colType.FieldName = "Type"; colType.Name = "colType"; colType.Visible = true; colType.VisibleIndex = 3; // // XhsProjectSimulationAnalysisCtrl // AutoScaleDimensions = new SizeF(7F, 14F); AutoScaleMode = AutoScaleMode.Font; Controls.Add(gridControl1); Name = "XhsProjectSimulationAnalysisCtrl"; Size = new Size(890, 581); ((ISupportInitialize)gridControl1).EndInit(); ((ISupportInitialize)gridView1).EndInit(); ((ISupportInitialize)xhsProjectSimulationAnalysisViewModelBindingSource).EndInit(); ResumeLayout(false); } #endregion private DevExpress.XtraGrid.GridControl gridControl1; private DevExpress.XtraGrid.Views.Grid.GridView gridView1; private BindingSource xhsProjectSimulationAnalysisViewModelBindingSource; private DevExpress.XtraGrid.Columns.GridColumn colName; private DevExpress.XtraGrid.Columns.GridColumn colDescription; private DevExpress.XtraGrid.Columns.GridColumn colCode; private DevExpress.XtraGrid.Columns.GridColumn colType; } } WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/05-completed/XhsProjectSimulationAnalysisCtrl.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,55 @@ namespace HStation.WinFrmUI { public partial class XhsProjectSimulationAnalysisCtrl : DevExpress.XtraEditors.XtraUserControl { public XhsProjectSimulationAnalysisCtrl() { InitializeComponent(); } private List<XhsProjectSimulationAnalysisViewModel> _allBindingList; public void SetBindingData(Model.RevitModel revitModel) { _allBindingList = new List<XhsProjectSimulationAnalysisViewModel>(); this.xhsProjectSimulationAnalysisViewModelBindingSource.DataSource = _allBindingList; var allRevitParterList = revitModel.GetAllParters(); foreach (var revitParter in allRevitParterList) { if (revitParter.PropStatusList != null && revitParter.PropStatusList.Count > 0) { foreach (var revitParterPropStatus in revitParter.PropStatusList) { if (revitParterPropStatus.PropStatus == HStation.Revit.ePropStatus.Error) { // hasRevitPropError = true; } switch (revitParterPropStatus.PropStatus) { case Revit.ePropStatus.Error: { _allBindingList.Add(new XhsProjectSimulationAnalysisViewModel { Type = revitParter.Catalog, Code = revitParter.Code, Name = revitParter.Name, Description = revitParterPropStatus.StatusInfo }); } break; case Revit.ePropStatus.Lack: { _allBindingList.Add(new XhsProjectSimulationAnalysisViewModel { Type = revitParter.Catalog, Code = revitParter.Code, Name = revitParterPropStatus.PropName, Description = revitParterPropStatus.StatusInfo }); } break; case Revit.ePropStatus.Abnormal: { _allBindingList.Add(new XhsProjectSimulationAnalysisViewModel { Type = revitParter.Catalog, Code = revitParter.Code, Name = revitParterPropStatus.PropName, Description = revitParterPropStatus.StatusInfo }); } break; default: break; } } } } this.xhsProjectSimulationAnalysisViewModelBindingSource.ResetBindings(false); } } } WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/05-completed/XhsProjectSimulationAnalysisCtrl.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="xhsProjectSimulationAnalysisViewModelBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>17, 17</value> </metadata> </root> WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/05-completed/XhsProjectSimulationAnalysisViewModel.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,36 @@ namespace HStation.WinFrmUI { public class XhsProjectSimulationAnalysisViewModel { public XhsProjectSimulationAnalysisViewModel() { } public XhsProjectSimulationAnalysisViewModel(XhsProjectSimulationAnalysisViewModel rhs) { this.Name = rhs.Name; this.Description = rhs.Description; this.Code = rhs.Code; this.Type = rhs.Type; } //åç§° [DisplayName("åç§°")] [Browsable(true)] public string Name { get; set; } //éè¯¯ä¿¡æ¯ [DisplayName("é误信æ¯")] [Browsable(true)] public string Description { get; set; } //æå»ºç¼ç [DisplayName("æå»ºç¼ç ")] [Browsable(true)] public string Code { get; set; } //æå»ºå±æ§ [DisplayName("æå»ºå±æ§")] [Browsable(true)] public string Type { get; set; } } } WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-pump/SinglePumpInfoViewDLg.Designer.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,45 @@ namespace HStation.WinFrmUI { partial class SinglePumpInfoViewDlg { /// <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 Windows Form 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() { SuspendLayout(); // // SinglePumpInfoViewDlg // AutoScaleDimensions = new SizeF(7F, 14F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(873, 555); Name = "SinglePumpInfoViewDlg"; Text = "XtraForm1"; ResumeLayout(false); } #endregion } } WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-pump/SinglePumpInfoViewDLg.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,14 @@ namespace HStation.WinFrmUI { public partial class SinglePumpInfoViewDlg : DevExpress.XtraEditors.XtraForm { public SinglePumpInfoViewDlg() { InitializeComponent(); } public void SetBindindData(PumpMatchingViewModel pumpMatchingViewModel) { } } } WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-pump/SinglePumpInfoViewDLg.resx
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,120 @@ <?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> </root> WinFrmUI/HStation.WinFrmUI.Xhs.Core/HStation.WinFrmUI.Xhs.Core.csproj.user
@@ -31,6 +31,9 @@ <Compile Update="02-project\01-import\05-completed\ProjectResultShowPanel.cs"> <SubType>UserControl</SubType> </Compile> <Compile Update="02-project\01-import\05-completed\XhsProjectSimulationAnalysisCtrl.cs"> <SubType>UserControl</SubType> </Compile> <Compile Update="02-project\01-import\05-completed\XhsProjectSimulationBimfaceInfoCtrl.cs"> <SubType>UserControl</SubType> </Compile> @@ -229,5 +232,8 @@ <Compile Update="04-pump\PumpFullInfoViewDlg.cs"> <SubType>Form</SubType> </Compile> <Compile Update="04-pump\SinglePumpInfoViewDlg.cs"> <SubType>Form</SubType> </Compile> </ItemGroup> </Project> WinFrmUI/HStation.WinFrmUI.Xhs.Core/Properties/DataSources/HStation.WinFrmUI.XhsProjectSimulationAnalysisViewModel.datasource
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> <!-- This file is automatically generated by Visual Studio. It is used to store generic object data source configuration information. Renaming the file extension or editing the content of this file may cause the file to be unrecognizable by the program. --> <GenericObjectDataSource DisplayName="XhsProjectSimulationAnalysisViewModel" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> <TypeInfo>HStation.WinFrmUI.XhsProjectSimulationAnalysisViewModel, HStation.WinFrmUI.Xhs.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> </GenericObjectDataSource>