프로젝트

일반

사용자정보

개정판 6b60e542

ID6b60e5426da16964f4d980cd7a902bcdf6315137
상위 668ed97d
하위 fff34f7c, aa25858b

조봉훈이(가) 약 2년 전에 추가함

Add Function RunUpdatePipeRunProperties

Change-Id: I02a4e7cf345312732d677381c77d2d2e9145ac1d

차이점 보기:

DTI_PID/SPPIDConverter/AutoModeling.cs
178 178
                    RunBulkAttribute();
179 179
                    // Graphic Modeling
180 180
                    RunGraphicModeling();
181
                    // Update PipeRun Properties
182
                    RunUpdatePipeRunProperties();
181 183
                    // log file 생성
182 184
                    document.CheckModelingResult();
183 185
                }
......
212 214
                application = null;
213 215
                if (radApp.ActiveDocument != null)
214 216
                {
215
                    if (closeDocument && newDrawing != null)
217
                    if (newDrawing != null)
216 218
                    {
217 219
                        newDrawing.Save();
218
                        newDrawing.CloseDrawing(true);
219
                        ReleaseCOMObjects(newDrawing); 
220
                        if (closeDocument)
221
                            newDrawing.CloseDrawing(true);
222
                        ReleaseCOMObjects(newDrawing);
220 223
                        newDrawing = null;
221 224
                    }
222 225
                    else if (newDrawing == null)
......
1115 1118
                }
1116 1119
            }
1117 1120
        }
1121
        private void RunUpdatePipeRunProperties()
1122
        {
1123
            DataTable dt = Project_DB.SelectPipeRunPropSetting();
1124
            SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.SetAllProgress, dt == null ? 0 : dt.Rows.Count);
1125
            SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.SetStep, "Update PipeRun Properties");
1126

  
1127
            if (dt == null) return;
1128
            foreach (DataRow dr in dt.Rows)
1129
            {
1130
                Model.SPPID_PipeRunPropSetting setting = new SPPID_PipeRunPropSetting(dr);
1131
                if (setting.Cond1_DataType.StartsWith("C") || setting.Cond1_Value.Contains(",") && setting.Cond2_DataType.StartsWith("C") || setting.Cond2_Value.Contains(","))
1132
                {
1133
                    string[] value1_Arr = setting.Cond1_Value.Split(',');
1134
                    string[] value2_Arr = setting.Cond2_Value.Split(',');
1135

  
1136
                    for (int i = 0; i < value1_Arr.Length; i++)
1137
                    {
1138
                        for (int j = 0; j < value2_Arr.Length; j++)
1139
                        {
1140
                            setting.Cond1_Value = value1_Arr[i].Trim();
1141
                            setting.Cond2_Value = value2_Arr[j].Trim();
1142
                            SPPIDUtil.UpdatePipeRunProperty(dataSource, setting);
1143
                        }
1144
                    }
1145
                }
1146
                else if (setting.Cond1_DataType.StartsWith("C") || setting.Cond1_Value.Contains(","))
1147
                {
1148
                    string[] value1_Arr = setting.Cond1_Value.Split(',');
1149

  
1150
                    for (int i = 0; i < value1_Arr.Length; i++)
1151
                    {
1152
                        setting.Cond1_Value = value1_Arr[i].Trim();
1153
                        SPPIDUtil.UpdatePipeRunProperty(dataSource, setting);
1154
                    }
1155
                }
1156
                else if (setting.Cond2_DataType.StartsWith("C") || setting.Cond2_Value.Contains(","))
1157
                {
1158
                    string[] value2_Arr = setting.Cond2_Value.Split(',');
1159

  
1160
                    for (int i = 0; i < value2_Arr.Length; i++)
1161
                    {
1162
                        setting.Cond2_Value = value2_Arr[i].Trim();
1163
                        SPPIDUtil.UpdatePipeRunProperty(dataSource, setting);
1164
                    }
1165
                }
1166
                else
1167
                {
1168
                    SPPIDUtil.UpdatePipeRunProperty(dataSource, setting);
1169
                }
1170
                SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.UpProgress, null);
1171
            }
1172
        }
1118 1173
        /// <summary>
1119 1174
        /// 도면 생성 메서드
1120 1175
        /// </summary>
DTI_PID/SPPIDConverter/BaseModel/SPPID/SPPIDCodeList.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5
using System.Threading.Tasks;
6

  
7
namespace Converter.BaseModel
8
{
9
    public class SPPIDCodeList
10
    {
11
        public string Name { get; set; }
12
        public string CodeName { get; set; }
13
        public Dictionary<int, string> Values = new Dictionary<int, string>();
14
    }
15
}
DTI_PID/SPPIDConverter/DB/Project_DB.cs
11 11
using System.IO;
12 12
using Newtonsoft.Json;
13 13
using Converter.SPPID.Model;
14
using Converter.SPPID.DB;
14 15

  
15 16
namespace Converter.BaseModel
16 17
{
......
23 24
        const string SPPID_LABEL_INFO_TABLE = "T_SPPID_LABEL_INFO";
24 25
        const string SPPID_DRAWING_INFO = "T_SPPID_DRAWING_INFO";
25 26
        const string SPPID_OPC_INFO = "T_SPPID_OPC_INFO";
27
        const string SPPID_PIPERUN_PROP_SETTING = "T_SPPID_PIPERUN_PROP_SETTING";
26 28
        const string ID2_DRAWINGATTRIBUTE_TABLE = "T_ID2_DRAWINGATTRIBUTE";
27 29
        const string ID2_NOMINALDIAMETER_TABLE = "NominalDiameter";
28 30

  
......
117 119
                                        cmd.CommandText = string.Format("CREATE TABLE {0} (ID2_OPC_UID TEXT PRIMARY KEY, SPPID_OPC_MODELITEM_ID TEXT, ID2_DRAWING_UID TEXT, ATTRIBUTES TEXT, PAIRED BOOL)", SPPID_OPC_INFO);
118 120
                                        cmd.ExecuteNonQuery();
119 121
                                    }
122
                                    if (dt.Select(string.Format("NAME = '{0}'", SPPID_PIPERUN_PROP_SETTING)).Length == 0)
123
                                    {
124
                                        cmd.CommandText = string.Format(@"CREATE TABLE {0} (UID TEXT NOT NULL PRIMARY KEY,
125
                                                                          ShowType int NOT NULL,Name TEXT NOT NULL,DisplayName TEXT NOT NULL,TableName TEXT NOT NULL,DataType TEXT NOT NULL,Value TEXT NOT NULL,
126
                                                                          Cond1_Name TEXT NOT NULL,Cond1_DisplayName TEXT NOT NULL,Cond1_TableName TEXT NOT NULL,Cond1_DataType TEXT NOT NULL,Cond1_Value TEXT NOT NULL,
127
                                                                          Cond2_Name TEXT,Cond2_DisplayName TEXT,Cond2_TableName TEXT,Cond2_DataType TEXT,Cond2_Value TEXT,SortOrder int NOT NULL)", SPPID_PIPERUN_PROP_SETTING);
128
                                        cmd.ExecuteNonQuery();
129
                                    }
120 130
                                    if (dt.Select(string.Format("NAME = '{0}'", ID2_DRAWINGATTRIBUTE_TABLE)).Length == 0)
121 131
                                    {
122 132
                                        cmd.CommandText = string.Format("CREATE TABLE {0} (UID TEXT PRIMARY KEY, NAME TEXT)", ID2_DRAWINGATTRIBUTE_TABLE);
......
249 259
                                        cmd.CommandText = string.Format("CREATE TABLE {0} (ID2_OPC_UID varchar(255) PRIMARY KEY, SPPID_OPC_MODELITEM_ID varchar(MAX), ID2_DRAWING_UID varchar(MAX), ATTRIBUTES varchar(MAX), PAIRED BIT)", SPPID_OPC_INFO);
250 260
                                        cmd.ExecuteNonQuery();
251 261
                                    }
262
                                    if (dt.Select(string.Format("NAME = '{0}'", SPPID_PIPERUN_PROP_SETTING)).Length == 0)
263
                                    {
264
                                        cmd.CommandText = string.Format(@"CREATE TABLE {0} (UID nvarchar(36) NOT NULL PRIMARY KEY,
265
                                                                          ShowType int NOT NULL,Name nvarchar(255) NOT NULL,DisplayName nvarchar(255) NOT NULL,TableName nvarchar(255) NOT NULL,DataType nvarchar(6) NOT NULL,Value nvarchar(255) NOT NULL,
266
                                                                          Cond1_Name nvarchar(255) NOT NULL,Cond1_DisplayName nvarchar(255) NOT NULL,Cond1_TableName nvarchar(255) NOT NULL,Cond1_DataType nvarchar(6) NOT NULL,Cond1_Value nvarchar(255) NOT NULL,
267
                                                                          Cond2_Name nvarchar(255),Cond2_DisplayName nvarchar(255),Cond2_TableName nvarchar(255),Cond2_DataType nvarchar(6),Cond2_Value nvarchar(255),SortOrder int NOT NULL)", SPPID_PIPERUN_PROP_SETTING);
268
                                        cmd.ExecuteNonQuery();
269
                                    }
252 270
                                    if (dt.Select(string.Format("NAME = '{0}'", ID2_DRAWINGATTRIBUTE_TABLE)).Length == 0)
253 271
                                    {
254 272
                                        cmd.CommandText = string.Format("CREATE TABLE {0} (UID varchar(255) PRIMARY KEY, NAME varchar(255))", ID2_DRAWINGATTRIBUTE_TABLE);
......
510 528

  
511 529
            return true;
512 530
        }
531
        public static bool SavePipeRunPropSetting(List<SPPID_PipeRunPropSetting> setting)
