lixiaojun
2024-09-19 46af162acbf917f039878db200b54112268c4911
主窗体修改
已重命名4个文件
已修改9个文件
已添加3个文件
488 ■■■■ 文件已修改
Desktop/HStation.Desktop.Xhs.Core/MainForm.Designer.cs 75 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Desktop/HStation.Desktop.Xhs.Core/MainForm.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Desktop/HStation.Desktop.Xhs.Core/MainForm.resx 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Desktop/HStation.Desktop.Xhs.Core/Program.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/02-check/XhsProjectSimulationHydroCheckFailedDlg.Designer.cs 72 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/02-check/XhsProjectSimulationHydroCheckFailedDlg.cs 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/02-check/XhsProjectSimulationHydroCheckFailedDlg.resx 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/03-calcu/XhsProjectSimulationHydroCalcuFailedCtrl.Designer.cs 77 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/03-calcu/XhsProjectSimulationHydroCalcuFailedCtrl.cs 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/03-calcu/XhsProjectSimulationHydroCalcuFailedCtrl.resx 120 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/03-calcu/XhsProjectSimulationHydroCalcuFailedDlg.Designer.cs 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/03-calcu/XhsProjectSimulationHydroCalcuFailedDlg.cs 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/03-calcu/XhsProjectSimulationHydroCalcuFailedDlg.resx 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/03-calcu/XhsProjectSimulationHydroCalcuFailedViewModel.cs 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/HStation.WinFrmUI.Xhs.Core.csproj 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/HStation.WinFrmUI.Xhs.Core.csproj.user 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Desktop/HStation.Desktop.Xhs.Core/MainForm.Designer.cs
@@ -30,11 +30,19 @@
        {
            components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
            DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip();
            DevExpress.Utils.ToolTipItem toolTipItem1 = new DevExpress.Utils.ToolTipItem();
            DevExpress.Utils.SuperToolTip superToolTip2 = new DevExpress.Utils.SuperToolTip();
            DevExpress.Utils.ToolTipItem toolTipItem2 = new DevExpress.Utils.ToolTipItem();
            tileNavPane = new DevExpress.XtraBars.Navigation.TileNavPane();
            nbTitle = new DevExpress.XtraBars.Navigation.NavButton();
            navBtnPrevious = new DevExpress.XtraBars.Navigation.NavButton();
            navBtnCurrent = new DevExpress.XtraBars.Navigation.NavButton();
            navBtnNext = new DevExpress.XtraBars.Navigation.NavButton();
            nbProjectMgr = new DevExpress.XtraBars.Navigation.NavButton();
            nbModelMgr = new DevExpress.XtraBars.Navigation.NavButton();
            nbProductManage = new DevExpress.XtraBars.Navigation.NavButton();
            navButton2 = new DevExpress.XtraBars.Navigation.NavButton();
            nbSystemConfig = new DevExpress.XtraBars.Navigation.NavButton();
            nbMin = new DevExpress.XtraBars.Navigation.NavButton();
            nbNormal = new DevExpress.XtraBars.Navigation.NavButton();
@@ -54,7 +62,6 @@
            flyoutPanel1 = new DevExpress.Utils.FlyoutPanel();
            flyoutPanelControl1 = new DevExpress.Utils.FlyoutPanelControl();
            svgImg32Model = new DevExpress.Utils.SvgImageCollection(components);
            navButton2 = new DevExpress.XtraBars.Navigation.NavButton();
            ((System.ComponentModel.ISupportInitialize)tileNavPane).BeginInit();
            ((System.ComponentModel.ISupportInitialize)documentManager1).BeginInit();
            ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit();
@@ -70,6 +77,9 @@
            // 
            tileNavPane.AllowGlyphSkinning = true;
            tileNavPane.Buttons.Add(nbTitle);
            tileNavPane.Buttons.Add(navBtnPrevious);
            tileNavPane.Buttons.Add(navBtnCurrent);
            tileNavPane.Buttons.Add(navBtnNext);
            tileNavPane.Buttons.Add(nbProjectMgr);
            tileNavPane.Buttons.Add(nbModelMgr);
            tileNavPane.Buttons.Add(nbProductManage);
@@ -103,6 +113,53 @@
            nbTitle.Name = "nbTitle";
            nbTitle.ElementClick += nbTitle_ElementClick;
            // 
            // navBtnPrevious
            //
            navBtnPrevious.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Left;
            navBtnPrevious.Caption = null;
            navBtnPrevious.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("navBtnPrevious.ImageOptions.SvgImage");
            navBtnPrevious.Name = "navBtnPrevious";
            toolTipItem1.Text = "后退";
            superToolTip1.Items.Add(toolTipItem1);
            navBtnPrevious.SuperTip = superToolTip1;
            navBtnPrevious.Visible = false;
            navBtnPrevious.ElementClick += navBtnPrevious_ElementClick;
            //
            // navBtnCurrent
            //
            navBtnCurrent.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Left;
            navBtnCurrent.Appearance.BackColor = Color.FromArgb(255, 128, 0);
            navBtnCurrent.Appearance.ForeColor = Color.White;
            navBtnCurrent.Appearance.Options.UseBackColor = true;
            navBtnCurrent.Appearance.Options.UseForeColor = true;
            navBtnCurrent.AppearanceDisabled.BackColor = Color.FromArgb(255, 128, 0);
            navBtnCurrent.AppearanceDisabled.ForeColor = Color.White;
            navBtnCurrent.AppearanceDisabled.Options.UseBackColor = true;
            navBtnCurrent.AppearanceDisabled.Options.UseForeColor = true;
            navBtnCurrent.AppearanceHovered.BackColor = Color.FromArgb(255, 128, 0);
            navBtnCurrent.AppearanceHovered.ForeColor = Color.White;
            navBtnCurrent.AppearanceHovered.Options.UseBackColor = true;
            navBtnCurrent.AppearanceHovered.Options.UseForeColor = true;
            navBtnCurrent.AppearanceSelected.BackColor = Color.FromArgb(255, 128, 0);
            navBtnCurrent.AppearanceSelected.ForeColor = Color.White;
            navBtnCurrent.AppearanceSelected.Options.UseBackColor = true;
            navBtnCurrent.AppearanceSelected.Options.UseForeColor = true;
            navBtnCurrent.Caption = "首页";
            navBtnCurrent.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("navBtnCurrent.ImageOptions.SvgImage");
            navBtnCurrent.Name = "navBtnCurrent";
            //
            // navBtnNext
            //
            navBtnNext.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Left;
            navBtnNext.Caption = null;
            navBtnNext.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("navBtnNext.ImageOptions.SvgImage");
            navBtnNext.Name = "navBtnNext";
            toolTipItem2.Text = "前进";
            superToolTip2.Items.Add(toolTipItem2);
            navBtnNext.SuperTip = superToolTip2;
            navBtnNext.Visible = false;
            navBtnNext.ElementClick += navBtnNext_ElementClick;
            //
            // nbProjectMgr
            // 
            nbProjectMgr.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Right;
@@ -128,6 +185,12 @@
            nbProductManage.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("nbProductManage.ImageOptions.SvgImage");
            nbProductManage.Name = "nbProductManage";
            nbProductManage.ElementClick += nbProductManage_ElementClick;
            //
            // navButton2
            //
            navButton2.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Right;
            navButton2.Caption = "型号管理";
            navButton2.Name = "navButton2";
            // 
            // nbSystemConfig
            // 
@@ -259,6 +322,7 @@
            // 
            // tabbedView1
            // 
            tabbedView1.DocumentGroupProperties.ShowTabHeader = false;
            tabbedView1.DocumentProperties.AllowPin = true;
            tabbedView1.Style = DevExpress.XtraBars.Docking2010.Views.DockingViewStyle.Light;
            tabbedView1.DocumentSelected += tabbedView1_DocumentSelected;
@@ -299,12 +363,6 @@
            svgImg32Model.Add("bo_category", "image://svgimages/business objects/bo_category.svg");
            svgImg32Model.Add("documentproperties", "image://svgimages/richedit/documentproperties.svg");
            svgImg32Model.Add("showallvalue", "image://svgimages/dashboards/showallvalue.svg");
            //
            // navButton2
            //
            navButton2.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Right;
            navButton2.Caption = "型号管理";
            navButton2.Name = "navButton2";
            // 
            // MainForm
            // 
@@ -366,5 +424,8 @@
        private DevExpress.XtraBars.Navigation.NavButton nbProductManage;
        private DevExpress.XtraBars.Navigation.NavButton nbSystemConfig;
        private DevExpress.XtraBars.Navigation.NavButton navButton2;
        private DevExpress.XtraBars.Navigation.NavButton navBtnCurrent;
        private DevExpress.XtraBars.Navigation.NavButton navBtnPrevious;
        private DevExpress.XtraBars.Navigation.NavButton navBtnNext;
    }
}
Desktop/HStation.Desktop.Xhs.Core/MainForm.cs
@@ -513,6 +513,11 @@
        //添加
        private void tabbedView1_DocumentAdded(object sender, DocumentEventArgs e)
        {
            if (this.tabbedView1.Documents.Count > 1)
            {
                this.navBtnPrevious.Visible = true;
                this.navBtnNext.Visible = true;
            }
        }
        //激活
