개정판 88c1965b
issue #000: No Pocket Setting 추가
Change-Id: Ied94887f65d6a17df1d597b55e0381907c75e808
DTI_PID/DTI_PID/DTI_PID.pyproj | ||
---|---|---|
18 | 18 |
<InterpreterArguments> |
19 | 19 |
</InterpreterArguments> |
20 | 20 |
<EnableNativeCodeDebugging>False</EnableNativeCodeDebugging> |
21 |
<SuppressEnvironmentCreationPrompt>True</SuppressEnvironmentCreationPrompt> |
|
21 | 22 |
</PropertyGroup> |
22 | 23 |
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> |
23 | 24 |
<DebugSymbols>true</DebugSymbols> |
DTI_PID/ID2PSN/DB.cs | ||
---|---|---|
35 | 35 |
const string PSN_COMMON = "ARS_COMMON"; |
36 | 36 |
//2022.01.19 추가 |
37 | 37 |
const string PSN_PIPESYSTEM = "SPPIDPipeSystem"; |
38 |
|
|
39 |
//2022.02.03 추가 |
|
40 |
const string PSN_NOPOCKETSETTING = "T_PSN_NOPOCKET_SETTING"; |
|
38 | 41 |
/// <summary> |
39 | 42 |
/// ID2 Project.db 데이터를 가져온다. |
40 | 43 |
/// DB 접속 정보 및 DBType (Sqlite, Mssql) 정보를 가져옴 |
... | ... | |
357 | 360 |
|
358 | 361 |
if (matched == null) |
359 | 362 |
{ |
360 |
var query = $"CREATE TABLE { PSN_TOPOLOGYSET} (OID NVARCHAR(255), Type NVARCHAR(255), SubType NVARCHAR(255), HeadItemTag NVARCHAR(255), TailItemTag NVARCHAR(255), HeadItemSPID NVARCHAR(255), TailItemSPID NVARCHAR(255))";
|
|
363 |
var query = $"CREATE TABLE {PSN_TOPOLOGYSET} (OID NVARCHAR(255), Type NVARCHAR(255), SubType NVARCHAR(255), HeadItemTag NVARCHAR(255), TailItemTag NVARCHAR(255), HeadItemSPID NVARCHAR(255), TailItemSPID NVARCHAR(255))"; |
|
361 | 364 |
using (var cmd = connection.GetSqlStringCommand(query)) |
362 | 365 |
{ |
363 | 366 |
cmd.ExecuteNonQuery(); |
... | ... | |
470 | 473 |
{ |
471 | 474 |
AddColumn(PSN_PIPESYSTEM, dicColCheck); |
472 | 475 |
} |
473 |
|
|
476 |
|
|
477 |
matched = names.FirstOrDefault(param => param == PSN_NOPOCKETSETTING); |
|
478 |
dicColCheck.Clear(); |
|
479 |
dicColCheck.Add("[INDEX]", "INTEGER"); |
|
480 |
dicColCheck.Add("[TYPE]", "TEXT"); |
|
481 |
dicColCheck.Add("[NAME]", "TEXT"); |
|
482 |
if (matched == null) |
|
483 |
{ |
|
484 |
var query = $"CREATE TABLE {PSN_NOPOCKETSETTING} ([INDEX] INTEGER, [TYPE] TEXT, [NAME] TEXT)"; |
|
485 |
using (var cmd = connection.GetSqlStringCommand(query)) |
|
486 |
{ |
|
487 |
cmd.ExecuteNonQuery(); |
|
488 |
} |
|
489 |
} |
|
490 |
else |
|
491 |
{ |
|
492 |
AddColumn(PSN_NOPOCKETSETTING, dicColCheck); |
|
493 |
} |
|
494 |
|
|
474 | 495 |
|
475 | 496 |
void AddColumn(string TableName, Dictionary<string, string> dicCol) |
476 | 497 |
{ |
... | ... | |
1090 | 1111 |
return dt; |
1091 | 1112 |
} |
1092 | 1113 |
|
1114 |
public static DataTable SelectEquipmentNoPocketSetting() |
|
1115 |
{ |
|
1116 |
DataTable dt = null; |
|
1117 |
ID2Info id2Info = ID2Info.GetInstance(); |
|
1118 |
|
|
1119 |
using (IAbstractDatabase connection = id2Info.CreateConnection()) |
|
1120 |
{ |
|
1121 |
try |
|
1122 |
{ |
|
1123 |
var query = $@"SELECT [INDEX], [TYPE], [NAME] FROM {PSN_NOPOCKETSETTING};"; |
|
1124 |
using (var ds = connection.ExecuteDataSet(connection.GetSqlStringCommand(query))) |
|
1125 |
{ |
|
1126 |
dt = ds.Tables[0].Copy(); |
|
1127 |
} |
|
1128 |
} |
|
1129 |
catch (Exception ex) |
|
1130 |
{ |
|
1131 |
Log.Write(ex.Message + "\r\n" + ex.StackTrace); |
|
1132 |
} |
|
1133 |
} |
|
1134 |
|
|
1135 |
return dt; |
|
1136 |
} |
|
1137 |
|
|
1093 | 1138 |
public static bool SaveHeaderSetting(List<HeaderInfo> headerInfos) |
1094 | 1139 |
{ |
1095 | 1140 |
ID2Info id2Info = ID2Info.GetInstance(); |
... | ... | |
1240 | 1285 |
return true; |
1241 | 1286 |
} |
1242 | 1287 |
|
1288 |
public static bool SaveEquipmentNopocketSetting(List<EquipmentNoPocketItem> keywordItems) |
|
1289 |
{ |
|
1290 |
ID2Info id2Info = ID2Info.GetInstance(); |
|
1291 |
using (IAbstractDatabase connection = id2Info.CreateConnection()) |
|
1292 |
{ |
|
1293 |
using (var txn = connection.BeginTransaction()) |
|
1294 |
{ |
|
1295 |
try |
|
1296 |
{ |
|
1297 |
var query = $"DELETE FROM {PSN_NOPOCKETSETTING}"; |
|
1298 |
connection.ExecuteNonQuery(connection.GetSqlStringCommand(query), txn); |
|
1299 |
|
|
1300 |
foreach (EquipmentNoPocketItem item in keywordItems) |
|
1301 |
{ |
|
1302 |
query = $"INSERT INTO {PSN_NOPOCKETSETTING} ([INDEX], [TYPE], [NAME]) VALUES (@INDEX, @TYPE, @NAME)"; |
|
1303 |
var cmd = connection.GetSqlStringCommand(query); |
|
1304 |
AddWithValue(cmd, "@INDEX", item.Index); |
|
1305 |
AddWithValue(cmd, "@TYPE", item.Type); |
|
1306 |
AddWithValue(cmd, "@NAME", item.Name); |
|
1307 |
connection.ExecuteNonQuery(cmd, txn); |
|
1308 |
} |
|
1309 |
|
|
1310 |
txn.Commit(); |
|
1311 |
} |
|
1312 |
catch (Exception ex) |
|
1313 |
{ |
|
1314 |
Log.Write(ex.Message + "\r\n" + ex.StackTrace); |
|
1315 |
return false; |
|
1316 |
} |
|
1317 |
} |
|
1318 |
} |
|
1319 |
|
|
1320 |
return true; |
|
1321 |
} |
|
1322 |
|
|
1243 | 1323 |
public static bool SaveTopologyRule(DataTable dt) |
1244 | 1324 |
{ |
1245 | 1325 |
ID2Info id2Info = ID2Info.GetInstance(); |
... | ... | |
2791 | 2871 |
AddColumn(PSN_PIPESYSTEM, dicColCheck); |
2792 | 2872 |
} |
2793 | 2873 |
|
2874 |
matched = names.FirstOrDefault(param => param == PSN_NOPOCKETSETTING); |
|
2875 |
dicColCheck.Clear(); |
|
2876 |
dicColCheck.Add("[INDEX]", "INTEGER"); |
|
2877 |
dicColCheck.Add("[TYPE]", "TEXT"); |
|
2878 |
dicColCheck.Add("[NAME]", "TEXT"); |
|
2879 |
if (matched == null) |
|
2880 |
{ |
|
2881 |
var query = $"CREATE TABLE {PSN_NOPOCKETSETTING} ([INDEX] INTEGER, [TYPE] TEXT, [NAME] TEXT)"; |
|
2882 |
using (var cmd = connection.GetSqlStringCommand(query)) |
|
2883 |
{ |
|
2884 |
cmd.ExecuteNonQuery(); |
|
2885 |
} |
|
2886 |
} |
|
2887 |
else |
|
2888 |
{ |
|
2889 |
AddColumn(PSN_NOPOCKETSETTING, dicColCheck); |
|
2890 |
} |
|
2794 | 2891 |
|
2795 | 2892 |
var query2 = $"If(db_id(N'" + PSN_COMMON + "') IS NULL) CREATE DATABASE [" + PSN_COMMON + "]"; |
2796 | 2893 |
if (id2Info.ID2DBType == AnotherID2DB_Type.MSSQL) |
... | ... | |
3042 | 3139 |
} |
3043 | 3140 |
|
3044 | 3141 |
public static bool SaveAnotherPSNData(PSN item, List<HeaderInfo> headerInfos, List<VentDrainInfo> ventDrainInfos, |
3045 |
List<KeywordItem> keywordItems, DataTable dtTopologyRule, DataTable dtFluidCode, DataTable dtPMC, DataTable dtInsulation, DataTable dtvalvegrouping) |
|
3142 |
List<KeywordItem> keywordItems, DataTable dtTopologyRule, DataTable dtFluidCode, DataTable dtPMC, DataTable dtInsulation, DataTable dtvalvegrouping, DataTable dtnopocket)
|
|
3046 | 3143 |
{ |
3047 | 3144 |
AnotherID2Info id2Info = AnotherID2Info.GetInstance(); |
3048 | 3145 |
|
... | ... | |
3491 | 3588 |
connection.ExecuteNonQuery(cmd, txn); |
3492 | 3589 |
} |
3493 | 3590 |
|
3591 |
//no pocket Setting |
|
3592 |
query = $"DELETE FROM {PSN_NOPOCKETSETTING}"; |
|
3593 |
connection.ExecuteNonQuery(connection.GetSqlStringCommand(query), txn); |
|
3594 |
|
|
3595 |
foreach (DataRow row in dtnopocket.Rows) |
|
3596 |
{ |
|
3597 |
query = $"INSERT INTO {PSN_NOPOCKETSETTING} ([INDEX], [TYPE], [NAME]) VALUES (@INDEX, @TYPE, @NAME)"; |
|
3598 |
var cmd = connection.GetSqlStringCommand(query); |
|
3599 |
AddWithValue(cmd, "@INDEX", row["INDEX"].ToString()); |
|
3600 |
AddWithValue(cmd, "@TYPE", row["TYPE"].ToString()); |
|
3601 |
AddWithValue(cmd, "@NAME", row["NAME"].ToString()); |
|
3602 |
connection.ExecuteNonQuery(cmd, txn); |
|
3603 |
} |
|
3604 |
|
|
3494 | 3605 |
txn.Commit(); |
3495 | 3606 |
} |
3496 | 3607 |
catch (Exception ex) |
DTI_PID/ID2PSN/Form/DBSettingForm.cs | ||
---|---|---|
170 | 170 |
DataTable PSNINSULATIONDT = DB.SelectPSNINSULATIONPURPOSE(); |
171 | 171 |
|
172 | 172 |
DataTable PSNVALVALVEGROUPINGDT = DB.SelectValveGroupItemsSetting(); |
173 |
DataTable PSNNOPOCKETDT = DB.SelectEquipmentNoPocketSetting(); |
|
173 | 174 |
//DB check |
174 | 175 |
DB.ConnTestAndCreateAnotherTable(); |
175 | 176 |
|
176 | 177 |
//Save |
177 |
if (DB.SaveAnotherPSNData(_currentPSN, HeaderInfos, VentDrainInfos, KeywordInfos.KeywordItems, dtTopologyRule, PSNFluidDT, PSNPMCDT, PSNINSULATIONDT, PSNVALVALVEGROUPINGDT)) |
|
178 |
if (DB.SaveAnotherPSNData(_currentPSN, HeaderInfos, VentDrainInfos, KeywordInfos.KeywordItems, dtTopologyRule, PSNFluidDT, PSNPMCDT, PSNINSULATIONDT, PSNVALVALVEGROUPINGDT, PSNNOPOCKETDT))
|
|
178 | 179 |
{ |
179 | 180 |
if (rgDbSetting.SelectedIndex == 1) |
180 | 181 |
{ |
DTI_PID/ID2PSN/Form/EquipmentNoPocketSetting.Designer.cs | ||
---|---|---|
1 |
namespace ID2PSN |
|
2 |
{ |
|
3 |
partial class EquipmentNoPocketSetting |
|
4 |
{ |
|
5 |
/// <summary> |
|
6 |
/// Required designer variable. |
|
7 |
/// </summary> |
|
8 |
private System.ComponentModel.IContainer components = null; |
|
9 |
|
|
10 |
/// <summary> |
|
11 |
/// Clean up any resources being used. |
|
12 |
/// </summary> |
|
13 |
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
|
14 |
protected override void Dispose(bool disposing) |
|
15 |
{ |
|
16 |
if (disposing && (components != null)) |
|
17 |
{ |
|
18 |
components.Dispose(); |
|
19 |
} |
|
20 |
base.Dispose(disposing); |
|
21 |
} |
|
22 |
|
|
23 |
#region Windows Form Designer generated code |
|
24 |
|
|
25 |
/// <summary> |
|
26 |
/// Required method for Designer support - do not modify |
|
27 |
/// the contents of this method with the code editor. |
|
28 |
/// </summary> |
|
29 |
private void InitializeComponent() |
|
30 |
{ |
|
31 |
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EquipmentNoPocketSetting)); |
|
32 |
this.ribbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
|
33 |
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
|
34 |
this.gridEquipment = new DevExpress.XtraGrid.GridControl(); |
|
35 |
this.gridViewEquipment = new DevExpress.XtraGrid.Views.Grid.GridView(); |
|
36 |
this.btnClose = new DevExpress.XtraEditors.SimpleButton(); |
|
37 |
this.btnSave = new DevExpress.XtraEditors.SimpleButton(); |
|
38 |
this.btnAddValveGroup = new DevExpress.XtraEditors.SimpleButton(); |
|
39 |
this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
40 |
this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); |
|
41 |
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
42 |
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
43 |
this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); |
|
44 |
this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
45 |
this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
46 |
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
47 |
this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
|
48 |
((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit(); |
|
49 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); |
|
50 |
this.layoutControl1.SuspendLayout(); |
|
51 |
((System.ComponentModel.ISupportInitialize)(this.gridEquipment)).BeginInit(); |
|
52 |
((System.ComponentModel.ISupportInitialize)(this.gridViewEquipment)).BeginInit(); |
|
53 |
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); |
|
54 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); |
|
55 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); |
|
56 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); |
|
57 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); |
|
58 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); |
|
59 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); |
|
60 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); |
|
61 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); |
|
62 |
this.SuspendLayout(); |
|
63 |
// |
|
64 |
// ribbonControl |
|
65 |
// |
|
66 |
this.ribbonControl.ExpandCollapseItem.Id = 0; |
|
67 |
this.ribbonControl.Items.AddRange(new DevExpress.XtraBars.BarItem[] { |
|
68 |
this.ribbonControl.ExpandCollapseItem, |
|
69 |
this.ribbonControl.SearchEditItem}); |
|
70 |
this.ribbonControl.Location = new System.Drawing.Point(0, 0); |
|
71 |
this.ribbonControl.MaxItemId = 1; |
|
72 |
this.ribbonControl.Name = "ribbonControl"; |
|
73 |
this.ribbonControl.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; |
|
74 |
this.ribbonControl.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False; |
|
75 |
this.ribbonControl.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages; |
|
76 |
this.ribbonControl.ShowToolbarCustomizeItem = false; |
|
77 |
this.ribbonControl.Size = new System.Drawing.Size(623, 32); |
|
78 |
this.ribbonControl.Toolbar.ShowCustomizeItem = false; |
|
79 |
// |
|
80 |
// layoutControl1 |
|
81 |
// |
|
82 |
this.layoutControl1.Controls.Add(this.gridEquipment); |
|
83 |
this.layoutControl1.Controls.Add(this.btnClose); |
|
84 |
this.layoutControl1.Controls.Add(this.btnSave); |
|
85 |
this.layoutControl1.Controls.Add(this.btnAddValveGroup); |
|
86 |
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; |
|
87 |
this.layoutControl1.Location = new System.Drawing.Point(0, 32); |
|
88 |
this.layoutControl1.Name = "layoutControl1"; |
|
89 |
this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(488, 408, 650, 400); |
|
90 |
this.layoutControl1.Root = this.Root; |
|
91 |
this.layoutControl1.Size = new System.Drawing.Size(623, 639); |
|
92 |
this.layoutControl1.TabIndex = 1; |
|
93 |
this.layoutControl1.Text = "layoutControl1"; |
|
94 |
// |
|
95 |
// gridEquipment |
|
96 |
// |
|
97 |
this.gridEquipment.Location = new System.Drawing.Point(24, 69); |
|
98 |
this.gridEquipment.MainView = this.gridViewEquipment; |
|
99 |
this.gridEquipment.MenuManager = this.ribbonControl; |
|
100 |
this.gridEquipment.Name = "gridEquipment"; |
|
101 |
this.gridEquipment.Size = new System.Drawing.Size(575, 506); |
|
102 |
this.gridEquipment.TabIndex = 4; |
|
103 |
this.gridEquipment.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
|
104 |
this.gridViewEquipment}); |
|
105 |
// |
|
106 |
// gridViewEquipment |
|
107 |
// |
|
108 |
this.gridViewEquipment.GridControl = this.gridEquipment; |
|
109 |
this.gridViewEquipment.Name = "gridViewEquipment"; |
|
110 |
this.gridViewEquipment.OptionsView.ShowGroupPanel = false; |
|
111 |
// |
|
112 |
// btnClose |
|
113 |
// |
|
114 |
this.btnClose.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnClose.ImageOptions.Image"))); |
|
115 |
this.btnClose.Location = new System.Drawing.Point(541, 591); |
|
116 |
this.btnClose.Name = "btnClose"; |
|
117 |
this.btnClose.Size = new System.Drawing.Size(70, 36); |
|
118 |
this.btnClose.StyleController = this.layoutControl1; |
|
119 |
this.btnClose.TabIndex = 5; |
|
120 |
this.btnClose.Text = "Close"; |
|
121 |
this.btnClose.Click += new System.EventHandler(this.btnClose_Click); |
|
122 |
// |
|
123 |
// btnSave |
|
124 |
// |
|
125 |
this.btnSave.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.ImageOptions.Image"))); |
|
126 |
this.btnSave.Location = new System.Drawing.Point(449, 591); |
|
127 |
this.btnSave.Name = "btnSave"; |
|
128 |
this.btnSave.Size = new System.Drawing.Size(68, 36); |
|
129 |
this.btnSave.StyleController = this.layoutControl1; |
|
130 |
this.btnSave.TabIndex = 6; |
|
131 |
this.btnSave.Text = "Save"; |
|
132 |
this.btnSave.Click += new System.EventHandler(this.btnSave_Click); |
|
133 |
// |
|
134 |
// btnAddValveGroup |
|
135 |
// |
|
136 |
this.btnAddValveGroup.Location = new System.Drawing.Point(472, 43); |
|
137 |
this.btnAddValveGroup.Name = "btnAddValveGroup"; |
|
138 |
this.btnAddValveGroup.Size = new System.Drawing.Size(127, 22); |
|
139 |
this.btnAddValveGroup.StyleController = this.layoutControl1; |
|
140 |
this.btnAddValveGroup.TabIndex = 2; |
|
141 |
this.btnAddValveGroup.Text = " Add Equipment"; |
|
142 |
this.btnAddValveGroup.Click += new System.EventHandler(this.btnAddSymbol_Click); |
|
143 |
// |
|
144 |
// Root |
|
145 |
// |
|
146 |
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
|
147 |
this.Root.GroupBordersVisible = false; |
|
148 |
this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
149 |
this.emptySpaceItem3, |
|
150 |
this.layoutControlItem4, |
|
151 |
this.layoutControlItem5, |
|
152 |
this.emptySpaceItem2, |
|
153 |
this.layoutControlGroup2}); |
|
154 |
this.Root.Name = "Root"; |
|
155 |
this.Root.Size = new System.Drawing.Size(623, 639); |
|
156 |
this.Root.TextVisible = false; |
|
157 |
// |
|
158 |
// emptySpaceItem3 |
|
159 |
// |
|
160 |
this.emptySpaceItem3.AllowHotTrack = false; |
|
161 |
this.emptySpaceItem3.Location = new System.Drawing.Point(0, 579); |
|
162 |
this.emptySpaceItem3.Name = "emptySpaceItem3"; |
|
163 |
this.emptySpaceItem3.Size = new System.Drawing.Size(437, 40); |
|
164 |
this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); |
|
165 |
// |
|
166 |
// layoutControlItem4 |
|
167 |
// |
|
168 |
this.layoutControlItem4.Control = this.btnSave; |
|
169 |
this.layoutControlItem4.Location = new System.Drawing.Point(437, 579); |
|
170 |
this.layoutControlItem4.MaxSize = new System.Drawing.Size(72, 40); |
|
171 |
this.layoutControlItem4.MinSize = new System.Drawing.Size(72, 40); |
|
172 |
this.layoutControlItem4.Name = "layoutControlItem4"; |
|
173 |
this.layoutControlItem4.Size = new System.Drawing.Size(72, 40); |
|
174 |
this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
|
175 |
this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); |
|
176 |
this.layoutControlItem4.TextVisible = false; |
|
177 |
// |
|
178 |
// layoutControlItem5 |
|
179 |
// |
|
180 |
this.layoutControlItem5.Control = this.btnClose; |
|
181 |
this.layoutControlItem5.Location = new System.Drawing.Point(529, 579); |
|
182 |
this.layoutControlItem5.MaxSize = new System.Drawing.Size(74, 40); |
|
183 |
this.layoutControlItem5.MinSize = new System.Drawing.Size(74, 40); |
|
184 |
this.layoutControlItem5.Name = "layoutControlItem5"; |
|
185 |
this.layoutControlItem5.Size = new System.Drawing.Size(74, 40); |
|
186 |
this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
|
187 |
this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); |
|
188 |
this.layoutControlItem5.TextVisible = false; |
|
189 |
// |
|
190 |
// emptySpaceItem2 |
|
191 |
// |
|
192 |
this.emptySpaceItem2.AllowHotTrack = false; |
|
193 |
this.emptySpaceItem2.Location = new System.Drawing.Point(509, 579); |
|
194 |
this.emptySpaceItem2.MaxSize = new System.Drawing.Size(20, 40); |
|
195 |
this.emptySpaceItem2.MinSize = new System.Drawing.Size(20, 40); |
|
196 |
this.emptySpaceItem2.Name = "emptySpaceItem2"; |
|
197 |
this.emptySpaceItem2.Size = new System.Drawing.Size(20, 40); |
|
198 |
this.emptySpaceItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
|
199 |
this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); |
|
200 |
// |
|
201 |
// layoutControlGroup2 |
|
202 |
// |
|
203 |
this.layoutControlGroup2.CustomizationFormText = "Valve Group Items"; |
|
204 |
this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
205 |
this.layoutControlItem6, |
|
206 |
this.layoutControlItem3, |
|
207 |
this.emptySpaceItem1}); |
|
208 |
this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0); |
|
209 |
this.layoutControlGroup2.Name = "layoutControlGroup2"; |
|
210 |
this.layoutControlGroup2.Size = new System.Drawing.Size(603, 579); |
|
211 |
this.layoutControlGroup2.Text = "Equipment No Pocket Items"; |
|
212 |
// |
|
213 |
// layoutControlItem6 |
|
214 |
// |
|
215 |
this.layoutControlItem6.Control = this.gridEquipment; |
|
216 |
this.layoutControlItem6.Location = new System.Drawing.Point(0, 26); |
|
217 |
this.layoutControlItem6.Name = "layoutControlItem6"; |
|
218 |
this.layoutControlItem6.Size = new System.Drawing.Size(579, 510); |
|
219 |
this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); |
|
220 |
this.layoutControlItem6.TextVisible = false; |
|
221 |
// |
|
222 |
// layoutControlItem3 |
|
223 |
// |
|
224 |
this.layoutControlItem3.Control = this.btnAddValveGroup; |
|
225 |
this.layoutControlItem3.Location = new System.Drawing.Point(448, 0); |
|
226 |
this.layoutControlItem3.Name = "layoutControlItem3"; |
|
227 |
this.layoutControlItem3.Size = new System.Drawing.Size(131, 26); |
|
228 |
this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); |
|
229 |
this.layoutControlItem3.TextVisible = false; |
|
230 |
// |
|
231 |
// emptySpaceItem1 |
|
232 |
// |
|
233 |
this.emptySpaceItem1.AllowHotTrack = false; |
|
234 |
this.emptySpaceItem1.Location = new System.Drawing.Point(0, 0); |
|
235 |
this.emptySpaceItem1.Name = "emptySpaceItem1"; |
|
236 |
this.emptySpaceItem1.Size = new System.Drawing.Size(448, 26); |
|
237 |
this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); |
|
238 |
// |
|
239 |
// EquipmentNoPocketSetting |
|
240 |
// |
|
241 |
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); |
|
242 |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
243 |
this.ClientSize = new System.Drawing.Size(623, 671); |
|
244 |
this.Controls.Add(this.layoutControl1); |
|
245 |
this.Controls.Add(this.ribbonControl); |
|
246 |
this.Name = "EquipmentNoPocketSetting"; |
|
247 |
this.Ribbon = this.ribbonControl; |
|
248 |
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
|
249 |
this.Text = "Equipment No Pocket Setting"; |
|
250 |
((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).EndInit(); |
|
251 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); |
|
252 |
this.layoutControl1.ResumeLayout(false); |
|
253 |
((System.ComponentModel.ISupportInitialize)(this.gridEquipment)).EndInit(); |
|
254 |
((System.ComponentModel.ISupportInitialize)(this.gridViewEquipment)).EndInit(); |
|
255 |
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); |
|
256 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); |
|
257 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); |
|
258 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); |
|
259 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); |
|
260 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); |
|
261 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); |
|
262 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); |
|
263 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); |
|
264 |
this.ResumeLayout(false); |
|
265 |
this.PerformLayout(); |
|
266 |
|
|
267 |
} |
|
268 |
|
|
269 |
#endregion |
|
270 |
|
|
271 |
private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl; |
|
272 |
private DevExpress.XtraLayout.LayoutControl layoutControl1; |
|
273 |
private DevExpress.XtraLayout.LayoutControlGroup Root; |
|
274 |
private DevExpress.XtraEditors.SimpleButton btnAddValveGroup; |
|
275 |
private DevExpress.XtraEditors.SimpleButton btnClose; |
|
276 |
private DevExpress.XtraEditors.SimpleButton btnSave; |
|
277 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
|
278 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
|
279 |
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem3; |
|
280 |
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2; |
|
281 |
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup2; |
|
282 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
|
283 |
private DevExpress.XtraGrid.GridControl gridEquipment; |
|
284 |
private DevExpress.XtraGrid.Views.Grid.GridView gridViewEquipment; |
|
285 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; |
|
286 |
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; |
|
287 |
} |
|
288 |
} |
DTI_PID/ID2PSN/Form/EquipmentNoPocketSetting.cs | ||
---|---|---|
1 |
using System; |
|
2 |
using System.Collections.Generic; |
|
3 |
using System.ComponentModel; |
|
4 |
using System.Data; |
|
5 |
using System.Drawing; |
|
6 |
using System.Linq; |
|
7 |
using System.Text; |
|
8 |
using System.Threading.Tasks; |
|
9 |
using System.Windows.Forms; |
|
10 |
using System.IO; |
|
11 |
using DevExpress.XtraEditors.Repository; |
|
12 |
using DevExpress.XtraGrid.Columns; |
|
13 |
using DevExpress.XtraGrid; |
|
14 |
using DevExpress.XtraGrid.Views.Grid; |
|
15 |
using DevExpress.Utils.StructuredStorage.Internal.Reader; |
|
16 |
using DevExpress.XtraTreeList; |
|
17 |
using DevExpress.XtraTreeList.Columns; |
|
18 |
using DevExpress.XtraTreeList.Nodes; |
|
19 |
using DevExpress.Utils.Extensions; |
|
20 |
using DevExpress.Utils; |
|
21 |
using DevExpress.Utils.Drawing; |
|
22 |
|
|
23 |
namespace ID2PSN |
|
24 |
{ |
|
25 |
public partial class EquipmentNoPocketSetting : DevExpress.XtraBars.Ribbon.RibbonForm |
|
26 |
{ |
|
27 |
ID2Info ID2Info = ID2Info.GetInstance(); |
|
28 |
List<EquipmentNoPocketInfo> EquipmentNoPocketInfos = new List<EquipmentNoPocketInfo>(); |
|
29 |
EquipmentNoPocketInfo currentEquipmentNoPocketInfo = null; |
|
30 |
private RepositoryItemComboBox repositoryGroupType = new RepositoryItemComboBox(); |
|
31 |
|
|
32 |
public EquipmentNoPocketSetting() |
|
33 |
{ |
|
34 |
InitializeComponent(); |
|
35 |
|
|
36 |
InitGridEquipmentNoPocket(); |
|
37 |
|
|
38 |
EquipmentNoPocketInfos = new List<EquipmentNoPocketInfo>(); |
|
39 |
currentEquipmentNoPocketInfo = new EquipmentNoPocketInfo(); |
|
40 |
|
|
41 |
InitData(); |
|
42 |
} |
|
43 |
|
|
44 |
public void InitGridEquipmentNoPocket() |
|
45 |
{ |
|
46 |
RepositoryItemButtonEdit btnRemove = new RepositoryItemButtonEdit(); |
|
47 |
btnRemove.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; |
|
48 |
btnRemove.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(removeSymbolButton_Click); |
|
49 |
btnRemove.Buttons[0].Kind = DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph; |
|
50 |
btnRemove.Buttons[0].ImageOptions.Image = ID2PSN.Properties.Resources.cancel_16x16; |
|
51 |
|
|
52 |
gridEquipment.RepositoryItems.Add(btnRemove); |
|
53 |
|
|
54 |
DataTable dtType = new DataTable(); |
|
55 |
dtType.Columns.Add("Index"); |
|
56 |
dtType.Columns.Add("Type"); |
|
57 |
dtType.Columns.Add("SppidSymbolName"); |
|
58 |
dtType.Columns.Add(" "); |
|
59 |
gridEquipment.DataSource = dtType; |
|
60 |
|
|
61 |
GridColumn gridColumn = gridViewEquipment.Columns[0]; |
|
62 |
|
|
63 |
|
|
64 |
gridColumn.Name = "Index"; |
|
65 |
gridColumn.Caption = "Index"; |
|
66 |
gridColumn.OptionsColumn.AllowEdit = false; |
|
67 |
gridColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; |
|
68 |
gridColumn.VisibleIndex = 0; |
|
69 |
|
|
70 |
repositoryGroupType = new RepositoryItemComboBox(); |
|
71 |
repositoryGroupType.Items.AddRange(new string[] { "Pump(To)", "Tower", "Vertical Vessel" }); |
|
72 |
repositoryGroupType.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; |
|
73 |
|
|
74 |
gridEquipment.RepositoryItems.Add(repositoryGroupType); |
|
75 |
gridColumn = gridViewEquipment.Columns[1]; |
|
76 |
gridColumn.Name = "Type"; |
|
77 |
gridColumn.Caption = "Type"; |
|
78 |
gridColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; |
|
79 |
gridColumn.VisibleIndex = 1; |
|
80 |
gridViewEquipment.Columns["Type"].ColumnEdit = repositoryGroupType; |
|
81 |
|
|
82 |
gridColumn = gridViewEquipment.Columns[2]; |
|
83 |
gridColumn.Name = "SppidSymbolName"; |
|
84 |
gridColumn.Caption = "ID2 Symbol Name"; |
|
85 |
gridColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; |
|
86 |
gridColumn.VisibleIndex = 2; |
|
87 |
|
|
88 |
RepositoryItemTreeListLookUpEdit treeListLookUpEdit = new RepositoryItemTreeListLookUpEdit(); |
|
89 |
gridEquipment.RepositoryItems.Add(treeListLookUpEdit); |
|
90 |
SetSymbol(treeListLookUpEdit); |
|
91 |
|
|
92 |
gridViewEquipment.Columns["SppidSymbolName"].ColumnEdit = treeListLookUpEdit; |
|
93 |
|
|
94 |
gridColumn = gridViewEquipment.Columns[3]; |
|
95 |
gridColumn.Name = "Remove"; |
|
96 |
gridColumn.Caption = ""; |
|
97 |
gridColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; |
|
98 |
gridColumn.VisibleIndex = 3; |
|
99 |
gridColumn.MaxWidth = 16; |
|
100 |
|
|
101 |
gridColumn.ColumnEdit = btnRemove; |
|
102 |
gridColumn.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways; |
|
103 |
} |
|
104 |
|
|
105 |
|
|
106 |
private void GridViewKeyword_CustomDrawColumnHeader(object sender, ColumnHeaderCustomDrawEventArgs e) |
|
107 |
{ |
|
108 |
if (e.Column == null || (e.Column.AppearanceHeader.BackColor == Color.Empty && !e.Column.AppearanceHeader.Options.UseBackColor)) |
|
109 |
|
|
110 |
return; |
|
111 |
|
|
112 |
Rectangle rect = e.Bounds; |
|
113 |
|
|
114 |
rect.Inflate(-1, -1); |
|
115 |
|
|
116 |
// Fill the title color. |
|
117 |
|
|
118 |
e.Graphics.FillRectangle(new SolidBrush(e.Column.AppearanceHeader.BackColor), rect); |
|
119 |
|
|
120 |
e.Appearance.DrawString(e.Cache, e.Info.Caption, e.Info.CaptionRect); |
|
121 |
|
|
122 |
// Draw filter and sort buttons. |
|
123 |
|
|
124 |
foreach (DrawElementInfo info in e.Info.InnerElements) |
|
125 |
|
|
126 |
{ |
|
127 |
|
|
128 |
if (!info.Visible) continue; |
|
129 |
|
|
130 |
ObjectPainter.DrawObject(e.Cache, info.ElementPainter, info.ElementInfo); |
|
131 |
|
|
132 |
} |
|
133 |
|
|
134 |
e.Handled = true; |
|
135 |
} |
|
136 |
|
|
137 |
public void InitData() |
|
138 |
{ |
|
139 |
DataTable dt = DB.SelectEquipmentNoPocketSetting(); |
|
140 |
DataTable typeDT = gridEquipment.DataSource as DataTable; |
|
141 |
foreach (DataRow row in dt.Rows) |
|
142 |
{ |
|
143 |
int index = Convert.ToInt32(row["INDEX"]); |
|
144 |
string Type = row["TYPE"].ToString(); |
|
145 |
string SppidSymbolName = row["NAME"].ToString(); |
|
146 |
|
|
147 |
typeDT.Rows.Add(index, Type, SppidSymbolName, null); |
|
148 |
} |
|
149 |
|
|
150 |
} |
|
151 |
|
|
152 |
private void removeSymbolButton_Click(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) |
|
153 |
{ |
|
154 |
DataTable dt = gridEquipment.DataSource as DataTable; |
|
155 |
DataRow rows = dt.Rows[gridViewEquipment.FocusedRowHandle]; |
|
156 |
if (rows != null) |
|
157 |
dt.Rows.Remove(rows); |
|
158 |
} |
|
159 |
|
|
160 |
public void SetSymbol(RepositoryItemTreeListLookUpEdit treeListLookUpEdit) |
|
161 |
{ |
|
162 |
string imgPath = ID2Info.ImageDirPath; |
|
163 |
string[] filesPath = Directory.GetFiles(imgPath, "*.png", SearchOption.AllDirectories); |
|
164 |
|
|
165 |
DataTable dt = new DataTable(); |
|
166 |
dt.Columns.Add("ID", typeof(int)); |
|
167 |
dt.Columns.Add("ParentID", typeof(int)); |
|
168 |
dt.Columns.Add("Name", typeof(string)); |
|
169 |
dt.Columns.Add("Level", typeof(int)); |
|
170 |
dt.Columns.Add("Image", typeof(Image)); |
|
171 |
dt.PrimaryKey = new DataColumn[] { dt.Columns["ID"] }; |
|
172 |
|
|
173 |
treeListLookUpEdit.DataSource = dt; |
|
174 |
treeListLookUpEdit.ValueMember = "Name"; |
|
175 |
treeListLookUpEdit.DisplayMember = "Name"; |
|
176 |
treeListLookUpEdit.TreeList.Columns["Level"].Visible = false; |
|
177 |
treeListLookUpEdit.NullText = ""; |
|
178 |
|
|
179 |
treeListLookUpEdit.EditValueChanging += new DevExpress.XtraEditors.Controls.ChangingEventHandler(TreeList_BeforeCheckNode); |
|
180 |
|
|
181 |
treeListLookUpEdit.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; |
|
182 |
|
|
183 |
bool bLine = true; |
|
184 |
List<string> level1Index = new List<string>(); |
|
185 |
foreach (var path in filesPath) |
|
186 |
{ |
|
187 |
if (Path.GetFileNameWithoutExtension(path).Contains("_display")) |
|
188 |
continue; |
|
189 |
|
|
190 |
string root = path.Remove(0, imgPath.Length); |
|
191 |
string[] split = root.Split(new string[] { @"\" }, StringSplitOptions.None); |
|
192 |
string level1 = split[0]; |
|
193 |
if (!level1Index.Contains(level1)) |
|
194 |
{ |
|
195 |
level1Index.Add(level1); |
|
196 |
dt.Rows.Add(level1Index.IndexOf(level1) + 1, 0, level1, 0); |
|
197 |
} |
|
198 |
|
|
199 |
int parentId = level1Index.IndexOf(level1) + 1; |
|
200 |
string level2 = split[1]; |
|
201 |
//combobox image size 변경 |
|
202 |
Image image = Image.FromFile(Path.Combine(imgPath, root)); |
|
203 |
Bitmap imgbitmap = new Bitmap(image); |
|
204 |
Image resizedImage = resizeImage(imgbitmap, new Size(200, 200)); |
|
205 |
|
|
206 |
dt.Rows.Add(filesPath.ToList().IndexOf(path) + 10000, parentId, Path.GetFileNameWithoutExtension(path), 1, resizedImage); |
|
207 |
|
|
208 |
if (Path.GetFileNameWithoutExtension(path) == "Connect To Process" && bLine) |
|
209 |
{ |
|
210 |
bLine = false; |
|
211 |
dt.Rows.Add(filesPath.ToList().IndexOf(path) + 20000, parentId, "Primary", 1, resizedImage); |
|
212 |
dt.Rows.Add(filesPath.ToList().IndexOf(path) + 30000, parentId, "Secondary", 1, resizedImage); |
|
213 |
} |
|
214 |
} |
|
215 |
} |
|
216 |
|
|
217 |
public static Image resizeImage(Image imgToResize, Size size) |
|
218 |
{ |
|
219 |
return (Image)(new Bitmap(imgToResize, size)); |
|
220 |
} |
|
221 |
|
|
222 |
private void btnAddSymbol_Click(object sender, EventArgs e) |
|
223 |
{ |
|
224 |
if (currentEquipmentNoPocketInfo == null) |
|
225 |
{ |
|
226 |
currentEquipmentNoPocketInfo = new EquipmentNoPocketInfo(); |
|
227 |
} |
|
228 |
|
|
229 |
DataTable dt = gridEquipment.DataSource as DataTable; |
|
230 |
dt.Rows.Add(dt.Rows.Count + 1, null, null, null); |
|
231 |
gridViewEquipment.Columns["Index"].BestFit(); |
|
232 |
|
|
233 |
|
|
234 |
|
|
235 |
//if (currentEquipmentNoPocketInfo == null) |
|
236 |
//{ |
|
237 |
// currentEquipmentNoPocketInfo = new EquipmentNoPocketInfo(); |
|
238 |
//} |
|
239 |
|
|
240 |
|
|
241 |
//dt.Rows.Add(null, null, null, null); |
|
242 |
//gridViewEquipment.Columns["Type"].BestFit(); |
|
243 |
} |
|
244 |
|
|
245 |
|
|
246 |
public void ReNumbering(EquipmentNoPocketInfo equipmentNoPocketInfo) |
|
247 |
{ |
|
248 |
DataTable dt = gridEquipment.DataSource as DataTable; |
|
249 |
equipmentNoPocketInfo.EquipmentNoPocketItem.Clear(); |
|
250 |
for (int i = 0; i < dt.Rows.Count; i++) |
|
251 |
{ |
|
252 |
DataRow row = dt.Rows[i]; |
|
253 |
row["Index"] = i + 1; |
|
254 |
equipmentNoPocketInfo.EquipmentNoPocketItem.Add(new EquipmentNoPocketItem() |
|
255 |
{ |
|
256 |
Index = i + 1, |
|
257 |
Type = row["Type"].ToString(), |
|
258 |
Name = row["SppidSymbolName"].ToString() |
|
259 |
}); |
|
260 |
} |
|
261 |
} |
|
262 |
|
|
263 |
private void gridViewType_BeforeLeaveRow(object sender, DevExpress.XtraGrid.Views.Base.RowAllowEventArgs e) |
|
264 |
{ |
|
265 |
ReNumbering(currentEquipmentNoPocketInfo); |
|
266 |
} |
|
267 |
|
|
268 |
|
|
269 |
private void TreeList_BeforeCheckNode(object sender, DevExpress.XtraEditors.Controls.ChangingEventArgs e) |
|
270 |
{ |
|
271 |
DevExpress.XtraEditors.TreeListLookUpEdit treeListLookUpEdit = sender as DevExpress.XtraEditors.TreeListLookUpEdit; |
|
272 |
if (treeListLookUpEdit.Properties.TreeList.FocusedNode == null) |
|
273 |
return; |
|
274 |
|
|
275 |
if (treeListLookUpEdit.Properties.TreeList.FocusedNode.Level == 0) |
|
276 |
e.Cancel = true; |
|
277 |
|
|
278 |
|
|
279 |
} |
|
280 |
|
|
281 |
private void btnSave_Click(object sender, EventArgs e) |
|
282 |
{ |
|
283 |
if (currentEquipmentNoPocketInfo == null) |
|
284 |
{ |
|
285 |
currentEquipmentNoPocketInfo = new EquipmentNoPocketInfo(); |
|
286 |
} |
|
287 |
|
|
288 |
ReNumbering(currentEquipmentNoPocketInfo); |
|
289 |
if (currentEquipmentNoPocketInfo.EquipmentNoPocketItem.Find(x => x.Type == string.Empty || x.Name == string.Empty) != null) |
|
290 |
{ |
|
291 |
MessageBox.Show("Please save after entering data.", "ID2 " + ID2Info.ProgramName, MessageBoxButtons.OK, MessageBoxIcon.Warning); |
|
292 |
return; |
|
293 |
} |
|
294 |
|
|
295 |
if (DB.SaveEquipmentNopocketSetting(currentEquipmentNoPocketInfo.EquipmentNoPocketItem)) |
|
296 |
MessageBox.Show("Save was successful", "ID2 " + ID2Info.ProgramName, MessageBoxButtons.OK, MessageBoxIcon.Information); |
|
297 |
else |
|
298 |
MessageBox.Show("Failed to save", "ID2 " + ID2Info.ProgramName, MessageBoxButtons.OK, MessageBoxIcon.Warning); |
|
299 |
|
|
300 |
|
|
301 |
} |
|
302 |
|
|
303 |
private void btnClose_Click(object sender, EventArgs e) |
|
304 |
{ |
|
305 |
DialogResult = DialogResult.Cancel; |
|
306 |
} |
|
307 |
} |
|
308 |
} |
DTI_PID/ID2PSN/Form/EquipmentNoPocketSetting.resx | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<root> |
|
3 |
<!-- |
|
4 |
Microsoft ResX Schema |
|
5 |
|
|
6 |
Version 2.0 |
|
7 |
|
|
8 |
The primary goals of this format is to allow a simple XML format |
|
9 |
that is mostly human readable. The generation and parsing of the |
|
10 |
various data types are done through the TypeConverter classes |
|
11 |
associated with the data types. |
|
12 |
|
|
13 |
Example: |
|
14 |
|
|
15 |
... ado.net/XML headers & schema ... |
|
16 |
<resheader name="resmimetype">text/microsoft-resx</resheader> |
|
17 |
<resheader name="version">2.0</resheader> |
|
18 |
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
|
19 |
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
|
20 |
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
|
21 |
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
|
22 |
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
|
23 |
<value>[base64 mime encoded serialized .NET Framework object]</value> |
|
24 |
</data> |
|
25 |
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
|
26 |
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
|
27 |
<comment>This is a comment</comment> |
|
28 |
</data> |
|
29 |
|
|
30 |
There are any number of "resheader" rows that contain simple |
|
31 |
name/value pairs. |
|
32 |
|
|
33 |
Each data row contains a name, and value. The row also contains a |
|
34 |
type or mimetype. Type corresponds to a .NET class that support |
|
35 |
text/value conversion through the TypeConverter architecture. |
|
36 |
Classes that don't support this are serialized and stored with the |
|
37 |
mimetype set. |
|
38 |
|
|
39 |
The mimetype is used for serialized objects, and tells the |
|
40 |
ResXResourceReader how to depersist the object. This is currently not |
|
41 |
extensible. For a given mimetype the value must be set accordingly: |
|
42 |
|
|
43 |
Note - application/x-microsoft.net.object.binary.base64 is the format |
|
44 |
that the ResXResourceWriter will generate, however the reader can |
|
45 |
read any of the formats listed below. |
|
46 |
|
|
47 |
mimetype: application/x-microsoft.net.object.binary.base64 |
|
48 |
value : The object must be serialized with |
|
49 |
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
|
50 |
: and then encoded with base64 encoding. |
|
51 |
|
|
52 |
mimetype: application/x-microsoft.net.object.soap.base64 |
|
53 |
value : The object must be serialized with |
|
54 |
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
|
55 |
: and then encoded with base64 encoding. |
|
56 |
|
|
57 |
mimetype: application/x-microsoft.net.object.bytearray.base64 |
|
58 |
value : The object must be serialized into a byte array |
|
59 |
: using a System.ComponentModel.TypeConverter |
|
60 |
: and then encoded with base64 encoding. |
|
61 |
--> |
|
62 |
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
|
63 |
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
|
64 |
<xsd:element name="root" msdata:IsDataSet="true"> |
|
65 |
<xsd:complexType> |
|
66 |
<xsd:choice maxOccurs="unbounded"> |
|
67 |
<xsd:element name="metadata"> |
|
68 |
<xsd:complexType> |
|
69 |
<xsd:sequence> |
|
70 |
<xsd:element name="value" type="xsd:string" minOccurs="0" /> |
|
71 |
</xsd:sequence> |
|
72 |
<xsd:attribute name="name" use="required" type="xsd:string" /> |
|
73 |
<xsd:attribute name="type" type="xsd:string" /> |
|
74 |
<xsd:attribute name="mimetype" type="xsd:string" /> |
|
75 |
<xsd:attribute ref="xml:space" /> |
|
76 |
</xsd:complexType> |
|
77 |
</xsd:element> |
|
78 |
<xsd:element name="assembly"> |
|
79 |
<xsd:complexType> |
|
80 |
<xsd:attribute name="alias" type="xsd:string" /> |
|
81 |
<xsd:attribute name="name" type="xsd:string" /> |
|
82 |
</xsd:complexType> |
|
83 |
</xsd:element> |
|
84 |
<xsd:element name="data"> |
|
85 |
<xsd:complexType> |
|
86 |
<xsd:sequence> |
|
87 |
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|
88 |
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
|
89 |
</xsd:sequence> |
|
90 |
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
|
91 |
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
|
92 |
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
|
93 |
<xsd:attribute ref="xml:space" /> |
|
94 |
</xsd:complexType> |
|
95 |
</xsd:element> |
|
96 |
<xsd:element name="resheader"> |
|
97 |
<xsd:complexType> |
|
98 |
<xsd:sequence> |
|
99 |
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|
100 |
</xsd:sequence> |
|
101 |
<xsd:attribute name="name" type="xsd:string" use="required" /> |
|
102 |
</xsd:complexType> |
|
103 |
</xsd:element> |
|
104 |
</xsd:choice> |
|
105 |
</xsd:complexType> |
|
106 |
</xsd:element> |
|
107 |
</xsd:schema> |
|
108 |
<resheader name="resmimetype"> |
|
109 |
<value>text/microsoft-resx</value> |
|
110 |
</resheader> |
|
111 |
<resheader name="version"> |
|
112 |
<value>2.0</value> |
|
113 |
</resheader> |
|
114 |
<resheader name="reader"> |
|
115 |
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|
116 |
</resheader> |
|
117 |
<resheader name="writer"> |
|
118 |
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|
119 |
</resheader> |
|
120 |
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
|
121 |
<data name="btnClose.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
|
122 |
<value> |
|
123 |
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAB10RVh0VGl0 |
|
124 |
bGUAQ2xvc2U7RXhpdDtCYXJzO1JpYmJvbjtGA7noAAAI60lEQVRYR8WXd1RUZxqHzWaz6ZqiJrFEowYE |
|
125 |
RVRAhYGBoQ1SFGRVEvvKqsGCx8AqqBQVNLoqxY49alBEiggaiUoHUcqAdFH6DEVEmuSf377vHQbBWXfP |
|
126 |
2bN79jvn8bt3Zpjn977f/e5cBwH4vyKMmuA9g2qC9vDhW/+GP/wXeKs0wJemfqP6QCBPKsEfiXeIP73G |
|
127 |
u2/gvX/B+/3gc/48fz97BgyWv53js9myItA3u3K3Hyp3++IxE+gLeg0VAcQuH2I7ylXs3IbSHSq2otT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tEllyPb3w83bSQoXDYXhfReAofw80GnvAF5oSF0IRohx8VWkGZaTEemOTMNifqa |
|
153 |
ODFhKgf4ghgQgNvxebg+Xyxi3JcaKLE2oCoMhDCyJXORaGeJWIkJ7jhYI3+xvbIyIn+RHW7bmuMq/QbE |
|
154 |
007J/c5OkGeYTkOm6VRkmOkindb/9tQJOPaNLgf4klAPcHG6CPfpZpFFqbMs9IT0fMwVZFErZYvojrbS |
|
155 |
me7pUmT1ViUgmU63WSsULnek9+iGZaaHDPEUkk5BmojRQRqt/02dcTg8VocDfEWoBRh6QXcWsuhiyZBQ |
|
156 |
aoaS981chVDJVKSb0mxKAhN6nUXGfKyDdEE0GWlGOkg1nPQKWvvUmVpImDwGh0ZrqwXgfzjAMN4iGVQR |
|
157 |
f1kafWmamL5UOKYvNabZhGeCRKk0pxoRLBApRSkMyVIMtZBCwpSZE5EyQxPJMyYiyUATcVqjETJiIgcY |
|
158 |
QfAj+oAAQ09r6wttSxVpUxWUuh8pPHMlvfQJZtK5IJpIIqUsmWRMkoEGkvS+7eO65igEfanxTzsgbMMw |
|
159 |
jWnyGB1N3NIdhwSdb4ixiJ805hXaXwvECefKY+GcoeoESBI3kdAcScJeNEYQIxE+djT2DZ/Aj+V8IxoQ |
|
160 |
QHgk2zpac9HR8VOajo/XBXNs3BS6anVwZOxkgcNjJgkc+loboaMnIXSUFkJHEiO0qLXEV5oIJoKIg1Tp |
|
161 |
wS+I4Ro4MHwC9g//FnuHjW9eO2TkUnKpHkqFADxUXeDndf6h4H3KW4Vb9Tq8fq8z8g2M6gef8w2Inwd5 |
|
162 |
yfvkPPhE1Ql+k9vzOv3/P/ifoPoeVeUDAqiG6o3/Nb1j0KB/AMYUfCkDw9hpAAAAAElFTkSuQmCC |
|
163 |
</value> |
|
164 |
</data> |
|
165 |
<data name="btnSave.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
|
166 |
<value> |
|
167 |
iVBORw0KG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Dy6CZIYETiRjSbkpnlaxxea4C7hmsM |
|
204 |
PF+5+adSCZbDyjkKloQedTllXcPIPaYSV7QPIrltEAlkIK6lH9HNfYgi8Yi9KvHQPb2cgZD6Xq5JZcJq |
|
205 |
jG0l+Gy1/QvSWvAOsB9cR7Rc06FolR7/lQY1oiupFWNo0j56FnbBNesrOKYdhW1yB6wTDsEi9iBM5Adg |
|
206 |
GNGKdaFN0JHsg6a4EatFe7DKfzc+99mF5RoO+EzDnmO5ilf//JdJPmmpWzLOABvsF+aItcvsmWSHhKXp |
|
207 |
Tfz9DfzjR7A1u/9MfD796sEW6kyw7WBf+CVgQaojX2BAPdQf/NLMjSVL/gMGC1sK0EICNQAAAABJRU5E |
|
208 |
rkJggg== |
|
209 |
</value> |
|
210 |
</data> |
|
211 |
</root> |
DTI_PID/ID2PSN/Form/MainForm.Designer.cs | ||
---|---|---|
55 | 55 |
this.btnReset = new DevExpress.XtraEditors.SimpleButton(); |
56 | 56 |
this.EquipmentTagNoSetting = new DevExpress.XtraEditors.SimpleButton(); |
57 | 57 |
this.PBSSetting = new DevExpress.XtraEditors.SimpleButton(); |
58 |
this.btnValveGroupItemsSetting = new DevExpress.XtraEditors.SimpleButton(); |
|
59 |
this.btnNoPocketSetting = new DevExpress.XtraEditors.SimpleButton(); |
|
58 | 60 |
this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
59 | 61 |
this.layoutControlGroupMain = new DevExpress.XtraLayout.LayoutControlGroup(); |
60 | 62 |
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
... | ... | |
65 | 67 |
this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); |
66 | 68 |
this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem(); |
67 | 69 |
this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem(); |
70 |
this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
71 |
this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
68 | 72 |
this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); |
69 | 73 |
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
70 | 74 |
this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); |
... | ... | |
79 | 83 |
this.toolStripMenuItemPathItems = new System.Windows.Forms.ToolStripMenuItem(); |
80 | 84 |
this.splashScreenManager1 = new DevExpress.XtraSplashScreen.SplashScreenManager(this, typeof(global::ID2PSN.WaitForm), true, true); |
81 | 85 |
this.sqLiteCommandBuilder1 = new System.Data.SQLite.SQLiteCommandBuilder(); |
82 |
this.btnValveGroupItemsSetting = new DevExpress.XtraEditors.SimpleButton(); |
|
83 |
this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
84 | 86 |
((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit(); |
85 | 87 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); |
86 | 88 |
this.layoutControl1.SuspendLayout(); |
... | ... | |
105 | 107 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); |
106 | 108 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit(); |
107 | 109 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit(); |
110 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); |
|
111 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); |
|
108 | 112 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); |
109 | 113 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); |
110 | 114 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); |
... | ... | |
116 | 120 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit(); |
117 | 121 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); |
118 | 122 |
this.contextMenuPSN.SuspendLayout(); |
119 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); |
|
120 | 123 |
this.SuspendLayout(); |
121 | 124 |
// |
122 | 125 |
// ribbonControl |
... | ... | |
155 | 158 |
this.layoutControl1.Controls.Add(this.EquipmentTagNoSetting); |
156 | 159 |
this.layoutControl1.Controls.Add(this.PBSSetting); |
157 | 160 |
this.layoutControl1.Controls.Add(this.btnValveGroupItemsSetting); |
161 |
this.layoutControl1.Controls.Add(this.btnNoPocketSetting); |
|
158 | 162 |
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; |
159 | 163 |
this.layoutControl1.Location = new System.Drawing.Point(0, 32); |
160 | 164 |
this.layoutControl1.Name = "layoutControl1"; |
... | ... | |
169 | 173 |
this.btnSaveAs.ImageOptions.Image = global::ID2PSN.Properties.Resources.saveto_32x32; |
170 | 174 |
this.btnSaveAs.Location = new System.Drawing.Point(24, 834); |
171 | 175 |
this.btnSaveAs.Name = "btnSaveAs"; |
172 |
this.btnSaveAs.Size = new System.Drawing.Size(248, 36);
|
|
176 |
this.btnSaveAs.Size = new System.Drawing.Size(233, 36);
|
|
173 | 177 |
this.btnSaveAs.StyleController = this.layoutControl1; |
174 | 178 |
this.btnSaveAs.TabIndex = 20; |
175 | 179 |
this.btnSaveAs.Text = "Save To Another DB"; |
... | ... | |
180 | 184 |
this.btnExportPSN.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnExportPSN.ImageOptions.SvgImage"))); |
181 | 185 |
this.btnExportPSN.Location = new System.Drawing.Point(24, 714); |
182 | 186 |
this.btnExportPSN.Name = "btnExportPSN"; |
183 |
this.btnExportPSN.Size = new System.Drawing.Size(248, 36);
|
|
187 |
this.btnExportPSN.Size = new System.Drawing.Size(233, 36);
|
|
184 | 188 |
this.btnExportPSN.StyleController = this.layoutControl1; |
185 | 189 |
this.btnExportPSN.TabIndex = 16; |
186 | 190 |
this.btnExportPSN.Text = "Export PSN"; |
... | ... | |
190 | 194 |
// |
191 | 195 |
this.btnVentDrainSetting.Location = new System.Drawing.Point(24, 121); |
192 | 196 |
this.btnVentDrainSetting.Name = "btnVentDrainSetting"; |
193 |
this.btnVentDrainSetting.Size = new System.Drawing.Size(248, 22);
|
|
197 |
this.btnVentDrainSetting.Size = new System.Drawing.Size(233, 22);
|
|
194 | 198 |
this.btnVentDrainSetting.StyleController = this.layoutControl1; |
195 | 199 |
this.btnVentDrainSetting.TabIndex = 12; |
196 | 200 |
this.btnVentDrainSetting.Text = "Vent/Drain Setting"; |
... | ... | |
201 | 205 |
this.btnSave.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.ImageOptions.Image"))); |
202 | 206 |
this.btnSave.Location = new System.Drawing.Point(24, 794); |
203 | 207 |
this.btnSave.Name = "btnSave"; |
204 |
this.btnSave.Size = new System.Drawing.Size(248, 36);
|
|
208 |
this.btnSave.Size = new System.Drawing.Size(233, 36);
|
|
205 | 209 |
this.btnSave.StyleController = this.layoutControl1; |
206 | 210 |
this.btnSave.TabIndex = 9; |
207 | 211 |
this.btnSave.Text = "Save PSN Data"; |
... | ... | |
211 | 215 |
// |
212 | 216 |
this.btnPriority.Location = new System.Drawing.Point(24, 95); |
213 | 217 |
this.btnPriority.Name = "btnPriority"; |
214 |
this.btnPriority.Size = new System.Drawing.Size(248, 22);
|
|
218 |
this.btnPriority.Size = new System.Drawing.Size(233, 22);
|
|
215 | 219 |
this.btnPriority.StyleController = this.layoutControl1; |
216 | 220 |
this.btnPriority.TabIndex = 8; |
217 | 221 |
this.btnPriority.Text = "Priority Setting"; |
... | ... | |
222 | 226 |
this.btnRun.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnRun.ImageOptions.Image"))); |
223 | 227 |
this.btnRun.Location = new System.Drawing.Point(24, 754); |
224 | 228 |
this.btnRun.Name = "btnRun"; |
225 |
this.btnRun.Size = new System.Drawing.Size(248, 36);
|
|
229 |
this.btnRun.Size = new System.Drawing.Size(233, 36);
|
|
226 | 230 |
this.btnRun.StyleController = this.layoutControl1; |
227 | 231 |
this.btnRun.TabIndex = 7; |
228 | 232 |
this.btnRun.Text = "Generate PSN"; |
... | ... | |
232 | 236 |
// |
233 | 237 |
this.btnTopologySetting.Location = new System.Drawing.Point(24, 43); |
234 | 238 |
this.btnTopologySetting.Name = "btnTopologySetting"; |
235 |
this.btnTopologySetting.Size = new System.Drawing.Size(248, 22);
|
|
239 |
this.btnTopologySetting.Size = new System.Drawing.Size(233, 22);
|
|
236 | 240 |
this.btnTopologySetting.StyleController = this.layoutControl1; |
237 | 241 |
this.btnTopologySetting.TabIndex = 6; |
238 | 242 |
this.btnTopologySetting.Text = "Topology Rule Setting"; |
... | ... | |
242 | 246 |
// |
243 | 247 |
this.btnHeaderSetting.Location = new System.Drawing.Point(24, 69); |
244 | 248 |
this.btnHeaderSetting.Name = "btnHeaderSetting"; |
245 |
this.btnHeaderSetting.Size = new System.Drawing.Size(248, 22);
|
|
249 |
this.btnHeaderSetting.Size = new System.Drawing.Size(233, 22);
|
|
246 | 250 |
this.btnHeaderSetting.StyleController = this.layoutControl1; |
247 | 251 |
this.btnHeaderSetting.TabIndex = 5; |
248 | 252 |
this.btnHeaderSetting.Text = "Header Setting"; |
... | ... | |
250 | 254 |
// |
251 | 255 |
// xtraTabControlPSN |
252 | 256 |
// |
253 |
this.xtraTabControlPSN.Location = new System.Drawing.Point(312, 43);
|
|
257 |
this.xtraTabControlPSN.Location = new System.Drawing.Point(297, 43);
|
|
254 | 258 |
this.xtraTabControlPSN.Name = "xtraTabControlPSN"; |
255 | 259 |
this.xtraTabControlPSN.SelectedTabPage = this.pagePSN; |
256 |
this.xtraTabControlPSN.Size = new System.Drawing.Size(1265, 787);
|
|
260 |
this.xtraTabControlPSN.Size = new System.Drawing.Size(1280, 787);
|
|
257 | 261 |
this.xtraTabControlPSN.TabIndex = 4; |
258 | 262 |
this.xtraTabControlPSN.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { |
259 | 263 |
this.pagePSN, |
... | ... | |
264 | 268 |
// |
265 | 269 |
this.pagePSN.Controls.Add(this.gridControlPSN); |
266 | 270 |
this.pagePSN.Name = "pagePSN"; |
267 |
this.pagePSN.Size = new System.Drawing.Size(1263, 761);
|
|
271 |
this.pagePSN.Size = new System.Drawing.Size(1278, 761);
|
|
268 | 272 |
this.pagePSN.Text = "Pipe System Networks"; |
269 | 273 |
// |
270 | 274 |
// gridControlPSN |
... | ... | |
274 | 278 |
this.gridControlPSN.MainView = this.gridViewPSN; |
275 | 279 |
this.gridControlPSN.MenuManager = this.ribbonControl; |
276 | 280 |
this.gridControlPSN.Name = "gridControlPSN"; |
277 |
this.gridControlPSN.Size = new System.Drawing.Size(1263, 761);
|
|
281 |
this.gridControlPSN.Size = new System.Drawing.Size(1278, 761);
|
|
278 | 282 |
this.gridControlPSN.TabIndex = 0; |
279 | 283 |
this.gridControlPSN.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
280 | 284 |
this.gridViewPSN}); |
... | ... | |
291 | 295 |
// |
292 | 296 |
this.pageTopologies.Controls.Add(this.gridControlTopologys); |
293 | 297 |
this.pageTopologies.Name = "pageTopologies"; |
294 |
this.pageTopologies.Size = new System.Drawing.Size(1263, 761);
|
|
298 |
this.pageTopologies.Size = new System.Drawing.Size(1278, 761);
|
|
295 | 299 |
this.pageTopologies.Text = "Topologies"; |
296 | 300 |
// |
297 | 301 |
// gridControlTopologys |
... | ... | |
301 | 305 |
this.gridControlTopologys.MainView = this.gridViewTopologys; |
302 | 306 |
this.gridControlTopologys.MenuManager = this.ribbonControl; |
303 | 307 |
this.gridControlTopologys.Name = "gridControlTopologys"; |
304 |
this.gridControlTopologys.Size = new System.Drawing.Size(1263, 761);
|
|
308 |
this.gridControlTopologys.Size = new System.Drawing.Size(1278, 761);
|
|
305 | 309 |
this.gridControlTopologys.TabIndex = 0; |
306 | 310 |
this.gridControlTopologys.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
307 | 311 |
this.gridViewTopologys}); |
... | ... | |
316 | 320 |
// |
317 | 321 |
this.pagePathItems.Controls.Add(this.gridControlPathItems); |
318 | 322 |
this.pagePathItems.Name = "pagePathItems"; |
319 |
this.pagePathItems.Size = new System.Drawing.Size(1263, 761);
|
|
323 |
this.pagePathItems.Size = new System.Drawing.Size(1278, 761);
|
|
320 | 324 |
this.pagePathItems.Text = "Path Items"; |
321 | 325 |
// |
322 | 326 |
// gridControlPathItems |
... | ... | |
326 | 330 |
this.gridControlPathItems.MainView = this.gridViewPathItems; |
327 | 331 |
this.gridControlPathItems.MenuManager = this.ribbonControl; |
328 | 332 |
this.gridControlPathItems.Name = "gridControlPathItems"; |
329 |
this.gridControlPathItems.Size = new System.Drawing.Size(1263, 761);
|
|
333 |
this.gridControlPathItems.Size = new System.Drawing.Size(1278, 761);
|
|
330 | 334 |
this.gridControlPathItems.TabIndex = 0; |
331 | 335 |
this.gridControlPathItems.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
332 | 336 |
this.gridViewPathItems}); |
... | ... | |
341 | 345 |
// |
342 | 346 |
this.btnKeywordsSetting.Location = new System.Drawing.Point(24, 147); |
343 | 347 |
this.btnKeywordsSetting.Name = "btnKeywordsSetting"; |
344 |
this.btnKeywordsSetting.Size = new System.Drawing.Size(248, 22);
|
|
348 |
this.btnKeywordsSetting.Size = new System.Drawing.Size(233, 22);
|
|
345 | 349 |
this.btnKeywordsSetting.StyleController = this.layoutControl1; |
346 | 350 |
this.btnKeywordsSetting.TabIndex = 19; |
347 | 351 |
this.btnKeywordsSetting.Text = "Tansform KeyWords Setting"; |
... | ... | |
360 | 364 |
// |
361 | 365 |
// EquipmentTagNoSetting |
362 | 366 |
// |
363 |
this.EquipmentTagNoSetting.Location = new System.Drawing.Point(24, 199);
|
|
367 |
this.EquipmentTagNoSetting.Location = new System.Drawing.Point(24, 225);
|
|
364 | 368 |
this.EquipmentTagNoSetting.Name = "EquipmentTagNoSetting"; |
365 |
this.EquipmentTagNoSetting.Size = new System.Drawing.Size(248, 22);
|
|
369 |
this.EquipmentTagNoSetting.Size = new System.Drawing.Size(233, 22);
|
|
366 | 370 |
this.EquipmentTagNoSetting.StyleController = this.layoutControl1; |
367 | 371 |
this.EquipmentTagNoSetting.TabIndex = 22; |
368 | 372 |
this.EquipmentTagNoSetting.Text = "Equipment Tag No Setting"; |
... | ... | |
370 | 374 |
// |
371 | 375 |
// PBSSetting |
372 | 376 |
// |
373 |
this.PBSSetting.Location = new System.Drawing.Point(24, 225);
|
|
377 |
this.PBSSetting.Location = new System.Drawing.Point(24, 251);
|
|
374 | 378 |
this.PBSSetting.Name = "PBSSetting"; |
375 |
this.PBSSetting.Size = new System.Drawing.Size(248, 22);
|
|
379 |
this.PBSSetting.Size = new System.Drawing.Size(233, 22);
|
|
376 | 380 |
this.PBSSetting.StyleController = this.layoutControl1; |
377 | 381 |
this.PBSSetting.TabIndex = 23; |
378 | 382 |
this.PBSSetting.Text = "PBS Setting"; |
379 | 383 |
this.PBSSetting.Click += new System.EventHandler(this.PBSSetting_Click); |
380 | 384 |
// |
385 |
// btnValveGroupItemsSetting |
|
386 |
// |
|
387 |
this.btnValveGroupItemsSetting.Location = new System.Drawing.Point(24, 173); |
|
388 |
this.btnValveGroupItemsSetting.Name = "btnValveGroupItemsSetting"; |
|
389 |
this.btnValveGroupItemsSetting.Size = new System.Drawing.Size(233, 22); |
|
390 |
this.btnValveGroupItemsSetting.StyleController = this.layoutControl1; |
|
391 |
this.btnValveGroupItemsSetting.TabIndex = 24; |
|
392 |
this.btnValveGroupItemsSetting.Text = "Valve Group Items Setting"; |
|
393 |
this.btnValveGroupItemsSetting.Click += new System.EventHandler(this.btnValveGroupItemsSetting_Click); |
|
394 |
// |
|
395 |
// btnNoPocketSetting |
|
396 |
// |
|
397 |
this.btnNoPocketSetting.Location = new System.Drawing.Point(24, 199); |
|
398 |
this.btnNoPocketSetting.Name = "btnNoPocketSetting"; |
|
399 |
this.btnNoPocketSetting.Size = new System.Drawing.Size(233, 22); |
|
400 |
this.btnNoPocketSetting.StyleController = this.layoutControl1; |
|
401 |
this.btnNoPocketSetting.TabIndex = 24; |
|
402 |
this.btnNoPocketSetting.Text = "Equipment No Pocket Setting"; |
|
403 |
this.btnNoPocketSetting.Click += new System.EventHandler(this.btnNoPocketSetting_Click); |
|
404 |
// |
|
381 | 405 |
// Root |
382 | 406 |
// |
383 | 407 |
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
... | ... | |
403 | 427 |
this.layoutControlItem12, |
404 | 428 |
this.layoutControlItem15, |
405 | 429 |
this.layoutControlItem16, |
406 |
this.layoutControlItem7}); |
|
430 |
this.layoutControlItem7, |
|
431 |
this.layoutControlItem8}); |
|
407 | 432 |
this.layoutControlGroupMain.Location = new System.Drawing.Point(0, 0); |
408 | 433 |
this.layoutControlGroupMain.Name = "layoutControlGroupMain"; |
409 |
this.layoutControlGroupMain.Size = new System.Drawing.Size(276, 671);
|
|
434 |
this.layoutControlGroupMain.Size = new System.Drawing.Size(261, 671);
|
|
410 | 435 |
this.layoutControlGroupMain.Text = "PSN Setting"; |
411 | 436 |
// |
412 | 437 |
// layoutControlItem3 |
... | ... | |
414 | 439 |
this.layoutControlItem3.Control = this.btnTopologySetting; |
415 | 440 |
this.layoutControlItem3.Location = new System.Drawing.Point(0, 0); |
416 | 441 |
this.layoutControlItem3.Name = "layoutControlItem3"; |
417 |
this.layoutControlItem3.Size = new System.Drawing.Size(252, 26);
|
|
442 |
this.layoutControlItem3.Size = new System.Drawing.Size(237, 26);
|
|
418 | 443 |
this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); |
419 | 444 |
this.layoutControlItem3.TextVisible = false; |
420 | 445 |
// |
... | ... | |
423 | 448 |
this.layoutControlItem2.Control = this.btnHeaderSetting; |
424 | 449 |
this.layoutControlItem2.Location = new System.Drawing.Point(0, 26); |
425 | 450 |
this.layoutControlItem2.Name = "layoutControlItem2"; |
426 |
this.layoutControlItem2.Size = new System.Drawing.Size(252, 26);
|
|
451 |
this.layoutControlItem2.Size = new System.Drawing.Size(237, 26);
|
|
427 | 452 |
this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); |
428 | 453 |
this.layoutControlItem2.TextVisible = false; |
429 | 454 |
// |
430 | 455 |
// emptySpaceItem1 |
431 | 456 |
// |
432 | 457 |
this.emptySpaceItem1.AllowHotTrack = false; |
433 |
this.emptySpaceItem1.Location = new System.Drawing.Point(0, 208);
|
|
458 |
this.emptySpaceItem1.Location = new System.Drawing.Point(0, 234);
|
|
434 | 459 |
this.emptySpaceItem1.Name = "emptySpaceItem1"; |
435 |
this.emptySpaceItem1.Size = new System.Drawing.Size(252, 420);
|
|
460 |
this.emptySpaceItem1.Size = new System.Drawing.Size(237, 394);
|
|
436 | 461 |
this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); |
437 | 462 |
// |
438 | 463 |
// layoutControlItem5 |
... | ... | |
440 | 465 |
this.layoutControlItem5.Control = this.btnPriority; |
441 | 466 |
this.layoutControlItem5.Location = new System.Drawing.Point(0, 52); |
442 | 467 |
this.layoutControlItem5.Name = "layoutControlItem5"; |
443 |
this.layoutControlItem5.Size = new System.Drawing.Size(252, 26);
|
|
468 |
this.layoutControlItem5.Size = new System.Drawing.Size(237, 26);
|
|
444 | 469 |
this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); |
445 | 470 |
this.layoutControlItem5.TextVisible = false; |
446 | 471 |
// |
... | ... | |
449 | 474 |
this.layoutControlItem9.Control = this.btnVentDrainSetting; |
450 | 475 |
this.layoutControlItem9.Location = new System.Drawing.Point(0, 78); |
451 | 476 |
this.layoutControlItem9.Name = "layoutControlItem9"; |
452 |
this.layoutControlItem9.Size = new System.Drawing.Size(252, 26);
|
|
477 |
this.layoutControlItem9.Size = new System.Drawing.Size(237, 26);
|
|
453 | 478 |
this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0); |
454 | 479 |
this.layoutControlItem9.TextVisible = false; |
455 | 480 |
// |
... | ... | |
458 | 483 |
this.layoutControlItem12.Control = this.btnKeywordsSetting; |
459 | 484 |
this.layoutControlItem12.Location = new System.Drawing.Point(0, 104); |
460 | 485 |
this.layoutControlItem12.Name = "layoutControlItem12"; |
461 |
this.layoutControlItem12.Size = new System.Drawing.Size(252, 26);
|
|
486 |
this.layoutControlItem12.Size = new System.Drawing.Size(237, 26);
|
|
462 | 487 |
this.layoutControlItem12.TextSize = new System.Drawing.Size(0, 0); |
463 | 488 |
this.layoutControlItem12.TextVisible = false; |
464 | 489 |
// |
465 | 490 |
// layoutControlItem15 |
466 | 491 |
// |
467 | 492 |
this.layoutControlItem15.Control = this.EquipmentTagNoSetting; |
468 |
this.layoutControlItem15.Location = new System.Drawing.Point(0, 156);
|
|
493 |
this.layoutControlItem15.Location = new System.Drawing.Point(0, 182);
|
|
469 | 494 |
this.layoutControlItem15.Name = "layoutControlItem15"; |
470 |
this.layoutControlItem15.Size = new System.Drawing.Size(252, 26);
|
|
495 |
this.layoutControlItem15.Size = new System.Drawing.Size(237, 26);
|
|
471 | 496 |
this.layoutControlItem15.TextSize = new System.Drawing.Size(0, 0); |
472 | 497 |
this.layoutControlItem15.TextVisible = false; |
473 | 498 |
// |
474 | 499 |
// layoutControlItem16 |
475 | 500 |
// |
476 | 501 |
this.layoutControlItem16.Control = this.PBSSetting; |
477 |
this.layoutControlItem16.Location = new System.Drawing.Point(0, 182);
|
|
502 |
this.layoutControlItem16.Location = new System.Drawing.Point(0, 208);
|
|
478 | 503 |
this.layoutControlItem16.Name = "layoutControlItem16"; |
479 |
this.layoutControlItem16.Size = new System.Drawing.Size(252, 26);
|
|
504 |
this.layoutControlItem16.Size = new System.Drawing.Size(237, 26);
|
|
480 | 505 |
this.layoutControlItem16.TextSize = new System.Drawing.Size(0, 0); |
481 | 506 |
this.layoutControlItem16.TextVisible = false; |
482 | 507 |
// |
508 |
// layoutControlItem7 |
|
509 |
// |
|
510 |
this.layoutControlItem7.Control = this.btnValveGroupItemsSetting; |
|
511 |
this.layoutControlItem7.Location = new System.Drawing.Point(0, 130); |
|
512 |
this.layoutControlItem7.Name = "layoutControlItem7"; |
|
513 |
this.layoutControlItem7.Size = new System.Drawing.Size(237, 26); |
|
514 |
this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0); |
|
515 |
this.layoutControlItem7.TextVisible = false; |
|
516 |
// |
|
517 |
// layoutControlItem8 |
|
518 |
// |
|
519 |
this.layoutControlItem8.Control = this.btnNoPocketSetting; |
|
520 |
this.layoutControlItem8.CustomizationFormText = "layoutControlItem7"; |
|
521 |
this.layoutControlItem8.Location = new System.Drawing.Point(0, 156); |
|
522 |
this.layoutControlItem8.Name = "layoutControlItem8"; |
|
523 |
this.layoutControlItem8.Size = new System.Drawing.Size(237, 26); |
|
524 |
this.layoutControlItem8.Text = "layoutControlItem7"; |
|
525 |
this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0); |
|
526 |
this.layoutControlItem8.TextVisible = false; |
|
527 |
// |
|
483 | 528 |
// layoutControlGroup2 |
484 | 529 |
// |
485 | 530 |
this.layoutControlGroup2.GroupStyle = DevExpress.Utils.GroupStyle.Card; |
... | ... | |
487 | 532 |
this.layoutControlItem1, |
488 | 533 |
this.emptySpaceItem2, |
489 | 534 |
this.layoutControlItem14}); |
490 |
this.layoutControlGroup2.Location = new System.Drawing.Point(288, 0);
|
|
535 |
this.layoutControlGroup2.Location = new System.Drawing.Point(273, 0);
|
|
491 | 536 |
this.layoutControlGroup2.Name = "layoutControlGroup2"; |
492 |
this.layoutControlGroup2.Size = new System.Drawing.Size(1293, 874);
|
|
537 |
this.layoutControlGroup2.Size = new System.Drawing.Size(1308, 874);
|
|
493 | 538 |
this.layoutControlGroup2.Text = "PSN Data"; |
494 | 539 |
// |
495 | 540 |
// layoutControlItem1 |
... | ... | |
497 | 542 |
this.layoutControlItem1.Control = this.xtraTabControlPSN; |
498 | 543 |
this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); |
499 | 544 |
this.layoutControlItem1.Name = "layoutControlItem1"; |
500 |
this.layoutControlItem1.Size = new System.Drawing.Size(1269, 791);
|
|
545 |
this.layoutControlItem1.Size = new System.Drawing.Size(1284, 791);
|
|
501 | 546 |
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); |
502 | 547 |
this.layoutControlItem1.TextVisible = false; |
503 | 548 |
// |
... | ... | |
506 | 551 |
this.emptySpaceItem2.AllowHotTrack = false; |
507 | 552 |
this.emptySpaceItem2.Location = new System.Drawing.Point(0, 791); |
508 | 553 |
this.emptySpaceItem2.Name = "emptySpaceItem2"; |
509 |
this.emptySpaceItem2.Size = new System.Drawing.Size(1187, 40);
|
|
554 |
this.emptySpaceItem2.Size = new System.Drawing.Size(1202, 40);
|
|
510 | 555 |
this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); |
511 | 556 |
// |
512 | 557 |
// layoutControlItem14 |
513 | 558 |
// |
514 | 559 |
this.layoutControlItem14.Control = this.btnReset; |
515 |
this.layoutControlItem14.Location = new System.Drawing.Point(1187, 791);
|
|
560 |
this.layoutControlItem14.Location = new System.Drawing.Point(1202, 791);
|
|
516 | 561 |
this.layoutControlItem14.Name = "layoutControlItem14"; |
517 | 562 |
this.layoutControlItem14.Size = new System.Drawing.Size(82, 40); |
518 | 563 |
this.layoutControlItem14.Text = "Reset"; |
... | ... | |
522 | 567 |
// splitterItem1 |
523 | 568 |
// |
524 | 569 |
this.splitterItem1.AllowHotTrack = true; |
525 |
this.splitterItem1.Location = new System.Drawing.Point(276, 0);
|
|
570 |
this.splitterItem1.Location = new System.Drawing.Point(261, 0);
|
|
526 | 571 |
this.splitterItem1.Name = "splitterItem1"; |
527 | 572 |
this.splitterItem1.Size = new System.Drawing.Size(12, 874); |
528 | 573 |
// |
... | ... | |
536 | 581 |
this.layoutControlItem13}); |
537 | 582 |
this.layoutControlGroup1.Location = new System.Drawing.Point(0, 671); |
538 | 583 |
this.layoutControlGroup1.Name = "layoutControlGroup1"; |
539 |
this.layoutControlGroup1.Size = new System.Drawing.Size(276, 203);
|
|
584 |
this.layoutControlGroup1.Size = new System.Drawing.Size(261, 203);
|
|
540 | 585 |
this.layoutControlGroup1.Text = "PSN"; |
541 | 586 |
this.layoutControlGroup1.TextLocation = DevExpress.Utils.Locations.Default; |
542 | 587 |
// |
... | ... | |
545 | 590 |
this.layoutControlItem4.Control = this.btnRun; |
546 | 591 |
this.layoutControlItem4.Location = new System.Drawing.Point(0, 40); |
547 | 592 |
this.layoutControlItem4.Name = "layoutControlItem4"; |
548 |
this.layoutControlItem4.Size = new System.Drawing.Size(252, 40);
|
|
593 |
this.layoutControlItem4.Size = new System.Drawing.Size(237, 40);
|
|
549 | 594 |
this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); |
550 | 595 |
this.layoutControlItem4.TextVisible = false; |
551 | 596 |
// |
... | ... | |
554 | 599 |
this.layoutControlItem6.Control = this.btnSave; |
555 | 600 |
this.layoutControlItem6.Location = new System.Drawing.Point(0, 80); |
556 | 601 |
this.layoutControlItem6.Name = "layoutControlItem6"; |
557 |
this.layoutControlItem6.Size = new System.Drawing.Size(252, 40);
|
|
602 |
this.layoutControlItem6.Size = new System.Drawing.Size(237, 40);
|
|
558 | 603 |
this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); |
559 | 604 |
this.layoutControlItem6.TextVisible = false; |
560 | 605 |
// |
... | ... | |
563 | 608 |
this.layoutControlItem11.Control = this.btnExportPSN; |
564 | 609 |
this.layoutControlItem11.Location = new System.Drawing.Point(0, 0); |
565 | 610 |
this.layoutControlItem11.Name = "layoutControlItem11"; |
566 |
this.layoutControlItem11.Size = new System.Drawing.Size(252, 40);
|
|
611 |
this.layoutControlItem11.Size = new System.Drawing.Size(237, 40);
|
|
567 | 612 |
this.layoutControlItem11.TextSize = new System.Drawing.Size(0, 0); |
568 | 613 |
this.layoutControlItem11.TextVisible = false; |
569 | 614 |
// |
... | ... | |
572 | 617 |
this.layoutControlItem13.Control = this.btnSaveAs; |
573 | 618 |
this.layoutControlItem13.Location = new System.Drawing.Point(0, 120); |
574 | 619 |
this.layoutControlItem13.Name = "layoutControlItem13"; |
575 |
this.layoutControlItem13.Size = new System.Drawing.Size(252, 40);
|
|
620 |
this.layoutControlItem13.Size = new System.Drawing.Size(237, 40);
|
|
576 | 621 |
this.layoutControlItem13.TextSize = new System.Drawing.Size(0, 0); |
577 | 622 |
this.layoutControlItem13.TextVisible = false; |
578 | 623 |
// |
내보내기 Unified diff