532
        {
533
            Project_Info projectInfo = Project_Info.GetInstance();
534
            if (projectInfo.DBType == ID2DB_Type.SQLite)
535
            {
536
                using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
537
                {
538
                    try
539
                    {
540
                        connection.Open();
541
                        using (SQLiteCommand cmd = connection.CreateCommand())
542
                        {
543
                            cmd.CommandText = string.Format("DELETE FROM {0}", SPPID_PIPERUN_PROP_SETTING);
544
                            cmd.ExecuteNonQuery();
545

  
546
                            foreach (var item in setting)
547
                            {
548
                                cmd.CommandText = string.Format(@"INSERT INTO {0} 
549
                                                  (UID,ShowType,Name,DisplayName,TableName,DataType,Value,Cond1_Name,Cond1_DisplayName,Cond1_TableName,Cond1_DataType,Cond1_Value,Cond2_Name,Cond2_DisplayName,Cond2_TableName,Cond2_DataType,Cond2_Value,SortOrder)
550
                                                  VALUES
551
                                                  (@UID,@ShowType,@Name,@DisplayName,@TableName,@DataType,@Value,@Cond1_Name,@Cond1_DisplayName,@Cond1_TableName,@Cond1_DataType,@Cond1_Value,@Cond2_Name,@Cond2_DisplayName,@Cond2_TableName,@Cond2_DataType,@Cond2_Value,@SortOrder)"
552
                                                   , SPPID_PIPERUN_PROP_SETTING);
553
                                cmd.Parameters.Clear();
554
                                cmd.Parameters.AddWithValue("@UID"                  , item.UID);
555
                                cmd.Parameters.AddWithValue("@ShowType"             , item.ShowType);
556
                                cmd.Parameters.AddWithValue("@Name"                 , item.Name);
557
                                cmd.Parameters.AddWithValue("@DisplayName"          , item.DisplayName);
558
                                cmd.Parameters.AddWithValue("@TableName"            , item.TableName);
559
                                cmd.Parameters.AddWithValue("@DataType"             , item.DataType);
560
                                cmd.Parameters.AddWithValue("@Value"                , item.Value);
561
                                cmd.Parameters.AddWithValue("@Cond1_Name"           , item.Cond1_Name);
562
                                cmd.Parameters.AddWithValue("@Cond1_DisplayName"    , item.Cond1_DisplayName);
563
                                cmd.Parameters.AddWithValue("@Cond1_TableName"      , item.Cond1_TableName);
564
                                cmd.Parameters.AddWithValue("@Cond1_DataType"       , item.Cond1_DataType);
565
                                cmd.Parameters.AddWithValue("@Cond1_Value"          , item.Cond1_Value);
566
                                cmd.Parameters.AddWithValue("@Cond2_Name"           , item.Cond2_Name);
567
                                cmd.Parameters.AddWithValue("@Cond2_DisplayName"    , item.Cond2_DisplayName);
568
                                cmd.Parameters.AddWithValue("@Cond2_TableName"      , item.Cond2_TableName);
569
                                cmd.Parameters.AddWithValue("@Cond2_DataType"       , item.Cond2_DataType);
570
                                cmd.Parameters.AddWithValue("@Cond2_Value"          , item.Cond2_Value);
571
                                cmd.Parameters.AddWithValue("@SortOrder"            , item.SortOrder);
572
                                cmd.ExecuteNonQuery();
573
                            }
574
                        }
575
                        connection.Close();
576
                    }
577
                    catch (Exception ex)
578
                    {
579
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
580
                        return false;
581
                    }
582
                    finally
583
                    {
584
                        connection.Dispose();
585
                    }
586
                }
587
            }
588
            else if (projectInfo.DBType == ID2DB_Type.MSSQL)
589
            {
590
                using (SqlConnection connection = GetSqlConnection())
591
                {
592
                    try
593
                    {
594
                        if (connection != null && connection.State == ConnectionState.Open)
595
                        {
596
                            using (SqlCommand cmd = connection.CreateCommand())
597
                            {
598
                                cmd.CommandText = string.Format("DELETE FROM {0}", SPPID_PIPERUN_PROP_SETTING);
599
                                cmd.ExecuteNonQuery();
600

  
601
                                foreach (var item in setting)
602
                                {
603
                                    cmd.CommandText = string.Format(@"INSERT INTO {0} 
604
                                                  (UID,ShowType,Name,DisplayName,TableName,DataType,Value,Cond1_Name,Cond1_DisplayName,Cond1_TableName,Cond1_DataType,Cond1_Value,Cond2_Name,Cond2_DisplayName,Cond2_TableName,Cond2_DataType,Cond2_Value,SortOrder)
605
                                                  VALUES
606
                                                  (@UID,@ShowType,@Name,@DisplayName,@TableName,@DataType,@Value,@Cond1_Name,@Cond1_DisplayName,@Cond1_TableName,@Cond1_DataType,@Cond1_Value,@Cond2_Name,@Cond2_DisplayName,@Cond2_TableName,@Cond2_DataType,@Cond2_Value,@SortOrder)"
607
                                                   , SPPID_PIPERUN_PROP_SETTING);
608
                                    cmd.Parameters.Clear();
609
                                    cmd.Parameters.AddWithValue("@UID"                  , item.UID);
610
                                    cmd.Parameters.AddWithValue("@ShowType"             , item.ShowType);
611
                                    cmd.Parameters.AddWithValue("@Name"                 , item.Name);
612
                                    cmd.Parameters.AddWithValue("@DisplayName"          , item.DisplayName);
613
                                    cmd.Parameters.AddWithValue("@TableName"            , item.TableName);
614
                                    cmd.Parameters.AddWithValue("@DataType"             , item.DataType);
615
                                    cmd.Parameters.AddWithValue("@Value"                , item.Value);
616
                                    cmd.Parameters.AddWithValue("@Cond1_Name"           , item.Cond1_Name);
617
                                    cmd.Parameters.AddWithValue("@Cond1_DisplayName"    , item.Cond1_DisplayName);
618
                                    cmd.Parameters.AddWithValue("@Cond1_TableName"      , item.Cond1_TableName);
619
                                    cmd.Parameters.AddWithValue("@Cond1_DataType"       , item.Cond1_DataType);
620
                                    cmd.Parameters.AddWithValue("@Cond1_Value"          , item.Cond1_Value);
621
                                    cmd.Parameters.AddWithValue("@Cond2_Name"           , item.Cond2_Name);
622
                                    cmd.Parameters.AddWithValue("@Cond2_DisplayName"    , item.Cond2_DisplayName);
623
                                    cmd.Parameters.AddWithValue("@Cond2_TableName"      , item.Cond2_TableName);
624
                                    cmd.Parameters.AddWithValue("@Cond2_DataType"       , item.Cond2_DataType);
625
                                    cmd.Parameters.AddWithValue("@Cond2_Value"          , item.Cond2_Value);
626
                                    cmd.Parameters.AddWithValue("@SortOrder"            , item.SortOrder);
627
                                cmd.ExecuteNonQuery();
628
                                }
629
                            }
630
                            connection.Close();
631
                        }
632
                        else
633
                            return false;
634
                    }
635
                    catch (Exception ex)
636
                    {
637
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
638
                        return false;
639
                    }
640
                    finally
641
                    {
642
                        if (connection != null)
643
                            connection.Dispose();
644
                    }
645
                }
646
            }
647

  
648
            return true;
649
        }
513 650

  
514 651
        public static DataTable SelectSetting()
515 652
        {
......
1461 1598
            return dt;
1462 1599
        }
1463 1600

  
1601
        public static DataTable SelectPipeRunPropSetting()