@@ -521,6 +526,8 @@
            var page = e.Document.Control as DocumentPage;
            if (page == null)
                return;
            this.navBtnCurrent.ImageOptions.SvgImage = page.PageTitle.HeaderSvgImage;
            this.navBtnCurrent.Caption = page.PageTitle.Caption;
        }
        //关闭 æ­¤æ—¶æŽ§ä»¶å·²ç»ä¸ºç©º
@@ -811,5 +818,15 @@
        }
        #endregion Modular
        private void navBtnPrevious_ElementClick(object sender, NavElementEventArgs e)
        {
            this.tabbedView1.Controller.SelectNextTab(false);
        }
        private void navBtnNext_ElementClick(object sender, NavElementEventArgs e)
        {
            this.tabbedView1.Controller.SelectNextTab(true);
        }
    }
}
Desktop/HStation.Desktop.Xhs.Core/MainForm.resx
@@ -144,6 +144,64 @@
        IDwvZz4NCjwvc3ZnPgs=
</value>
  </data>
  <data name="navBtnPrevious.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v23.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIzLjIsIFZlcnNpb249MjMuMi40
        LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
        dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAIkCAAAC77u/
        PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
        IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
        MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
        Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
        MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlllbGxvd3tmaWxsOiNGRkIxMTU7fQoJ
        LlJlZHtmaWxsOiNEMTFDMUM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuQmx1ZXtmaWxsOiMxMTc3
        RDc7fQoJLldoaXRle2ZpbGw6I0ZGRkZGRjt9CgkuR3JlZW57ZmlsbDojMDM5QzIzO30KCS5zdDB7b3Bh
        Y2l0eTowLjc1O30KCS5zdDF7b3BhY2l0eTowLjU7fQoJLnN0MntvcGFjaXR5OjAuMjU7fQoJLnN0M3tm
        aWxsOiNGRkIxMTU7fQo8L3N0eWxlPg0KICA8ZyAvPg0KICA8ZyBpZD0iVW5kb18xXyI+DQogICAgPHBh
        dGggZD0iTTE0LDEyVjkuNlY2TDQsMTZsMTAsMTB2LTZjNy43LDAsMTQsMi43LDE0LDZDMjgsMTguMywy
        MS43LDEyLDE0LDEyeiIgY2xhc3M9IkJsdWUiIC8+DQogIDwvZz4NCjwvc3ZnPgs=
</value>
  </data>
  <data name="navBtnCurrent.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v23.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIzLjIsIFZlcnNpb249MjMuMi40
        LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
        dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAIIDAAAC77u/
        PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
        IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
        MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
        Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
        MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLkJsdWV7ZmlsbDojMTE3N0Q3O30KCS5Z
        ZWxsb3d7ZmlsbDojRkZCMTE1O30KCS5SZWR7ZmlsbDojRDExQzFDO30KCS5HcmVlbntmaWxsOiMwMzlD
        MjM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuV2hpdGV7ZmlsbDojRkZGRkZGO30KCS5zdDB7b3Bh
        Y2l0eTowLjU7fQoJLnN0MXtvcGFjaXR5OjAuNzU7fQoJLnN0MntkaXNwbGF5Om5vbmU7fQoJLnN0M3tk
        aXNwbGF5OmlubGluZTtmaWxsOiNGRkIxMTU7fQoJLnN0NHtkaXNwbGF5OmlubGluZTt9Cgkuc3Q1e2Rp
        c3BsYXk6aW5saW5lO29wYWNpdHk6MC43NTt9Cgkuc3Q2e2Rpc3BsYXk6aW5saW5lO29wYWNpdHk6MC41
        O30KCS5zdDd7ZGlzcGxheTppbmxpbmU7ZmlsbDojMDM5QzIzO30KCS5zdDh7ZGlzcGxheTppbmxpbmU7
        ZmlsbDojRDExQzFDO30KCS5zdDl7ZGlzcGxheTppbmxpbmU7ZmlsbDojMTE3N0Q3O30KCS5zdDEwe2Rp
        c3BsYXk6aW5saW5lO2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU+DQogIDxnIGlkPSJBZGRyZXNzIj4NCiAg
        ICA8cG9seWdvbiBwb2ludHM9IjgsMjggOCwxOCAyLDE4IDE2LDQgMzAsMTggMjQsMTggMjQsMjggMTgs
        MjggMTgsMTggMTQsMTggMTQsMjggICIgY2xhc3M9IkJsdWUiIC8+DQogIDwvZz4NCjwvc3ZnPgs=