1602
        {
1603
            DataTable dt = new DataTable();
1604
            Project_Info projectInfo = Project_Info.GetInstance();
1605
            if (projectInfo.DBType == ID2DB_Type.SQLite)
1606
            {
1607
                using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
1608
                {
1609
                    try
1610
                    {
1611
                        connection.Open();
1612
                        using (SQLiteCommand cmd = connection.CreateCommand())
1613
                        {
1614
                            cmd.CommandText = string.Format(@"
1615
                            SELECT s.UID, s.ShowType, s.Name, s.DisplayName, s.TableName, s.DataType, s.Value, s.Cond1_Name, s.Cond1_DisplayName, s.Cond1_TableName, s.Cond1_DataType, s.Cond1_Value, s.Cond2_Name, s.Cond2_DisplayName, s.Cond2_TableName, s.Cond2_DataType, s.Cond2_Value, s.SortOrder
1616
                              FROM {0} as s
1617
                              ORDER BY s.SortOrder ASC;", SPPID_PIPERUN_PROP_SETTING);
1618
                            using (SQLiteDataReader dr = cmd.ExecuteReader())
1619
                                dt.Load(dr);
1620
                        }
1621
                        connection.Close();
1622
                    }
1623
                    catch (Exception ex)
1624
                    {
1625
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1626
                    }
1627
                    finally
1628
                    {
1629
                        connection.Dispose();
1630
                    }
1631
                }
1632
            }
1633
            else if (projectInfo.DBType == ID2DB_Type.MSSQL)
1634
            {
1635
                using (SqlConnection connection = GetSqlConnection())
1636
                {
1637
                    try
1638
                    {
1639
                        if (connection != null && connection.State == ConnectionState.Open)
1640
                        {
1641
                            using (SqlCommand cmd = connection.CreateCommand())
1642
                            {
1643
                                cmd.CommandText = string.Format(@"
1644
                            SELECT s.UID, s.ShowType, s.Name, s.DisplayName, s.TableName, s.DataType, s.Value, s.Cond1_Name, s.Cond1_DisplayName, s.Cond1_TableName, s.Cond1_DataType, s.Cond1_Value, s.Cond2Name, s.Cond2_DisplayName, s.Cond2_TableName, s.Cond2_DataType, s.Cond2_Value, s.SortOrder
1645
                              FROM {0} as s
1646
                              ORDER BY s.SortOrder ASC;", SPPID_PIPERUN_PROP_SETTING);
1647
                                using (SqlDataReader dr = cmd.ExecuteReader())
1648
                                    dt.Load(dr);
1649
                            }
1650
                            connection.Close();
1651
                        }
1652
                    }
1653
                    catch (Exception ex)
1654
                    {
1655
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1656
                    }
1657
                    finally
1658
                    {
1659
                        if (connection != null)
1660
                            connection.Dispose();
1661
                    }
1662
                }
1663
            }
1664

  
1665
            return dt;
1666
        }
1667

  
1668
        public static DataTable SelectMappedPipeProperties()
1669
        {
1670
            DataTable dt = new DataTable();
1671
            Project_Info projectInfo = Project_Info.GetInstance();
1672
            if (projectInfo.DBType == ID2DB_Type.SQLite)
1673
            {
1674
                using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath), true))
1675
                {
1676
                    try
1677
                    {
1678
                        connection.Open();
1679
                        using (SQLiteCommand cmd = connection.CreateCommand())
1680
                        {
1681
                            cmd.CommandText = string.Format(@"
1682
                            SELECT DISTINCT sam.SPPID_ATTRIBUTE
1683
                              FROM {0} sam
1684
                              LEFT JOIN {1} sa 
1685
                              ON sam.UID = sa.UID 
1686
                              LEFT JOIN {2} st
1687
                              ON sa.SymbolType_UID = st.UID 
1688
                              LEFT JOIN {3} as lp
1689
                              ON sam.UID = lp.UID 
1690
                            WHERE sam.SPPID_ATTRIBUTE is not null 
1691
                            AND (st.Category = 'Line' or lp.UID is not null);", SPPID_ATTRIBUTE_MAPPING_TABLE, SymbolAttribute_TABLE, SymbolType_TABLE, LineProperties_TABLE);
1692
                            using (SQLiteDataReader dr = cmd.ExecuteReader())
1693
                                dt.Load(dr);
1694
                        }
1695
                        connection.Close();
1696
                    }
1697
                    catch (Exception ex)
1698
                    {
1699
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1700
                    }
1701
                    finally
1702
                    {
1703
                        connection.Dispose();
1704
                    }
1705
                }
1706
            }
1707
            else if (projectInfo.DBType == ID2DB_Type.MSSQL)
1708
            {
1709
                using (SqlConnection connection = GetSqlConnection())
1710
                {
1711
                    try
1712
                    {
1713
                        if (connection != null && connection.State == ConnectionState.Open)
1714
                        {
1715
                            using (SqlCommand cmd = connection.CreateCommand())
1716
                            {
1717
                                cmd.CommandText = string.Format(@"
1718
                            SELECT DISTINCT sam.SPPID_ATTRIBUTE
1719
                              FROM {0} sam
1720
                              LEFT JOIN {1} sa 
1721
                              ON sam.UID = sa.UID 
1722
                              LEFT JOIN {2} st
1723
                              ON sa.SymbolType_UID = st.UID 
1724
                              LEFT JOIN {3} as lp
1725
                              ON sam.UID = lp.UID 
1726
                            WHERE sam.SPPID_ATTRIBUTE is not null 
1727
                            AND (st.Category = 'Line' or lp.UID is not null);", SPPID_ATTRIBUTE_MAPPING_TABLE, SymbolAttribute_TABLE, SymbolType_TABLE, LineProperties_TABLE);
1728
                            using (SqlDataReader dr = cmd.ExecuteReader())
1729
                                    dt.Load(dr);
1730
                            }
1731
                            connection.Close();
1732
                        }
1733
                    }
1734
                    catch (Exception ex)
1735
                    {
1736
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1737
                    }
1738
                    finally
1739
                    {
1740
                        if (connection != null)
1741
                            connection.Dispose();
1742
                    }
1743
                }
1744
            }
1745

  
1746
            DataTable dtPipeRun = SPPID_DB.GetPipeRunProperties(false, true);
1747
            DataTable resultDT = dtPipeRun.Clone();
1748
            if (dt != null)
1749
            {
1750
                List<string> filterList = new List<string>();
1751
                foreach (DataRow dr in dt.Rows)
1752
                {
1753
                    filterList.Add("'" + dr["SPPID_ATTRIBUTE"].ToString() + "'");
1754
                }
1755
                string filter = string.Join(",", filterList.ToArray());
1756
                DataRow[] dataRows = dtPipeRun.Select(string.Format("NAME IN ({0})", filter));
1757

  
1758
                resultDT.Rows.Add(resultDT.NewRow());
1759
                foreach (DataRow dr in dataRows)
1760
                {
1761
                    resultDT.Rows.Add(dr.ItemArray);
1762
                }
1763
            }
1764
            return resultDT;
1765
        }
1766

  
1464 1767
        public static DataTable SelectSymbolType()
1465 1768
        {
1466 1769
            DataTable dt = new DataTable();
DTI_PID/SPPIDConverter/DB/SPPID_DB.cs
502 502

  
503 503
            return dt;
504 504
        }
505

  
506

  
507
        public static DataTable GetPipeRunProperties(bool isBrief = false, bool isCase = false)
508
        {
509
            SPPID_DBInfo dbInfo = SPPID_DBInfo.GetInstance();
510
            DataTable dt = null;
511
            try
512
            {
513
                if (dbInfo.DBType == "ORACLE")
514
                {
515
                    string connString = string.Format(oracleConnString, dbInfo.ServerIP, dbInfo.Port, dbInfo.Service);
516
                    connString = "Data Source=" + connString + ";User Id=" + dbInfo.DBUser + ";Password=" + dbInfo.DBPassword;
517

  
518
                    using (OracleConnection conn = new OracleConnection(connString))
519
                    {
520
                        conn.Open();
521
                        if (conn.State == System.Data.ConnectionState.Open)
522
                        {
523
                            string sQuery = string.Empty;
524
                            if (isBrief)
525
                            {
526
                                sQuery = string.Format(CultureInfo.CurrentCulture,
527
                                @"SELECT ia.DISPLAYNAME, ia.NAME, ea.DATATYPE, ea.TABLENAME
528
                                    FROM {0}.ITEMATTRIBUTIONS ia 
529
                                    INNER JOIN {0}.ITEM I 
530
                                    ON i.ID = ia.ITEMID 
531
                                    LEFT JOIN
532
                                    (SELECT sa.ATTRIBUTEID
533
                                            , sv.ITEMTYPE
534
                                            , sl.NAME AS LAYOUTNAME
535
                                            , sl.APPUSAGE AS LAYOUTAPPUSAGE
536
                                            , sa.COLUMNNAME
537
                                            , sv.DEFAULTFILTER
538
                                            , sv.DEFAULTLAYOUT
539
                                    FROM {0}.SPTPATTRIBUTES sa 
540
                                    INNER JOIN {0}.SPTPLAYOUTS sl
541
                                    ON sl.ID = sa.SPTPLAYOUTS_ID
542
                                    INNER JOIN {0}.SPTPVIEWS sv
543
                                    ON sl.SPTPVIEWS_ID = sv.ID
544
                                    ) sp
545
                                    ON ia.ID = sp.ATTRIBUTEID
546
                                    LEFT JOIN 
547
                                    (SELECT ua.ID
548
                                            , e.ENTITY_NUMBER 
549
                                            , e.ENTITY_NAME AS TABLENAME
550
                                            , ca.CODELIST_TEXT 
551
                                            , ca.CODELIST_SORT_VALUE 
552
                                            , a.ATTRIBUTE_DATATYPE AS DATATYPE
553
                                    FROM {0}.ENTITIES e
554
                                    INNER JOIN {0}.UNIQUEATTS ua
555
                                    ON ua.ENTITY_NUMBER = e.ENTITY_NUMBER 
556
                                    INNER join {0}.CODELISTS ca
557
                                    ON ua.CATEGORY = ca.CODELIST_INDEX
558
                                    and ca.CODELIST_NUMBER = 55
559
                                    INNER JOIN {0}.ATTRIBUTES a
560
                                    ON a.ATTRIBUTE_NUMBER = ua.ATTRIBUTE_NUMBER
561
                                    and ua.CATEGORY <> 100
562
                                    ) ea
563
                                    ON ea.ID = ia.ATTRIBUTIONID
564
                                    WHERE 1 = 1
565
                                    AND((i.NAME = 'PipeRun' AND sp.LAYOUTAPPUSAGE IN(1, 3)) OR i.NAME = 'PlantItem')
566
                                    AND sp.DEFAULTLAYOUT = 279
567
                                    ORDER BY ia.DISPLAYNAME", dbInfo.PlantPIDDic);
568
                            }
569
                            else
570
                            {
571
                                sQuery = string.Format(CultureInfo.CurrentCulture,
572
                                @"SELECT DISTINCT ia.DISPLAYNAME, ia.NAME, ea.DATATYPE, ea.TABLENAME
573
                                    FROM {0}.ITEMATTRIBUTIONS ia
574
                                    INNER JOIN {0}.ITEM I
575
                                    ON i.ID = ia.ITEMID
576
                                    LEFT JOIN
577
                                    (SELECT ua.ID
578
                                                , e.ENTITY_NUMBER
579
                                                , e.ENTITY_NAME
580
                                                , e.ENTITY_NAME AS TABLENAME
581
                                                , ca.CODELIST_TEXT
582
                                                , ca.CODELIST_SORT_VALUE
583
                                                , a.ATTRIBUTE_DATATYPE AS DATATYPE
584
                                                , a.ATTRIBUTE_NAME
585
                                                , ua.DISPLAY
586
                                    FROM {0}.ENTITIES e
587
                                    INNER JOIN {0}.UNIQUEATTS ua
588
                                    ON ua.ENTITY_NUMBER = e.ENTITY_NUMBER
589
                                    INNER JOIN {0}.ATTRIBUTES a
590
                                    ON a.ATTRIBUTE_NUMBER = ua.ATTRIBUTE_NUMBER
591
                                    LEFT join {0}.CODELISTS ca
592
                                    ON ua.CATEGORY = ca.CODELIST_INDEX
593
                                    and ca.CODELIST_NUMBER = 55
594
                                    ) ea
595
                                    ON ea.ID = ia.ATTRIBUTIONID
596
                                    WHERE 1 = 1
597
                                       AND ia.NAME NOT LIKE('Case.%')
598
                                       AND ea.ENTITY_NAME NOT IN('T_PlantItemGroup')
599
                                       and instr(ia.NAME, 'SP_RoomID') = 0
600
                                       and(ia.DISPLAYNAME not like 'Parent%' or ia.DISPLAYNAME = 'Parent Item')
601
                                       AND ia.DISPLAYNAME not like 'PartOfPlant%'
602
                                       AND ia.DISPLAYNAME not like '%Design Basis UID%'
603
                                       AND ia.NAME not like 'Room.%'
604
                                       AND ia.NAME not like '%HydraulicCircuit.%'
605
                                       AND (ia.NAME = 'ContractPackage.ItemTag' or ia.NAME not like '%Package.%')
606
                                       AND ia.NAME not like '%System.%'
607
                                       AND ia.NAME not like '%TestSystem.%'
608
                                       AND ia.NAME not like '%InstrLoop.%'
609
                                       AND ia.NAME not like '%DuctRun.%'
610
                                       AND ia.NAME not like '%InlineComp.PipeRun.%'
611
                                       AND ia.NAME not like '%PartOfPlantItem.%'
612
                                       AND ia.NAME not like '%SafetyClass.%'
613
                                       AND ia.NAME not in ('PipingPoint1.Description', 'PipingPoint2.Description', 'PipingPoint3.Description', 'PipingPoint4.Description')
614
                                       AND not(ia.NAME not like 'PipingPoint%' and ia.DISPLAYNAME like 'End %' )
615
                                       AND ia.DISPLAYNAME not like 'J_%'
616
                                       AND (ia.DISPLAYNAME not like 'Loop %' or ia.DISPLAYNAME in ('Loop ItemTag', 'Loop Tag', 'Loop No'))
617
                                       AND not(i.NAME in ('PlantItem', 'ModelItem') and(ia.DISPLAYNAME like 'Pipe %' or ia.DISPLAYNAME like 'Sig%' or ia.DISPLAYNAME like 'Sys %' or ia.DISPLAYNAME like 'System %'))
618
                                       AND not(i.NAME = 'Status' and (ia.DISPLAYNAME like 'Duct Hold %' or ia.DISPLAYNAME like 'Duct Parent %' or ia.DISPLAYNAME like 'Inline Comp %' or ia.DISPLAYNAME like 'Inline Comp %'
619
                                       OR ia.DISPLAYNAME like 'Pipe Hold %' or ia.DISPLAYNAME like 'Pipe Parent %' or ia.DISPLAYNAME like 'Signal Run %' ))
620
                                       AND ea.ATTRIBUTE_NAME <> 'UpdateCount'
621
                                       AND ea.DISPLAY = 'T'
622
                                       AND not(i.NAME<>  'PipeRun' and ea.ATTRIBUTE_NAME = 'aabbcc_code')
623
                                       AND not(i.NAME  = 'PipeRun' and ea.ATTRIBUTE_NAME = 'SP_ID')
624
                                       AND i.NAME IN('PipeRun', 'PlantItem','ModelItem', 'Representation', 'Case','CaseProcess', 'CaseControl', 'Status') 
625
                                       {1} order by TRIM(ia.DISPLAYNAME)", dbInfo.PlantPIDDic,  isCase ? "" : " AND ea.ENTITY_NAME NOT IN ('T_Case', 'T_CaseProcess', 'T_CaseControl', 'T_Status') ");
626
                            }
627
                            using (OracleCommand cmd = new OracleCommand(sQuery, conn))
628
                            using (OracleDataAdapter adapter = new OracleDataAdapter())
629
                            {
630
                                adapter.SelectCommand = cmd;
631
                                dt = new DataTable();
632
                                adapter.Fill(dt);
633
                                foreach (DataColumn item in dt.Columns)
634
                                    item.ColumnName = item.ColumnName.ToUpper();
635
                            }
636
                        }
637
                    }
638
                }
639
                else if (dbInfo.DBType == "SQLSERVER")
640
                {
641
                    string connString = string.Format("server = {0}; uid = {1}; pwd = {2}; database = {3};", dbInfo.Service, dbInfo.DBUser, dbInfo.DBPassword, dbInfo.PlantPIDDic_DataBase);
642
                    using (SqlConnection conn = new SqlConnection(connString))
643
                    {
644
                        conn.Open();
645
                        if (conn.State == ConnectionState.Open)
646
                        {
647
                            string sQuery = string.Empty;
648
                            if (isBrief)
649
                            {
650
                                sQuery = string.Format(CultureInfo.CurrentCulture,
651
                                @"SELECT ia.DISPLAYNAME, ia.NAME, ea.DATATYPE, ea.TABLENAME
652
                                    FROM {0}.ITEMATTRIBUTIONS ia 
653
                                    INNER JOIN {0}.ITEM I 
654
                                    ON i.ID = ia.ITEMID 
655
                                    LEFT JOIN
656
                                    (SELECT sa.ATTRIBUTEID
657
                                            , sv.ITEMTYPE
658
                                            , sl.NAME AS LAYOUTNAME
659
                                            , sl.APPUSAGE AS LAYOUTAPPUSAGE
660
                                            , sa.COLUMNNAME
661
                                            , sv.DEFAULTFILTER
662
                                            , sv.DEFAULTLAYOUT
663
                                    FROM {0}.SPTPATTRIBUTES sa 
664
                                    INNER JOIN {0}.SPTPLAYOUTS sl
665
                                    ON sl.ID = sa.SPTPLAYOUTS_ID
666
                                    INNER JOIN {0}.SPTPVIEWS sv
667
                                    ON sl.SPTPVIEWS_ID = sv.ID
668
                                    ) sp
669
                                    ON ia.ID = sp.ATTRIBUTEID
670
                                    LEFT JOIN 
671
                                    (SELECT ua.ID
672
                                            , e.ENTITY_NUMBER 
673
                                            , e.ENTITY_NAME AS TABLENAME
674
                                            , ca.CODELIST_TEXT 
675
                                            , ca.CODELIST_SORT_VALUE 
676
                                            , a.ATTRIBUTE_DATATYPE AS DATATYPE
677
                                    FROM {0}.ENTITIES e
678
                                    INNER JOIN {0}.UNIQUEATTS ua
679
                                    ON ua.ENTITY_NUMBER = e.ENTITY_NUMBER 
680
                                    INNER join {0}.CODELISTS ca
681
                                    ON ua.CATEGORY = ca.CODELIST_INDEX
682
                                    and ca.CODELIST_NUMBER = 55
683
                                    INNER JOIN {0}.ATTRIBUTES a
684
                                    ON a.ATTRIBUTE_NUMBER = ua.ATTRIBUTE_NUMBER
685
                                    and ua.CATEGORY <> 100
686
                                    ) ea
687
                                    ON ea.ID = ia.ATTRIBUTIONID
688
                                    WHERE 1 = 1
689
                                    AND((i.NAME = 'PipeRun' AND sp.LAYOUTAPPUSAGE IN(1, 3)) OR i.NAME = 'PlantItem')
690
                                    AND sp.DEFAULTLAYOUT = 279
691
                                    ORDER BY ia.DISPLAYNAME", dbInfo.PlantPIDDic);
692
                            }
693
                            else
694
                            {
695
                                sQuery = string.Format(CultureInfo.CurrentCulture,
696
                                @"SELECT DISTINCT ia.DISPLAYNAME, ia.NAME, ea.DATATYPE, ea.TABLENAME
697
                                    FROM {0}.ITEMATTRIBUTIONS ia
698
                                    INNER JOIN {0}.ITEM I
699
                                    ON i.ID = ia.ITEMID
700
                                    LEFT JOIN
701
                                    (SELECT ua.ID
702
                                                , e.ENTITY_NUMBER
703
                                                , e.ENTITY_NAME
704
                                                , e.ENTITY_NAME AS TABLENAME
705
                                                , ca.CODELIST_TEXT
706
                                                , ca.CODELIST_SORT_VALUE
707
                                                , a.ATTRIBUTE_DATATYPE AS DATATYPE
708
                                                , a.ATTRIBUTE_NAME
709
                                                , ua.DISPLAY
710
                                    FROM {0}.ENTITIES e
711
                                    INNER JOIN {0}.UNIQUEATTS ua
712
                                    ON ua.ENTITY_NUMBER = e.ENTITY_NUMBER
713
                                    INNER JOIN {0}.ATTRIBUTES a
714
                                    ON a.ATTRIBUTE_NUMBER = ua.ATTRIBUTE_NUMBER
715
                                    LEFT join {0}.CODELISTS ca
716
                                    ON ua.CATEGORY = ca.CODELIST_INDEX
717
                                    and ca.CODELIST_NUMBER = 55
718
                                    ) ea
719
                                    ON ea.ID = ia.ATTRIBUTIONID
720
                                    WHERE 1 = 1
721
                                       AND ia.NAME NOT LIKE('Case.%')
722
                                       AND ea.ENTITY_NAME NOT IN('T_PlantItemGroup')
723
                                       AND instr(ia.NAME, 'SP_RoomID') = 0
724
                                       AND (ia.DISPLAYNAME not like 'Parent%' or ia.DISPLAYNAME = 'Parent Item')
725
                                       AND ia.DISPLAYNAME not like 'PartOfPlant%'
726
                                       AND ia.DISPLAYNAME not like '%Design Basis UID%'
727
                                       AND ia.NAME not like 'Room.%'
728
                                       AND ia.NAME not like '%HydraulicCircuit.%'
729
                                       AND(ia.NAME = 'ContractPackage.ItemTag' or ia.NAME not like '%Package.%')
730
                                       AND ia.NAME not like '%System.%'
731
                                       AND ia.NAME not like '%TestSystem.%'
732
                                       AND ia.NAME not like '%InstrLoop.%'
733
                                       AND ia.NAME not like '%DuctRun.%'
734
                                       AND ia.NAME not like '%InlineComp.PipeRun.%'
735
                                       AND ia.NAME not like '%PartOfPlantItem.%'
736
                                       AND ia.NAME not like '%SafetyClass.%'
737
                                       AND ia.NAME not in ('PipingPoint1.Description', 'PipingPoint2.Description', 'PipingPoint3.Description', 'PipingPoint4.Description')
738
                                       AND not(ia.NAME not like 'PipingPoint%' and ia.DISPLAYNAME like 'End %' )
739
                                       AND ia.DISPLAYNAME not like 'J_%'
740
                                       AND (ia.DISPLAYNAME not like 'Loop %' or ia.DISPLAYNAME in ('Loop ItemTag', 'Loop Tag', 'Loop No'))
741
                                       and not(i.NAME in ('PlantItem', 'ModelItem') and(ia.DISPLAYNAME like 'Pipe %' or ia.DISPLAYNAME like 'Sig%' or ia.DISPLAYNAME like 'Sys %' or ia.DISPLAYNAME like 'System %'))
742
                                       AND not(i.NAME = 'Status' and (ia.DISPLAYNAME like 'Duct Hold %' or ia.DISPLAYNAME like 'Duct Parent %' or ia.DISPLAYNAME like 'Inline Comp %' or ia.DISPLAYNAME like 'Inline Comp %'
743
                                       OR ia.DISPLAYNAME like 'Pipe Hold %' or ia.DISPLAYNAME like 'Pipe Parent %' or ia.DISPLAYNAME like 'Signal Run %' ))
744
                                       AND ea.ATTRIBUTE_NAME <> 'UpdateCount'
745
                                       AND ea.DISPLAY = 'T'
746
                                       AND not(i.NAME<>  'PipeRun' and ea.ATTRIBUTE_NAME = 'aabbcc_code')
747
                                       AND not(i.NAME  = 'PipeRun' and ea.ATTRIBUTE_NAME = 'SP_ID')
748
                                       AND i.NAME IN('PipeRun', 'PlantItem','ModelItem', 'Representation', 'Case','CaseProcess', 'CaseControl', 'Status') 
749
                                       {1} order by TRIM(ia.DISPLAYNAME)", dbInfo.PlantPIDDic, isCase ? "" : " AND ea.ENTITY_NAME NOT IN ('T_Case', 'T_CaseProcess', 'T_CaseControl', 'T_Status') ");
750
                            }
751
                            using (SqlCommand cmd = new SqlCommand(sQuery, conn))
752
                            using (SqlDataAdapter adapter = new SqlDataAdapter())
753
                            {
754
                                adapter.SelectCommand = cmd;
755
                                dt = new DataTable();
756
                                adapter.Fill(dt);
757
                                foreach (DataColumn item in dt.Columns)
758
                                    item.ColumnName = item.ColumnName.ToUpper();
759
                            }
760
                        }
761
                    }
762
                }
763
                if (dt != null && dt.Rows.Count > 0)
764
                {
765
                    DataRow dr = dt.NewRow();
766
                    dt.Rows.InsertAt(dr, 0);
767
                }
768
            }
769
            catch (Exception ex)
770
            {
771
                System.Windows.Forms.MessageBox.Show(ex.Message + "\r\n" + ex.StackTrace);
772
            }
773

  
774
            return dt;
775
        }
505 776
    }
506 777
}
DTI_PID/SPPIDConverter/Form/MappingForm.Designer.cs
30 30
        {
31 31
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MappingForm));
32 32
            this.ribbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl();
33
            this.barButtonGroup1 = new DevExpress.XtraBars.BarButtonGroup();
33 34
            this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
35
            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
36
            this.tableLayoutPanel7 = new System.Windows.Forms.TableLayoutPanel();
37
            this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
38
            this.labelControl14 = new DevExpress.XtraEditors.LabelControl();
39
            this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
40
            this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
41
            this.gridControlPipeRun = new DevExpress.XtraGrid.GridControl();
42
            this.gridViewPipeRun = new DevExpress.XtraGrid.Views.BandedGrid.AdvBandedGridView();
43
            this.ribbonControl2 = new DevExpress.XtraBars.Ribbon.RibbonControl();
44
            this.groupControl2 = new DevExpress.XtraEditors.GroupControl();
45
            this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel();
46
            this.cbSetList = new DevExpress.XtraEditors.ComboBoxEdit();
47
            this.txtSetValue = new DevExpress.XtraEditors.TextEdit();
48
            this.lueProp = new DevExpress.XtraEditors.LookUpEdit();
49
            this.cbShow = new DevExpress.XtraEditors.ComboBoxEdit();
50
            this.groupControl3 = new DevExpress.XtraEditors.GroupControl();
51
            this.tableLayoutPanel6 = new System.Windows.Forms.TableLayoutPanel();
52
            this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
53
            this.txtCond2_From = new DevExpress.XtraEditors.TextEdit();
54
            this.labelControl12 = new DevExpress.XtraEditors.LabelControl();
55
            this.lueCond1_Prop = new DevExpress.XtraEditors.LookUpEdit();
56
            this.txtCond1_From = new DevExpress.XtraEditors.TextEdit();
57
            this.txtCond2_To = new DevExpress.XtraEditors.TextEdit();
58
            this.txtCond1_To = new DevExpress.XtraEditors.TextEdit();
59
            this.cbCond1_List = new DevExpress.XtraEditors.CheckedComboBoxEdit();
60
            this.cbCond2_List = new DevExpress.XtraEditors.CheckedComboBoxEdit();
61
            this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
62
            this.lueCond2_Prop = new DevExpress.XtraEditors.LookUpEdit();
63
            this.btnPropAdd = new DevExpress.XtraEditors.SimpleButton();
64
            this.btnPropDelete = new DevExpress.XtraEditors.SimpleButton();
65
            this.btnMoveUp = new DevExpress.XtraEditors.SimpleButton();
66
            this.btnMoveDown = new DevExpress.XtraEditors.SimpleButton();
67
            this.btnPropRefresh = new DevExpress.XtraEditors.SimpleButton();
34 68
            this.textEditRuleName = new DevExpress.XtraEditors.TextEdit();
35 69
            this.btnAddNewChild = new DevExpress.XtraEditors.SimpleButton();
36 70
            this.btnAddNewBulk = new DevExpress.XtraEditors.SimpleButton();
......
83 117
            this.layoutControlItem27 = new DevExpress.XtraLayout.LayoutControlItem();
84 118
            this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
85 119
            this.splitterItem3 = new DevExpress.XtraLayout.SplitterItem();
120
            this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
121
            this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
122
            this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
86 123
            this.tabbedControlGroup = new DevExpress.XtraLayout.TabbedControlGroup();
124
            this.GroupPipePorperty = new DevExpress.XtraLayout.LayoutControlGroup();
125
            this.Property = new DevExpress.XtraLayout.LayoutControlGroup();
126
            this.layoutControlItem38 = new DevExpress.XtraLayout.LayoutControlItem();
87 127
            this.GroupSymbol = new DevExpress.XtraLayout.LayoutControlGroup();
88 128
            this.splitterItem1 = new DevExpress.XtraLayout.SplitterItem();
89 129
            this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup();
......
139 179
            this.layoutControlItem22 = new DevExpress.XtraLayout.LayoutControlItem();
140 180
            this.layoutControlItem23 = new DevExpress.XtraLayout.LayoutControlItem();
141 181
            this.layoutControlItem21 = new DevExpress.XtraLayout.LayoutControlItem();
142
            this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
143
            this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
144
            this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
182
            this.ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl();
145 183
            this.splitterItem2 = new DevExpress.XtraLayout.SplitterItem();
184
            this.oracleCommandBuilder1 = new Oracle.ManagedDataAccess.Client.OracleCommandBuilder();
185
            this.ribbonControl3 = new DevExpress.XtraBars.Ribbon.RibbonControl();
186
            this.gridBand1 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand();
146 187
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit();
147 188
            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
148 189
            this.layoutControl1.SuspendLayout();
190
            this.tableLayoutPanel1.SuspendLayout();
191
            this.tableLayoutPanel7.SuspendLayout();
192
            ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
193
            this.groupControl1.SuspendLayout();
194
            ((System.ComponentModel.ISupportInitialize)(this.gridControlPipeRun)).BeginInit();
195
            ((System.ComponentModel.ISupportInitialize)(this.gridViewPipeRun)).BeginInit();
196
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl2)).BeginInit();
197
            ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