</value>
  </data>
  <data name="navBtnNext.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v23.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIzLjIsIFZlcnNpb249MjMuMi40
        LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
        dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAIYCAAAC77u/
        PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
        IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
        MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3Bh
        Y2U9InByZXNlcnZlIiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAg
        MzIgMzIiPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLlllbGxvd3tmaWxsOiNGRkIxMTU7fQoJ
        LlJlZHtmaWxsOiNEMTFDMUM7fQoJLkJsYWNre2ZpbGw6IzcyNzI3Mjt9CgkuQmx1ZXtmaWxsOiMxMTc3
        RDc7fQoJLldoaXRle2ZpbGw6I0ZGRkZGRjt9CgkuR3JlZW57ZmlsbDojMDM5QzIzO30KCS5zdDB7b3Bh
        Y2l0eTowLjc1O30KCS5zdDF7b3BhY2l0eTowLjU7fQoJLnN0MntvcGFjaXR5OjAuMjU7fQoJLnN0M3tm
        aWxsOiNGRkIxMTU7fQo8L3N0eWxlPg0KICA8ZyAvPg0KICA8ZyBpZD0iUmVkb18xXyI+DQogICAgPHBh
        dGggZD0iTTI4LDE2TDE4LDZ2My42VjEyYy03LjcsMC0xNCw2LjMtMTQsMTRjMC0zLjMsNi4zLTYsMTQt
        NnY2TDI4LDE2eiIgY2xhc3M9IkJsdWUiIC8+DQogIDwvZz4NCjwvc3ZnPgs=
</value>
  </data>
  <data name="nbProjectMgr.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v23.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIzLjIsIFZlcnNpb249MjMuMi40
Desktop/HStation.Desktop.Xhs.Core/Program.cs
@@ -50,7 +50,7 @@
                //皮肤
                //DevExpress.LookAndFeel.UserLookAndFeel.Default.SetSkinStyle(SkinStyle.WXICompact);
                DevExpress.LookAndFeel.UserLookAndFeel.Default.SetSkinStyle(SkinStyle.WXICompact);
                //DevExpress.LookAndFeel.UserLookAndFeel.Default.SetSkinStyle(SkinStyle.WXICompact);
                // To customize application configuration such as set high DPI settings or default font,
                // see https://aka.ms/applicationconfiguration.
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/02-check/XhsProjectSimulationHydroCheckFailedDlg.Designer.cs
@@ -28,82 +28,30 @@
        /// </summary>
        private void InitializeComponent()
        {
            components = new Container();
            gridControl1 = new DevExpress.XtraGrid.GridControl();
            xhsProjectSimulationHydroCheckFailedViewModelBindingSource = new BindingSource(components);
            gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            colParterId = new DevExpress.XtraGrid.Columns.GridColumn();
            colFailType = new DevExpress.XtraGrid.Columns.GridColumn();
            colFailReason = new DevExpress.XtraGrid.Columns.GridColumn();
            ((ISupportInitialize)gridControl1).BeginInit();
            ((ISupportInitialize)xhsProjectSimulationHydroCheckFailedViewModelBindingSource).BeginInit();
            ((ISupportInitialize)gridView1).BeginInit();
            xhsProjectSimulationHydroCheckFailedCtrl1 = new XhsProjectSimulationHydroCheckFailedCtrl();
            SuspendLayout();
            // 
            // gridControl1
            // xhsProjectSimulationHydroCheckFailedCtrl1
            // 
            gridControl1.DataSource = xhsProjectSimulationHydroCheckFailedViewModelBindingSource;
            gridControl1.Dock = DockStyle.Fill;
            gridControl1.Location = new Point(0, 0);
            gridControl1.MainView = gridView1;
            gridControl1.Name = "gridControl1";
            gridControl1.Size = new Size(883, 468);
            gridControl1.TabIndex = 0;
            gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 });
            //
            // xhsProjectSimulationHydroCheckFailedViewModelBindingSource
            //
            xhsProjectSimulationHydroCheckFailedViewModelBindingSource.DataSource = typeof(XhsProjectSimulationHydroCheckFailedViewModel);
            //
            // gridView1
            //
            gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colParterId, colFailType, colFailReason });
            gridView1.GridControl = gridControl1;
            gridView1.Name = "gridView1";
            gridView1.RowClick += gridView1_RowClick;
            //
            // colParterId
            //
            colParterId.FieldName = "ParterId";
            colParterId.Name = "colParterId";
            colParterId.Visible = true;
            colParterId.VisibleIndex = 0;
            //
            // colFailType
            //
            colFailType.FieldName = "FailType";
            colFailType.Name = "colFailType";
            colFailType.Visible = true;
            colFailType.VisibleIndex = 1;
            //
            // colFailReason
            //
            colFailReason.FieldName = "FailReason";
            colFailReason.Name = "colFailReason";
            colFailReason.Visible = true;
            colFailReason.VisibleIndex = 2;
            xhsProjectSimulationHydroCheckFailedCtrl1.Dock = DockStyle.Fill;
            xhsProjectSimulationHydroCheckFailedCtrl1.Location = new Point(0, 0);
            xhsProjectSimulationHydroCheckFailedCtrl1.Name = "xhsProjectSimulationHydroCheckFailedCtrl1";
            xhsProjectSimulationHydroCheckFailedCtrl1.Size = new Size(883, 468);
            xhsProjectSimulationHydroCheckFailedCtrl1.TabIndex = 0;
            xhsProjectSimulationHydroCheckFailedCtrl1.HydroClickEvent += xhsProjectSimulationHydroCheckFailedCtrl1_HydroClickEvent;
            // 
            // XhsProjectSimulationHydroCheckFailedDlg
            // 
            AutoScaleDimensions = new SizeF(7F, 14F);
            AutoScaleMode = AutoScaleMode.Font;
            ClientSize = new Size(883, 468);
            Controls.Add(gridControl1);
            Controls.Add(xhsProjectSimulationHydroCheckFailedCtrl1);
            Name = "XhsProjectSimulationHydroCheckFailedDlg";
            Text = "校验失败原因";
            ((ISupportInitialize)gridControl1).EndInit();
            ((ISupportInitialize)xhsProjectSimulationHydroCheckFailedViewModelBindingSource).EndInit();
            ((ISupportInitialize)gridView1).EndInit();
            ResumeLayout(false);
        }
        #endregion
        private DevExpress.XtraGrid.GridControl gridControl1;
        private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
        private BindingSource xhsProjectSimulationHydroCheckFailedViewModelBindingSource;
        private DevExpress.XtraGrid.Columns.GridColumn colParterId;
        private DevExpress.XtraGrid.Columns.GridColumn colFailType;
        private DevExpress.XtraGrid.Columns.GridColumn colFailReason;
        private XhsProjectSimulationHydroCheckFailedCtrl xhsProjectSimulationHydroCheckFailedCtrl1;
    }
}
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/02-check/XhsProjectSimulationHydroCheckFailedDlg.cs
@@ -1,23 +1,10 @@
using DevExpress.XtraEditors;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace HStation.WinFrmUI
namespace HStation.WinFrmUI
{
    public partial class XhsProjectSimulationHydroCheckFailedDlg : DevExpress.XtraEditors.XtraForm
    {
        public XhsProjectSimulationHydroCheckFailedDlg()
        {
            InitializeComponent();
            this.gridView1.SetNormalView(30);
            this.gridView1.RegistCustomDrawRowIndicator(40);
        }
        /// <summary>
@@ -32,27 +19,14 @@
        /// </summary>
        public void SetBindingData(List<Yw.EPAnet.CheckFailed> allFailedList)
        {
            _allBindingList = new List<XhsProjectSimulationHydroCheckFailedViewModel>();
            if (allFailedList != null && allFailedList.Count > 0)
            {
                foreach (var failed in allFailedList)
                {
                    var vm = new XhsProjectSimulationHydroCheckFailedViewModel(failed);
                    _allBindingList.Add(vm);
                }
            }
            this.xhsProjectSimulationHydroCheckFailedViewModelBindingSource.DataSource = _allBindingList;
            this.xhsProjectSimulationHydroCheckFailedViewModelBindingSource.ResetBindings(false);
            this.xhsProjectSimulationHydroCheckFailedCtrl1.SetBindingData(allFailedList);
        }
        private void gridView1_RowClick(object sender, DevExpress.XtraGrid.Views.Grid.RowClickEventArgs e)
        private void xhsProjectSimulationHydroCheckFailedCtrl1_HydroClickEvent(string obj)
        {
            var row = this.gridView1.GetRow(e.RowHandle) as XhsProjectSimulationHydroCheckFailedViewModel;
            if (row == null)
            {
                return;
            }
            this.HydroClickEvent?.Invoke(row.ParterId);
            this.HydroClickEvent?.Invoke(obj);
        }
    }
}
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/02-check/XhsProjectSimulationHydroCheckFailedDlg.resx
@@ -117,7 +117,4 @@
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <metadata name="xhsProjectSimulationHydroCheckFailedViewModelBindingSource.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/04-simulation/06-simulation/03-calcu/XhsProjectSimulationHydroCalcuFailedCtrl.Designer.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,77 @@
namespace HStation.WinFrmUI
{
    partial class XhsProjectSimulationHydroCalcuFailedCtrl
    {
        /// <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()
        {
            xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
            xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
            xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
            ((ISupportInitialize)xtraTabControl1).BeginInit();
            xtraTabControl1.SuspendLayout();
            SuspendLayout();
            //
            // xtraTabControl1
            //
            xtraTabControl1.Location = new Point(87, 94);
            xtraTabControl1.Name = "xtraTabControl1";
            xtraTabControl1.SelectedTabPage = xtraTabPage1;
            xtraTabControl1.Size = new Size(300, 300);
            xtraTabControl1.TabIndex = 0;
            xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { xtraTabPage1, xtraTabPage2 });
            //
            // xtraTabPage1
            //
            xtraTabPage1.Name = "xtraTabPage1";
            xtraTabPage1.Size = new Size(298, 274);
            xtraTabPage1.Text = "xtraTabPage1";
            //
            // xtraTabPage2
            //
            xtraTabPage2.Name = "xtraTabPage2";
            xtraTabPage2.Size = new Size(298, 274);
            xtraTabPage2.Text = "xtraTabPage2";
            //
            // XhsProjectSimulationHydroCalcuFailedCtrl
            //
            AutoScaleDimensions = new SizeF(7F, 14F);
            AutoScaleMode = AutoScaleMode.Font;
            Controls.Add(xtraTabControl1);
            Name = "XhsProjectSimulationHydroCalcuFailedCtrl";
            Size = new Size(745, 460);
            ((ISupportInitialize)xtraTabControl1).EndInit();
            xtraTabControl1.ResumeLayout(false);
            ResumeLayout(false);
        }
        #endregion
        private DevExpress.XtraTab.XtraTabControl xtraTabControl1;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage1;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage2;
    }
}
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/03-calcu/XhsProjectSimulationHydroCalcuFailedCtrl.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,21 @@
using DevExpress.XtraEditors;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace HStation.WinFrmUI
{
    public partial class XhsProjectSimulationHydroCalcuFailedCtrl : DevExpress.XtraEditors.XtraUserControl
    {
        public XhsProjectSimulationHydroCalcuFailedCtrl()
        {
            InitializeComponent();
        }
    }
}
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/03-calcu/XhsProjectSimulationHydroCalcuFailedCtrl.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/04-simulation/06-simulation/03-calcu/XhsProjectSimulationHydroCalcuFailedDlg.Designer.cs
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/03-calcu/XhsProjectSimulationHydroCalcuFailedDlg.cs
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/03-calcu/XhsProjectSimulationHydroCalcuFailedDlg.resx
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/03-calcu/XhsProjectSimulationHydroCalcuFailedViewModel.cs
WinFrmUI/HStation.WinFrmUI.Xhs.Core/HStation.WinFrmUI.Xhs.Core.csproj
@@ -141,7 +141,7 @@
    <Compile Update="04-simulation\06-simulation\XhsProjectSimulationCorePage.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Update="04-simulation\06-simulation\XhsProjectSimulationHydroCalcuFailedDlg.cs">
    <Compile Update="04-simulation\06-simulation\03-calcu\XhsProjectSimulationHydroCalcuFailedDlg.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Update="Properties\Resources.Designer.cs">
WinFrmUI/HStation.WinFrmUI.Xhs.Core/HStation.WinFrmUI.Xhs.Core.csproj.user
@@ -106,6 +106,9 @@
    <Compile Update="04-simulation\06-simulation\02-check\XhsProjectSimulationHydroCheckFailedCtrl.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Update="04-simulation\06-simulation\03-calcu\XhsProjectSimulationHydroCalcuFailedCtrl.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Update="04-simulation\06-simulation\PerformChart.cs">
      <SubType>Form</SubType>
    </Compile>