198
            this.groupControl2.SuspendLayout();
199
            this.tableLayoutPanel5.SuspendLayout();
200
            ((System.ComponentModel.ISupportInitialize)(this.cbSetList.Properties)).BeginInit();
201
            ((System.ComponentModel.ISupportInitialize)(this.txtSetValue.Properties)).BeginInit();
202
            ((System.ComponentModel.ISupportInitialize)(this.lueProp.Properties)).BeginInit();
203
            ((System.ComponentModel.ISupportInitialize)(this.cbShow.Properties)).BeginInit();
204
            ((System.ComponentModel.ISupportInitialize)(this.groupControl3)).BeginInit();
205
            this.groupControl3.SuspendLayout();
206
            this.tableLayoutPanel6.SuspendLayout();
207
            ((System.ComponentModel.ISupportInitialize)(this.txtCond2_From.Properties)).BeginInit();
208
            ((System.ComponentModel.ISupportInitialize)(this.lueCond1_Prop.Properties)).BeginInit();
209
            ((System.ComponentModel.ISupportInitialize)(this.txtCond1_From.Properties)).BeginInit();
210
            ((System.ComponentModel.ISupportInitialize)(this.txtCond2_To.Properties)).BeginInit();
211
            ((System.ComponentModel.ISupportInitialize)(this.txtCond1_To.Properties)).BeginInit();
212
            ((System.ComponentModel.ISupportInitialize)(this.cbCond1_List.Properties)).BeginInit();
213
            ((System.ComponentModel.ISupportInitialize)(this.cbCond2_List.Properties)).BeginInit();
214
            ((System.ComponentModel.ISupportInitialize)(this.lueCond2_Prop.Properties)).BeginInit();
149 215
            ((System.ComponentModel.ISupportInitialize)(this.textEditRuleName.Properties)).BeginInit();
150 216
            ((System.ComponentModel.ISupportInitialize)(this.treeListBulkAttribute)).BeginInit();
151 217
            ((System.ComponentModel.ISupportInitialize)(this.radioGroupUnit.Properties)).BeginInit();
......
190 256
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).BeginInit();
191 257
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit();
192 258
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem3)).BeginInit();
259
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit();
260
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
261
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
193 262
            ((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup)).BeginInit();
263
            ((System.ComponentModel.ISupportInitialize)(this.GroupPipePorperty)).BeginInit();
264
            ((System.ComponentModel.ISupportInitialize)(this.Property)).BeginInit();
265
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem38)).BeginInit();
194 266
            ((System.ComponentModel.ISupportInitialize)(this.GroupSymbol)).BeginInit();
195 267
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).BeginInit();
196 268
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit();
......
246 318
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem22)).BeginInit();
247 319
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem23)).BeginInit();
248 320
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).BeginInit();
249
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit();
250
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
251
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
321
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl1)).BeginInit();
252 322
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem2)).BeginInit();
323
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl3)).BeginInit();
253 324
            this.SuspendLayout();
254 325
            // 
255 326
            // ribbonControl
256 327
            // 
328
            this.ribbonControl.CaptionBarItemLinks.Add(this.barButtonGroup1);
257 329
            this.ribbonControl.ExpandCollapseItem.Id = 0;
258 330
            this.ribbonControl.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
331
            this.barButtonGroup1,
259 332
            this.ribbonControl.ExpandCollapseItem});
260 333
            this.ribbonControl.Location = new System.Drawing.Point(0, 0);
261
            this.ribbonControl.MaxItemId = 1;
334
            this.ribbonControl.MaxItemId = 2;
262 335
            this.ribbonControl.Name = "ribbonControl";
263 336
            this.ribbonControl.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False;
264 337
            this.ribbonControl.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False;
265 338
            this.ribbonControl.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages;
266 339
            this.ribbonControl.ShowToolbarCustomizeItem = false;
267
            this.ribbonControl.Size = new System.Drawing.Size(1179, 32);
340
            this.ribbonControl.Size = new System.Drawing.Size(1252, 27);
268 341
            this.ribbonControl.Toolbar.ShowCustomizeItem = false;
269 342
            // 
343
            // barButtonGroup1
344
            // 
345
            this.barButtonGroup1.Caption = "barButtonGroup1";
346
            this.barButtonGroup1.Id = 1;
347
            this.barButtonGroup1.Name = "barButtonGroup1";
348
            // 
270 349
            // layoutControl1
271 350
            // 
351
            this.layoutControl1.Controls.Add(this.tableLayoutPanel1);
272 352
            this.layoutControl1.Controls.Add(this.textEditRuleName);
273 353
            this.layoutControl1.Controls.Add(this.btnAddNewChild);
274 354
            this.layoutControl1.Controls.Add(this.btnAddNewBulk);
......
305 385
            this.layoutControl1.Controls.Add(this.textBoxFlowMarkSymbolPath);
306 386
            this.layoutControl1.Controls.Add(this.btnBorder);
307 387
            this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
308
            this.layoutControl1.Location = new System.Drawing.Point(0, 32);
388
            this.layoutControl1.Location = new System.Drawing.Point(0, 27);
309 389
            this.layoutControl1.Name = "layoutControl1";
390
            this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(-1391, 293, 1012, 400);
310 391
            this.layoutControl1.Root = this.Root;
311
            this.layoutControl1.Size = new System.Drawing.Size(1179, 846);
392
            this.layoutControl1.Size = new System.Drawing.Size(1252, 851);
312 393
            this.layoutControl1.TabIndex = 2;
313 394
            this.layoutControl1.Text = "layoutControl1";
314 395
            // 
396
            // tableLayoutPanel1
397
            // 
398
            this.tableLayoutPanel1.ColumnCount = 8;
399
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 706F));
400
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
401
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 8F));
402
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 40F));
403
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 40F));
404
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 40F));
405
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 40F));
406
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 40F));
407
            this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel7, 0, 0);
408
            this.tableLayoutPanel1.Controls.Add(this.groupControl1, 0, 3);
409
            this.tableLayoutPanel1.Controls.Add(this.groupControl2, 0, 1);
410
            this.tableLayoutPanel1.Controls.Add(this.groupControl3, 0, 2);
411
            this.tableLayoutPanel1.Controls.Add(this.btnPropAdd, 3, 2);
412
            this.tableLayoutPanel1.Controls.Add(this.btnPropDelete, 4, 2);
413
            this.tableLayoutPanel1.Controls.Add(this.btnMoveUp, 5, 2);
414
            this.tableLayoutPanel1.Controls.Add(this.btnMoveDown, 6, 2);
415
            this.tableLayoutPanel1.Controls.Add(this.btnPropRefresh, 7, 2);
416
            this.tableLayoutPanel1.Location = new System.Drawing.Point(36, 69);
417
            this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(3, 0, 3, 3);
418
            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
419
            this.tableLayoutPanel1.RowCount = 4;
420
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 22F));
421
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 53F));
422
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 80F));
423
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
424
            this.tableLayoutPanel1.Size = new System.Drawing.Size(922, 706);
425
            this.tableLayoutPanel1.TabIndex = 0;
426
            // 
427
            // tableLayoutPanel7
428
            // 
429
            this.tableLayoutPanel7.ColumnCount = 3;
430
            this.tableLayoutPanel7.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 240F));
431
            this.tableLayoutPanel7.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
432
            this.tableLayoutPanel7.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 180F));
433
            this.tableLayoutPanel7.Controls.Add(this.labelControl10, 0, 0);
434
            this.tableLayoutPanel7.Controls.Add(this.labelControl14, 1, 0);
435
            this.tableLayoutPanel7.Controls.Add(this.labelControl13, 2, 0);
436
            this.tableLayoutPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
437
            this.tableLayoutPanel7.Location = new System.Drawing.Point(3, 0);
438
            this.tableLayoutPanel7.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
439
            this.tableLayoutPanel7.Name = "tableLayoutPanel7";
440
            this.tableLayoutPanel7.RowCount = 1;
441
            this.tableLayoutPanel7.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
442
            this.tableLayoutPanel7.Size = new System.Drawing.Size(700, 22);
443
            this.tableLayoutPanel7.TabIndex = 2;
444
            // 
445
            // labelControl10
446
            // 
447
            this.labelControl10.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
448
            this.labelControl10.Appearance.Options.UseFont = true;
449
            this.labelControl10.Appearance.Options.UseTextOptions = true;
450
            this.labelControl10.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
451
            this.labelControl10.Dock = System.Windows.Forms.DockStyle.Fill;
452
            this.labelControl10.Location = new System.Drawing.Point(3, 3);
453
            this.labelControl10.Name = "labelControl10";
454
            this.labelControl10.Size = new System.Drawing.Size(234, 16);
455
            this.labelControl10.TabIndex = 3;
456
            this.labelControl10.Text = "Name";
457
            // 
458
            // labelControl14
459
            // 
460
            this.labelControl14.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
461
            this.labelControl14.Appearance.Options.UseFont = true;
462
            this.labelControl14.Appearance.Options.UseTextOptions = true;
463
            this.labelControl14.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
464
            this.labelControl14.Dock = System.Windows.Forms.DockStyle.Fill;
465
            this.labelControl14.Location = new System.Drawing.Point(243, 3);
466
            this.labelControl14.Name = "labelControl14";
467
            this.labelControl14.Size = new System.Drawing.Size(274, 16);
468
            this.labelControl14.TabIndex = 4;
469
            this.labelControl14.Text = "List Value";
470
            // 
471
            // labelControl13
472
            // 
473
            this.labelControl13.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
474
            this.labelControl13.Appearance.Options.UseFont = true;
475
            this.labelControl13.Appearance.Options.UseTextOptions = true;
476
            this.labelControl13.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
477
            this.labelControl13.Dock = System.Windows.Forms.DockStyle.Fill;
478
            this.labelControl13.Location = new System.Drawing.Point(523, 3);
479
            this.labelControl13.Name = "labelControl13";
480
            this.labelControl13.Size = new System.Drawing.Size(174, 16);
481
            this.labelControl13.TabIndex = 4;
482
            this.labelControl13.Text = "Number/String Value";
483
            // 
484
            // groupControl1
485
            // 
486
            this.tableLayoutPanel1.SetColumnSpan(this.groupControl1, 8);
487
            this.groupControl1.Controls.Add(this.gridControlPipeRun);
488
            this.groupControl1.Dock = System.Windows.Forms.DockStyle.Fill;
489
            this.groupControl1.GroupStyle = DevExpress.Utils.GroupStyle.Light;
490
            this.groupControl1.Location = new System.Drawing.Point(3, 158);
491
            this.groupControl1.Name = "groupControl1";
492
            this.groupControl1.Size = new System.Drawing.Size(916, 545);
493
            this.groupControl1.TabIndex = 2;
494
            this.groupControl1.Text = "List";
495
            // 
496
            // gridControlPipeRun
497
            // 
498
            this.gridControlPipeRun.Dock = System.Windows.Forms.DockStyle.Fill;
499
            this.gridControlPipeRun.Location = new System.Drawing.Point(2, 21);
500
            this.gridControlPipeRun.MainView = this.gridViewPipeRun;
501
            this.gridControlPipeRun.MenuManager = this.ribbonControl2;
502
            this.gridControlPipeRun.Name = "gridControlPipeRun";
503
            this.gridControlPipeRun.Size = new System.Drawing.Size(912, 522);
504
            this.gridControlPipeRun.TabIndex = 0;
505
            this.gridControlPipeRun.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
506
            this.gridViewPipeRun});
507
            // 
508
            // gridViewPipeRun
509
            // 
510
            this.gridViewPipeRun.GridControl = this.gridControlPipeRun;
511
            this.gridViewPipeRun.Name = "gridViewPipeRun";
512
            this.gridViewPipeRun.OptionsView.ShowGroupPanel = false;
513
            // 
514
            // ribbonControl2
515
            // 
516
            this.ribbonControl2.ExpandCollapseItem.Id = 0;
517
            this.ribbonControl2.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
518
            this.ribbonControl2.ExpandCollapseItem});
519
            this.ribbonControl2.Location = new System.Drawing.Point(0, 0);
520
            this.ribbonControl2.MaxItemId = 1;
521
            this.ribbonControl2.Name = "ribbonControl2";
522
            this.ribbonControl2.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False;
523
            this.ribbonControl2.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False;
524
            this.ribbonControl2.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages;
525
            this.ribbonControl2.ShowToolbarCustomizeItem = false;
526
            this.ribbonControl2.Size = new System.Drawing.Size(1179, 25);
527
            this.ribbonControl2.Toolbar.ShowCustomizeItem = false;
528
            // 
529
            // groupControl2
530
            // 
531
            this.groupControl2.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
532
            this.groupControl2.AppearanceCaption.Options.UseFont = true;
533
            this.groupControl2.Controls.Add(this.tableLayoutPanel5);
534
            this.groupControl2.Dock = System.Windows.Forms.DockStyle.Fill;
535
            this.groupControl2.GroupStyle = DevExpress.Utils.GroupStyle.Light;
536
            this.groupControl2.Location = new System.Drawing.Point(3, 22);
537
            this.groupControl2.Margin = new System.Windows.Forms.Padding(3, 0, 3, 3);
538
            this.groupControl2.Name = "groupControl2";
539
            this.groupControl2.Size = new System.Drawing.Size(700, 50);
540
            this.groupControl2.TabIndex = 0;
541
            this.groupControl2.Text = "Property";
542
            // 
543
            // tableLayoutPanel5
544
            // 
545
            this.tableLayoutPanel5.ColumnCount = 4;
546
            this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 70F));
547
            this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 180F));
548
            this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
549
            this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 180F));
550
            this.tableLayoutPanel5.Controls.Add(this.cbSetList, 2, 0);
551
            this.tableLayoutPanel5.Controls.Add(this.txtSetValue, 3, 0);
552
            this.tableLayoutPanel5.Controls.Add(this.lueProp, 1, 0);
553
            this.tableLayoutPanel5.Controls.Add(this.cbShow, 0, 0);
554
            this.tableLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
555
            this.tableLayoutPanel5.Location = new System.Drawing.Point(2, 21);
556
            this.tableLayoutPanel5.Name = "tableLayoutPanel5";
557
            this.tableLayoutPanel5.RowCount = 1;
558
            this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
559
            this.tableLayoutPanel5.Size = new System.Drawing.Size(696, 27);
560
            this.tableLayoutPanel5.TabIndex = 0;
561
            // 
562
            // cbSetList
563
            // 
564
            this.cbSetList.Cursor = System.Windows.Forms.Cursors.Default;
565
            this.cbSetList.Dock = System.Windows.Forms.DockStyle.Fill;
566
            this.cbSetList.Enabled = false;
567
            this.cbSetList.Location = new System.Drawing.Point(253, 3);
568
            this.cbSetList.Name = "cbSetList";
569
            this.cbSetList.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
570
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
571
            this.cbSetList.Properties.DropDownRows = 20;
572
            this.cbSetList.Size = new System.Drawing.Size(260, 20);
573
            this.cbSetList.TabIndex = 2;
574
            // 
575
            // txtSetValue
576
            // 
577
            this.txtSetValue.Cursor = System.Windows.Forms.Cursors.Default;
578
            this.txtSetValue.Dock = System.Windows.Forms.DockStyle.Fill;
579
            this.txtSetValue.Enabled = false;
580
            this.txtSetValue.Location = new System.Drawing.Point(519, 3);
581
            this.txtSetValue.Name = "txtSetValue";
582
            this.txtSetValue.Size = new System.Drawing.Size(174, 20);
583
            this.txtSetValue.TabIndex = 3;
584
            // 
585
            // lueProp
586
            // 
587
            this.lueProp.Dock = System.Windows.Forms.DockStyle.Fill;
588
            this.lueProp.EditValue = "";
589
            this.lueProp.EnterMoveNextControl = true;
590
            this.lueProp.Location = new System.Drawing.Point(73, 3);
591
            this.lueProp.MenuManager = this.ribbonControl;
592
            this.lueProp.Name = "lueProp";
593
            this.lueProp.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
594
            this.lueProp.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
595
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
596
            this.lueProp.Properties.DropDownRows = 20;
597
            this.lueProp.Properties.NullText = "";
598
            this.lueProp.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains;
599
            this.lueProp.Size = new System.Drawing.Size(174, 20);
600
            this.lueProp.TabIndex = 1;
601
            // 
602
            // cbShow
603
            // 
604
            this.cbShow.EditValue = "Brief";
605
            this.cbShow.Location = new System.Drawing.Point(3, 3);
606
            this.cbShow.MenuManager = this.ribbonControl;
607
            this.cbShow.Name = "cbShow";
608
            this.cbShow.Properties.AutoComplete = false;
609
            this.cbShow.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
610
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
611
            this.cbShow.Properties.DropDownRows = 3;
612
            this.cbShow.Properties.Items.AddRange(new object[] {
613
            "Brief",
614
            "Default",
615
            "Case"});
616
            this.cbShow.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
617
            this.cbShow.Size = new System.Drawing.Size(64, 20);
618
            this.cbShow.TabIndex = 0;
619
            // 
620
            // groupControl3
621
            // 
622
            this.groupControl3.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
623
            this.groupControl3.AppearanceCaption.Options.UseFont = true;
624
            this.groupControl3.Controls.Add(this.tableLayoutPanel6);
625
            this.groupControl3.Dock = System.Windows.Forms.DockStyle.Fill;
626
            this.groupControl3.GroupStyle = DevExpress.Utils.GroupStyle.Light;
627
            this.groupControl3.Location = new System.Drawing.Point(3, 78);
628
            this.groupControl3.Name = "groupControl3";
629
            this.groupControl3.Size = new System.Drawing.Size(700, 74);
630
            this.groupControl3.TabIndex = 1;
631
            this.groupControl3.Text = "Condition";
632
            // 
633
            // tableLayoutPanel6
634
            // 
635
            this.tableLayoutPanel6.ColumnCount = 6;
636
            this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 70F));
637
            this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 180F));
638
            this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
639
            this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F));
640
            this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
641
            this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F));
642
            this.tableLayoutPanel6.Controls.Add(this.labelControl1, 0, 0);
643
            this.tableLayoutPanel6.Controls.Add(this.txtCond2_From, 3, 1);
644
            this.tableLayoutPanel6.Controls.Add(this.labelControl12, 4, 0);
645
            this.tableLayoutPanel6.Controls.Add(this.lueCond1_Prop, 1, 0);
646
            this.tableLayoutPanel6.Controls.Add(this.txtCond1_From, 3, 0);
647
            this.tableLayoutPanel6.Controls.Add(this.txtCond2_To, 5, 1);
648
            this.tableLayoutPanel6.Controls.Add(this.txtCond1_To, 5, 0);
649
            this.tableLayoutPanel6.Controls.Add(this.cbCond1_List, 2, 0);
650
            this.tableLayoutPanel6.Controls.Add(this.cbCond2_List, 2, 1);
651
            this.tableLayoutPanel6.Controls.Add(this.labelControl2, 4, 1);
652
            this.tableLayoutPanel6.Controls.Add(this.lueCond2_Prop, 1, 1);
653
            this.tableLayoutPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
654
            this.tableLayoutPanel6.Location = new System.Drawing.Point(2, 21);
655
            this.tableLayoutPanel6.Name = "tableLayoutPanel6";
656
            this.tableLayoutPanel6.RowCount = 2;
657
            this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
658
            this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
659
            this.tableLayoutPanel6.Size = new System.Drawing.Size(696, 51);
660
            this.tableLayoutPanel6.TabIndex = 0;
661
            // 
662
            // labelControl1
663
            // 
664
            this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
665
            this.labelControl1.Appearance.Options.UseFont = true;
666
            this.labelControl1.Appearance.Options.UseTextOptions = true;
667
            this.labelControl1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
668
            this.labelControl1.Dock = System.Windows.Forms.DockStyle.Fill;
669
            this.labelControl1.Location = new System.Drawing.Point(3, 3);
670
            this.labelControl1.Name = "labelControl1";
671
            this.tableLayoutPanel6.SetRowSpan(this.labelControl1, 2);
672
            this.labelControl1.Size = new System.Drawing.Size(64, 45);
673
            this.labelControl1.TabIndex = 3;
674
            this.labelControl1.Text = "AND";
675
            // 
676
            // txtCond2_From
677
            // 
678
            this.txtCond2_From.Dock = System.Windows.Forms.DockStyle.Fill;
679
            this.txtCond2_From.Enabled = false;
680
            this.txtCond2_From.Location = new System.Drawing.Point(519, 28);
681
            this.txtCond2_From.Name = "txtCond2_From";
682
            this.txtCond2_From.Size = new System.Drawing.Size(74, 20);
683
            this.txtCond2_From.TabIndex = 9;
684
            // 
685
            // labelControl12
686
            // 
687
            this.labelControl12.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
688
            this.labelControl12.Appearance.Options.UseFont = true;
689
            this.labelControl12.Appearance.Options.UseTextOptions = true;
690
            this.labelControl12.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
691
            this.labelControl12.Dock = System.Windows.Forms.DockStyle.Fill;
692
            this.labelControl12.Location = new System.Drawing.Point(599, 3);
693
            this.labelControl12.Name = "labelControl12";
694
            this.labelControl12.Size = new System.Drawing.Size(14, 19);
695
            this.labelControl12.TabIndex = 4;
696
            this.labelControl12.Text = "~";
697
            // 
698
            // lueCond1_Prop
699
            // 
700
            this.lueCond1_Prop.Dock = System.Windows.Forms.DockStyle.Fill;
701
            this.lueCond1_Prop.EnterMoveNextControl = true;
702
            this.lueCond1_Prop.Location = new System.Drawing.Point(73, 3);
703
            this.lueCond1_Prop.Name = "lueCond1_Prop";
704
            this.lueCond1_Prop.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
705
            this.lueCond1_Prop.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
706
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
707
            this.lueCond1_Prop.Properties.DropDownRows = 10;
708
            this.lueCond1_Prop.Properties.NullText = "";
709
            this.lueCond1_Prop.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains;
710
            this.lueCond1_Prop.Size = new System.Drawing.Size(174, 20);
711
            this.lueCond1_Prop.TabIndex = 1;
712
            // 
713
            // txtCond1_From
714
            // 
715
            this.txtCond1_From.Dock = System.Windows.Forms.DockStyle.Fill;
716
            this.txtCond1_From.Enabled = false;
717
            this.txtCond1_From.Location = new System.Drawing.Point(519, 3);
718
            this.txtCond1_From.Name = "txtCond1_From";
719
            this.txtCond1_From.Size = new System.Drawing.Size(74, 20);
720
            this.txtCond1_From.TabIndex = 3;
721
            // 
722
            // txtCond2_To
723
            // 
724
            this.txtCond2_To.Dock = System.Windows.Forms.DockStyle.Fill;
725
            this.txtCond2_To.Enabled = false;
726
            this.txtCond2_To.Location = new System.Drawing.Point(619, 28);
727
            this.txtCond2_To.Name = "txtCond2_To";
728
            this.txtCond2_To.Size = new System.Drawing.Size(74, 20);
729
            this.txtCond2_To.TabIndex = 11;
730
            // 
731
            // txtCond1_To
732
            // 
733
            this.txtCond1_To.Dock = System.Windows.Forms.DockStyle.Fill;
734
            this.txtCond1_To.Enabled = false;
735
            this.txtCond1_To.Location = new System.Drawing.Point(619, 3);
736
            this.txtCond1_To.Name = "txtCond1_To";
737
            this.txtCond1_To.Size = new System.Drawing.Size(74, 20);
738
            this.txtCond1_To.TabIndex = 5;
739
            // 
740
            // cbCond1_List
741
            // 
742
            this.cbCond1_List.Dock = System.Windows.Forms.DockStyle.Fill;
743
            this.cbCond1_List.Enabled = false;
744
            this.cbCond1_List.Location = new System.Drawing.Point(253, 3);
745
            this.cbCond1_List.Name = "cbCond1_List";
746
            this.cbCond1_List.Properties.AllowMultiSelect = true;
747
            this.cbCond1_List.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
748
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
749
            this.cbCond1_List.Properties.DropDownRows = 20;
750
            this.cbCond1_List.Size = new System.Drawing.Size(260, 20);
751
            this.cbCond1_List.TabIndex = 2;
752
            // 
753
            // cbCond2_List
754
            // 
755
            this.cbCond2_List.Dock = System.Windows.Forms.DockStyle.Fill;
756
            this.cbCond2_List.Enabled = false;
757
            this.cbCond2_List.Location = new System.Drawing.Point(253, 28);
758
            this.cbCond2_List.Name = "cbCond2_List";
759
            this.cbCond2_List.Properties.AllowMultiSelect = true;
760
            this.cbCond2_List.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
761
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
762
            this.cbCond2_List.Properties.DropDownRows = 20;
763
            this.cbCond2_List.Size = new System.Drawing.Size(260, 20);
764
            this.cbCond2_List.TabIndex = 8;
765
            // 
766
            // labelControl2
767
            // 
768
            this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
769
            this.labelControl2.Appearance.Options.UseFont = true;
770
            this.labelControl2.Appearance.Options.UseTextOptions = true;
771
            this.labelControl2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
772
            this.labelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
773
            this.labelControl2.Location = new System.Drawing.Point(599, 28);
774
            this.labelControl2.Name = "labelControl2";
775
            this.labelControl2.Size = new System.Drawing.Size(14, 20);
776
            this.labelControl2.TabIndex = 10;
777
            this.labelControl2.Text = "~";
778
            // 
779
            // lueCond2_Prop
780
            // 
781
            this.lueCond2_Prop.Dock = System.Windows.Forms.DockStyle.Fill;
782
            this.lueCond2_Prop.Location = new System.Drawing.Point(73, 28);
783
            this.lueCond2_Prop.Name = "lueCond2_Prop";
784
            this.lueCond2_Prop.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
785
            this.lueCond2_Prop.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
786
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
787
            this.lueCond2_Prop.Properties.DropDownRows = 10;
788
            this.lueCond2_Prop.Properties.NullText = "";
789
            this.lueCond2_Prop.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains;
790
            this.lueCond2_Prop.Size = new System.Drawing.Size(174, 20);
791
            this.lueCond2_Prop.TabIndex = 7;
792
            // 
793
            // btnPropAdd
794
            // 
795
            this.btnPropAdd.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
796
            this.btnPropAdd.Appearance.Options.UseFont = true;
797
            this.btnPropAdd.Dock = System.Windows.Forms.DockStyle.Bottom;
798
            this.btnPropAdd.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnPropAdd.ImageOptions.Image")));
799
            this.btnPropAdd.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleCenter;
800
            this.btnPropAdd.Location = new System.Drawing.Point(725, 130);
801
            this.btnPropAdd.Name = "btnPropAdd";
802
            this.btnPropAdd.Size = new System.Drawing.Size(34, 22);
803
            this.btnPropAdd.TabIndex = 0;
804
            this.btnPropAdd.ToolTip = "Add";
805
            // 
806
            // btnPropDelete
807
            // 
808
            this.btnPropDelete.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
809
            this.btnPropDelete.Appearance.Options.UseFont = true;
810
            this.btnPropDelete.Dock = System.Windows.Forms.DockStyle.Bottom;
811
            this.btnPropDelete.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnPropDelete.ImageOptions.Image")));
812
            this.btnPropDelete.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleCenter;
813
            this.btnPropDelete.Location = new System.Drawing.Point(765, 130);
814
            this.btnPropDelete.Name = "btnPropDelete";
815
            this.btnPropDelete.Size = new System.Drawing.Size(34, 22);
816
            this.btnPropDelete.TabIndex = 1;
817
            this.btnPropDelete.Text = "Z";
818
            this.btnPropDelete.ToolTip = "Delete";
819
            // 
820
            // btnMoveUp
821
            // 
822
            this.btnMoveUp.Dock = System.Windows.Forms.DockStyle.Bottom;
823
            this.btnMoveUp.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnMoveUp.ImageOptions.Image")));
824
            this.btnMoveUp.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleCenter;
825
            this.btnMoveUp.Location = new System.Drawing.Point(805, 130);
826
            this.btnMoveUp.Name = "btnMoveUp";
827
            this.btnMoveUp.Size = new System.Drawing.Size(34, 22);
828
            this.btnMoveUp.TabIndex = 2;
829
            this.btnMoveUp.ToolTipTitle = "Move Up";
830
            // 
831
            // btnMoveDown
832
            // 
833
            this.btnMoveDown.Dock = System.Windows.Forms.DockStyle.Bottom;
834
            this.btnMoveDown.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnMoveDown.ImageOptions.Image")));
835
            this.btnMoveDown.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleCenter;
836
            this.btnMoveDown.Location = new System.Drawing.Point(845, 130);
837
            this.btnMoveDown.Name = "btnMoveDown";
838
            this.btnMoveDown.Size = new System.Drawing.Size(34, 22);
839
            this.btnMoveDown.TabIndex = 3;
840
            this.btnMoveDown.ToolTipTitle = "Move Down";
841
            // 
842
            // btnPropRefresh
843
            // 
844
            this.btnPropRefresh.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
845
            this.btnPropRefresh.Appearance.Options.UseFont = true;
846
            this.btnPropRefresh.Dock = System.Windows.Forms.DockStyle.Bottom;
847
            this.btnPropRefresh.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnPropRefresh.ImageOptions.Image")));
848
            this.btnPropRefresh.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleCenter;
849
            this.btnPropRefresh.Location = new System.Drawing.Point(885, 130);
850
            this.btnPropRefresh.Name = "btnPropRefresh";
851
            this.btnPropRefresh.Size = new System.Drawing.Size(34, 22);
852
            this.btnPropRefresh.TabIndex = 4;
853
            this.btnPropRefresh.ToolTip = "Refresh";
854
            // 
315 855
            // textEditRuleName
316 856
            // 
317
            this.textEditRuleName.Location = new System.Drawing.Point(99, 529);
857
            this.textEditRuleName.Location = new System.Drawing.Point(99, 565);
318 858
            this.textEditRuleName.MenuManager = this.ribbonControl;
319 859
            this.textEditRuleName.Name = "textEditRuleName";
320 860
            this.textEditRuleName.Size = new System.Drawing.Size(163, 20);
......
323 863
            // 
324 864
            // btnAddNewChild
325 865
            // 
326
            this.btnAddNewChild.Location = new System.Drawing.Point(367, 529);
866
            this.btnAddNewChild.Location = new System.Drawing.Point(564, 565);
327 867
            this.btnAddNewChild.Name = "btnAddNewChild";
328 868
            this.btnAddNewChild.Size = new System.Drawing.Size(87, 22);
329 869
            this.btnAddNewChild.StyleController = this.layoutControl1;
......
333 873
            // 
334 874
            // btnAddNewBulk
335 875
            // 
336
            this.btnAddNewBulk.Location = new System.Drawing.Point(266, 529);
876
            this.btnAddNewBulk.Location = new System.Drawing.Point(266, 565);
337 877
            this.btnAddNewBulk.Name = "btnAddNewBulk";
338 878
            this.btnAddNewBulk.Size = new System.Drawing.Size(87, 22);
339 879
            this.btnAddNewBulk.StyleController = this.layoutControl1;
......
344 884
            // treeListBulkAttribute
345 885
            // 
346 886
            this.treeListBulkAttribute.Cursor = System.Windows.Forms.Cursors.Default;
347
            this.treeListBulkAttribute.Location = new System.Drawing.Point(36, 555);
887
            this.treeListBulkAttribute.Location = new System.Drawing.Point(36, 591);
348 888
            this.treeListBulkAttribute.Name = "treeListBulkAttribute";
349
            this.treeListBulkAttribute.Size = new System.Drawing.Size(737, 215);
889
            this.treeListBulkAttribute.Size = new System.Drawing.Size(922, 184);
350 890
            this.treeListBulkAttribute.TabIndex = 44;
351 891
            this.treeListBulkAttribute.CustomNodeCellEditForEditing += new DevExpress.XtraTreeList.GetCustomNodeCellEditEventHandler(this.treeListBulkAttribute_CustomNodeCellEditForEditing);
352 892
            this.treeListBulkAttribute.ShownEditor += new System.EventHandler(this.treeListBulkAttribute_ShownEditor);
......
354 894
            // 
355 895
            // radioGroupUnit
356 896
            // 
357
            this.radioGroupUnit.Location = new System.Drawing.Point(36, 438);
897
            this.radioGroupUnit.Location = new System.Drawing.Point(36, 437);
358 898
            this.radioGroupUnit.MenuManager = this.ribbonControl;
359 899
            this.radioGroupUnit.Name = "radioGroupUnit";
360 900
            this.radioGroupUnit.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
361 901
            new DevExpress.XtraEditors.Controls.RadioGroupItem("Metric", "Metric"),
362 902
            new DevExpress.XtraEditors.Controls.RadioGroupItem("Imperial", "Imperial")});
363
            this.radioGroupUnit.Size = new System.Drawing.Size(737, 44);
903
            this.radioGroupUnit.Size = new System.Drawing.Size(922, 81);
364 904
            this.radioGroupUnit.StyleController = this.layoutControl1;
365 905
            this.radioGroupUnit.TabIndex = 43;
366 906
            // 
367 907
            // gridControlDrawingAttribute
368 908
            // 
369
            this.gridControlDrawingAttribute.Location = new System.Drawing.Point(36, 588);
909
            this.gridControlDrawingAttribute.Location = new System.Drawing.Point(36, 453);
370 910
            this.gridControlDrawingAttribute.MainView = this.gridViewDrawingAttribute;
371 911
            this.gridControlDrawingAttribute.MenuManager = this.ribbonControl;
372 912
            this.gridControlDrawingAttribute.Name = "gridControlDrawingAttribute";
373
            this.gridControlDrawingAttribute.Size = new System.Drawing.Size(737, 182);
913
            this.gridControlDrawingAttribute.Size = new System.Drawing.Size(922, 322);
374 914
            this.gridControlDrawingAttribute.TabIndex = 42;
375 915
            this.gridControlDrawingAttribute.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
376 916
            this.gridViewDrawingAttribute});
......
383 923
            // 
384 924
            // textBoxVendorSymbolPath
385 925
            // 
386
            this.textBoxVendorSymbolPath.Location = new System.Drawing.Point(184, 371);
926
            this.textBoxVendorSymbolPath.Location = new System.Drawing.Point(184, 370);
387 927
            this.textBoxVendorSymbolPath.MenuManager = this.ribbonControl;
388 928
            this.textBoxVendorSymbolPath.Name = "textBoxVendorSymbolPath";
389 929
            this.textBoxVendorSymbolPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
390 930
            new DevExpress.XtraEditors.Controls.EditorButton()});
391
            this.textBoxVendorSymbolPath.Size = new System.Drawing.Size(589, 20);
931
            this.textBoxVendorSymbolPath.Size = new System.Drawing.Size(774, 20);
392 932
            this.textBoxVendorSymbolPath.StyleController = this.layoutControl1;
393 933
            this.textBoxVendorSymbolPath.TabIndex = 40;
394 934
            this.textBoxVendorSymbolPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxETC_ButtonClick);
......
396 936
            // btnImportData
397 937
            // 
398 938
            this.btnImportData.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnImportData.ImageOptions.SvgImage")));
399
            this.btnImportData.Location = new System.Drawing.Point(825, 746);
939
            this.btnImportData.Location = new System.Drawing.Point(1003, 749);
400 940
            this.btnImportData.Name = "btnImportData";
401
            this.btnImportData.Size = new System.Drawing.Size(330, 36);
941
            this.btnImportData.Size = new System.Drawing.Size(225, 38);
402 942
            this.btnImportData.StyleController = this.layoutControl1;
403 943
            this.btnImportData.TabIndex = 39;
404 944
            this.btnImportData.Text = "Import Mapping Data";
......
407 947
            // btnExportData
408 948
            // 
409 949
            this.btnExportData.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnExportData.ImageOptions.SvgImage")));
410
            this.btnExportData.Location = new System.Drawing.Point(825, 706);
950
            this.btnExportData.Location = new System.Drawing.Point(1003, 707);
411 951
            this.btnExportData.Name = "btnExportData";
412
            this.btnExportData.Size = new System.Drawing.Size(330, 36);
952
            this.btnExportData.Size = new System.Drawing.Size(225, 38);
413 953
            this.btnExportData.StyleController = this.layoutControl1;
414 954
            this.btnExportData.TabIndex = 38;
415 955
            this.btnExportData.Text = "Export Mapping Data";
......
418 958
            // btnExportExcel
419 959
            // 
420 960
            this.btnExportExcel.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnExportExcel.ImageOptions.Image")));
421
            this.btnExportExcel.Location = new System.Drawing.Point(825, 666);
961
            this.btnExportExcel.Location = new System.Drawing.Point(1003, 665);
422 962
            this.btnExportExcel.Name = "btnExportExcel";
423
            this.btnExportExcel.Size = new System.Drawing.Size(330, 36);
963
            this.btnExportExcel.Size = new System.Drawing.Size(225, 38);
424 964
            this.btnExportExcel.StyleController = this.layoutControl1;
425 965
            this.btnExportExcel.TabIndex = 37;
426 966
            this.btnExportExcel.Text = "Export Mapping Info to Excel";
......
433 973
            0,
434 974
            0,
435 975
            0});
436
            this.spinEditDrainValveCellCount.Location = new System.Drawing.Point(546, 157);
... 이 차이점은 표시할 수 있는 최대 줄수를 초과해서 이 차이점은 잘렸습니다.

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)