프로젝트

일반

사용자정보

개정판 2425d530

ID2425d53039b944c6d1bdc09dcd81477d4ef42a2a
상위 f4485671
하위 534af32d

gaqhf 이(가) 5년 이상 전에 추가함

dev issue #1203 : MSSQL 지원 완료

Change-Id: I39e4c4c9d7ab4bf8162bc2025aff410ac9449a2a

차이점 보기:

DTI_PID/SPPIDConverter/DB/Project_DB.cs
7 7
using System.Data.SQLite;
8 8
using System.Data;
9 9
using System.Data.SqlClient;
10
using Converter.SPPID;
11
using System.IO;
10 12
using Newtonsoft.Json;
11 13

  
12 14
namespace Converter.BaseModel
......
46 48
            }
47 49
            catch (Exception ex)
48 50
            {
51
                Log.Write(ex.Message + "\r\n" + ex.StackTrace);
49 52
                connection.Dispose();
50 53
                connection = null;
51 54
            }
......
158 161
                    }
159 162
                    catch (Exception ex)
160 163
                    {
161

  
164
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
162 165
                    }
163 166
                    finally
164 167
                    {
......
227 230
                    }
228 231
                    catch (Exception ex)
229 232
                    {
230

  
233
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
231 234
                    }
232 235
                    finally
233 236
                    {
......
264 267
                    }
265 268
                    catch (Exception ex)
266 269
                    {
270
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
267 271
                        return false;
268 272
                    }
269 273
                    finally
......
298 302
                    }
299 303
                    catch (Exception ex)
300 304
                    {
305
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
301 306
                        return false;
302 307
                    }
303 308
                    finally
......
333 338
                    }
334 339
                    catch (Exception ex)
335 340
                    {
336

  
341
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
337 342
                    }
338 343
                    finally
339 344
                    {
......
360 365
                    }
361 366
                    catch (Exception ex)
362 367
                    {
363

  
368
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
364 369
                    }
365 370
                    finally
366 371
                    {
......
402 407
                    }
403 408
                    catch (Exception ex)
404 409
                    {
410
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
405 411
                        return false;
406 412
                    }
407 413
                    finally
......
439 445
                    }
440 446
                    catch (Exception ex)
441 447
                    {
448
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
442 449
                        return false;
443 450
                    }
444 451
                    finally
......
473 480
                    }
474 481
                    catch (Exception ex)
475 482
                    {
476

  
483
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
477 484
                    }
478 485
                    finally
479 486
                    {
......
500 507
                    }
501 508
                    catch (Exception ex)
502 509
                    {
503

  
510
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
504 511
                    }
505 512
                    finally
506 513
                    {
......
548 555
                    }
549 556
                    catch (Exception ex)
550 557
                    {
551

  
558
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
552 559
                    }
553 560
                    finally
554 561
                    {
......
580 587
                    }
581 588
                    catch (Exception ex)
582 589
                    {
583

  
590
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
584 591
                    }
585 592
                    finally
586 593
                    {
......
657 664
                    }
658 665
                    catch (Exception ex)
659 666
                    {
660

  
667
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
661 668
                    }
662 669
                    finally
663 670
                    {
......
721 728
                    }
722 729
                    catch (Exception ex)
723 730
                    {
724

  
731
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
725 732
                    }
726 733
                    finally
727 734
                    {
......
757 764
                    }
758 765
                    catch (Exception ex)
759 766
                    {
760

  
767
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
761 768
                    }
762 769
                    finally
763 770
                    {
......
787 794
                    }
788 795
                    catch (Exception ex)
789 796
                    {
790

  
797
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
791 798
                    }
792 799
                    finally
793 800
                    {
......
827 834
                    }
828 835
                    catch (Exception ex)
829 836
                    {
830

  
837
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
831 838
                    }
832 839
                    finally
833 840
                    {
......
860 867
                    }
861 868
                    catch (Exception ex)
862 869
                    {
863

  
870
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
864 871
                    }
865 872
                    finally
866 873
                    {
......
903 910
                    }
904 911
                    catch (Exception ex)
905 912
                    {
906

  
913
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
907 914
                    }
908 915
                    finally
909 916
                    {
......
941 948
                    }
942 949
                    catch (Exception ex)
943 950
                    {
944

  
951
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
945 952
                    }
946 953
                    finally
947 954
                    {
......
976 983
                    }
977 984
                    catch (Exception ex)
978 985
                    {
979

  
986
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
980 987
                    }
981 988
                    finally
982 989
                    {
......
1003 1010
                    }
1004 1011
                    catch (Exception ex)
1005 1012
                    {
1006

  
1013
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1007 1014
                    }
1008 1015
                    finally
1009 1016
                    {
......
1037 1044
                    }
1038 1045
                    catch (Exception ex)
1039 1046
                    {
1040

  
1047
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1041 1048
                    }
1042 1049
                    finally
1043 1050
                    {
......
1064 1071
                    }
1065 1072
                    catch (Exception ex)
1066 1073
                    {
1067

  
1074
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1068 1075
                    }
1069 1076
                    finally
1070 1077
                    {
......
1098 1105
                    }
1099 1106
                    catch (Exception ex)
1100 1107
                    {
1101

  
1108
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1102 1109
                    }
1103 1110
                    finally
1104 1111
                    {
......
1125 1132
                    }
1126 1133
                    catch (Exception ex)
1127 1134
                    {
1128

  
1135
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1129 1136
                    }
1130 1137
                    finally
1131 1138
                    {
......
1159 1166
                    }
1160 1167
                    catch (Exception ex)
1161 1168
                    {
1162

  
1169
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1163 1170
                    }
1164 1171
                    finally
1165 1172
                    {
......
1186 1193
                    }
1187 1194
                    catch (Exception ex)
1188 1195
                    {
1189

  
1196
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1190 1197
                    }
1191 1198
                    finally
1192 1199
                    {
......
1220 1227
                    }
1221 1228
                    catch (Exception ex)
1222 1229
                    {
1223

  
1230
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1224 1231
                    }
1225 1232
                    finally
1226 1233
                    {
......
1247 1254
                    }
1248 1255
                    catch (Exception ex)
1249 1256
                    {
1250

  
1257
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1251 1258
                    }
1252 1259
                    finally
1253 1260
                    {
......
1281 1288
                    }
1282 1289
                    catch (Exception ex)
1283 1290
                    {
1284

  
1291
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1285 1292
                    }
1286 1293
                    finally
1287 1294
                    {
......
1308 1315
                    }
1309 1316
                    catch (Exception ex)
1310 1317
                    {
1311

  
1318
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1312 1319
                    }
1313 1320
                    finally
1314 1321
                    {
......
1353 1360
                            }
1354 1361
                            catch (Exception ex)
1355 1362
                            {
1363
                                Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1356 1364
                                transaction.Rollback();
1357 1365
                                return false;
1358 1366
                            }
......
1364 1372
                    }
1365 1373
                    catch (Exception ex)
1366 1374
                    {
1375
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1367 1376
                        return false;
1368 1377
                    }
1369 1378
                    finally
......
1408 1417
                    }
1409 1418
                    catch (Exception ex)
1410 1419
                    {
1420
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1411 1421
                        return false;
1412 1422
                    }
1413 1423
                    finally
......
1451 1461
                            }
1452 1462
                            catch (Exception ex)
1453 1463
                            {
1464
                                Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1454 1465
                                transaction.Rollback();
1455 1466
                            }
1456 1467
                            finally
......
1461 1472
                    }
1462 1473
                    catch (Exception ex)
1463 1474
                    {
1475
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1464 1476
                        return false;
1465 1477
                    }
1466 1478
                    finally
......
1501 1513
                    }
1502 1514
                    catch (Exception ex)
1503 1515
                    {
1516
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1504 1517
                        return false;
1505 1518
                    }
1506 1519
                    finally
......
1544 1557
                            }
1545 1558
                            catch (Exception ex)
1546 1559
                            {
1560
                                Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1547 1561
                                transaction.Rollback();
1548 1562
                                return false;
1549 1563
                            }
......
1555 1569
                    }
1556 1570
                    catch (Exception ex)
1557 1571
                    {
1572
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1558 1573
                        return false;
1559 1574
                    }
1560 1575
                    finally
......
1593 1608
                    }
1594 1609
                    catch (Exception ex)
1595 1610
                    {
1611
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1596 1612
                        return false;
1597 1613
                    }
1598 1614
                    finally
......
1649 1665
                            }
1650 1666
                            catch (Exception ex)
1651 1667
                            {
1668
                                Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1652 1669
                                transaction.Rollback();
1653 1670
                                return false;
1654 1671
                            }
......
1660 1677
                    }
1661 1678
                    catch (Exception ex)
1662 1679
                    {
1680
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1663 1681
                        return false;
1664 1682
                    }
1665 1683
                    finally
......
1678 1696
                        {
1679 1697
                            using (SqlCommand cmd = connection.CreateCommand())
1680 1698
                            {
1681
                                cmd.CommandText = string.Format("INSERT OR REPLACE INTO {0} (ID2_DRAWING_UID, PATH, DRAWINGNUMBER, DRAWINGNAME) VALUES (@ID2_DRAWING_UID, @PATH, @DRAWINGNUMBER, @DRAWINGNAME)", SPPID_DRAWING_INFO);
1699
                                cmd.Parameters.Clear();
1700
                                cmd.CommandText = string.Format(@"
1701
                                    IF EXISTS (SELECT * FROM {0} WHERE UID = '{1}')
1702
                                        UPDATE {0} SET PATH = @PATH, DRAWINGNUMBER = @DRAWINGNUMBER, DRAWINGNAME = @DRAWINGNAME WHERE ID2_DRAWING_UID = @ID2_DRAWING_UID
1703
                                    ELSE
1704
                                        INSERT INTO {0} (ID2_DRAWING_UID, PATH, DRAWINGNUMBER, DRAWINGNAME) VALUES (@ID2_DRAWING_UID, @PATH, @DRAWINGNUMBER, @DRAWINGNAME)", SPPID_DRAWING_INFO, document.UID);
1705

  
1682 1706
                                cmd.Parameters.AddWithValue("@ID2_DRAWING_UID", document.UID);
1683 1707
                                cmd.Parameters.AddWithValue("@PATH", path);
1684 1708
                                cmd.Parameters.AddWithValue("@DRAWINGNUMBER", drawingNumber);
......
1691 1715
                            {
1692 1716
                                using (SqlCommand cmd = connection.CreateCommand())
1693 1717
                                {
1694
                                    cmd.CommandText = string.Format("INSERT OR REPLACE INTO {0} (ID2_OPC_UID, SPPID_OPC_MODELITEM_ID, ID2_DRAWING_UID, ATTRIBUTES, PAIRED) VALUES (@ID2_OPC_UID, @SPPID_OPC_MODELITEM_ID, @ID2_DRAWING_UID, @ATTRIBUTES, @PAIRED)", SPPID_OPC_INFO);
1718
                                    cmd.Parameters.Clear();
1719
                                    cmd.CommandText = string.Format(@"
1720
                                    IF EXISTS (SELECT * FROM {0} WHERE UID = '{1}')
1721
                                        UPDATE {0} SET SPPID_OPC_MODELITEM_ID = @SPPID_OPC_MODELITEM_ID, ID2_DRAWING_UID = @ID2_DRAWING_UID, ATTRIBUTES = @ATTRIBUTES, PAIRED = @PAIRED WHERE ID2_OPC_UID = @ID2_OPC_UID
1722
                                    ELSE
1723
                                        INSERT INTO {0} (ID2_OPC_UID, SPPID_OPC_MODELITEM_ID, ID2_DRAWING_UID, ATTRIBUTES, PAIRED) VALUES (@ID2_OPC_UID, @SPPID_OPC_MODELITEM_ID, @ID2_DRAWING_UID, @ATTRIBUTES, @PAIRED)", SPPID_OPC_INFO, item.UID);
1724

  
1695 1725
                                    cmd.Parameters.AddWithValue("@ID2_OPC_UID", item.UID);
1696
                                    cmd.Parameters.AddWithValue("@SPPID_OPC_MODELITEM_ID", item.SPPID.ModelItemID);
1726
                                    if (string.IsNullOrEmpty(item.SPPID.ModelItemID))
1727
                                        cmd.Parameters.AddWithValue("@SPPID_OPC_MODELITEM_ID", DBNull.Value);
1728
                                    else
1729
                                        cmd.Parameters.AddWithValue("@SPPID_OPC_MODELITEM_ID", item.SPPID.ModelItemID);
1697 1730
                                    cmd.Parameters.AddWithValue("@ID2_DRAWING_UID", document.UID);
1698 1731
                                    cmd.Parameters.AddWithValue("@ATTRIBUTES", JsonConvert.SerializeObject(item.SPPID.Attributes));
1699 1732
                                    cmd.Parameters.AddWithValue("@PAIRED", false);
......
1705 1738
                    }
1706 1739
                    catch (Exception ex)
1707 1740
                    {
1741
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1708 1742
                        return false;
1709 1743
                    }
1710 1744
                    finally
......
1746 1780
                            }
1747 1781
                            catch (Exception ex)
1748 1782
                            {
1783
                                Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1749 1784
                                transaction.Rollback();
1750 1785
                                return false;
1751 1786
                            }
......
1757 1792
                    }
1758 1793
                    catch (Exception ex)
1759 1794
                    {
1795
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1760 1796
                        return false;
1761 1797
                    }
1762 1798
                    finally
......
1775 1811
                        {
1776 1812
                            using (SqlCommand cmd = connection.CreateCommand())
1777 1813
                            {
1778
                                cmd.CommandText = string.Format("INSERT OR REPLACE INTO {0} (ID2_OPC_UID, SPPID_OPC_MODELITEM_ID, ID2_DRAWING_UID, PAIRED) VALUES (@ID2_OPC_UID, @SPPID_OPC_MODELITEM_ID, @ID2_DRAWING_UID, @PAIRED)", SPPID_OPC_INFO);
1814
                                cmd.Parameters.Clear();
1815
                                cmd.CommandText = string.Format(@"
1816
                                    UPDATE {0} SET SPPID_OPC_MODELITEM_ID = @SPPID_OPC_MODELITEM_ID, ID2_DRAWING_UID = @ID2_DRAWING_UID, PAIRED = @PAIRED WHERE ID2_OPC_UID = @ID2_OPC_UID", SPPID_OPC_INFO);
1779 1817
                                cmd.Parameters.AddWithValue("@ID2_OPC_UID", UID);
1780
                                cmd.Parameters.AddWithValue("@SPPID_OPC_MODELITEM_ID", ModelItemID);
1818
                                if (string.IsNullOrEmpty(ModelItemID))
1819
                                    cmd.Parameters.AddWithValue("@SPPID_OPC_MODELITEM_ID", DBNull.Value);
1820
                                else
1821
                                    cmd.Parameters.AddWithValue("@SPPID_OPC_MODELITEM_ID", ModelItemID);
1781 1822
                                cmd.Parameters.AddWithValue("@ID2_DRAWING_UID", drawingUID);
1782 1823
                                cmd.Parameters.AddWithValue("@PAIRED", Paired);
1783 1824
                                cmd.ExecuteNonQuery();
......
1787 1828
                    }
1788 1829
                    catch (Exception ex)
1789 1830
                    {
1831
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1790 1832
                        return false;
1791 1833
                    }
1792 1834
                    finally
......
1798 1840
            }
1799 1841
            return true;
1800 1842
        }
1843

  
1844
        public static bool ExportMappingData()
1845
        {
1846
            bool result = true;
1847
            try
1848
            {
1849
                DataSet dataSet = new DataSet();
1850
                DataTable symbolMappingDT = GetTable(SPPID_SYMBOL_MAPPING_TABLE);
1851
                if (symbolMappingDT != null)
1852
                {
1853
                    symbolMappingDT.TableName = SPPID_SYMBOL_MAPPING_TABLE;
1854
                    dataSet.Tables.Add(symbolMappingDT);
1855
                }
1856
                else
1857
                    result = false;
1858

  
1859
                DataTable attributeMappingDT = GetTable(SPPID_ATTRIBUTE_MAPPING_TABLE);
1860
                if (attributeMappingDT != null)
1861
                {
1862
                    attributeMappingDT.TableName = SPPID_ATTRIBUTE_MAPPING_TABLE;
1863
                    dataSet.Tables.Add(attributeMappingDT);
1864
                }
1865
                else
1866
                    result = false;
1867

  
1868
                if (result)
1869
                {
1870
                    string text = JsonConvert.SerializeObject(dataSet);
1871
                    using (StreamWriter sw = new StreamWriter(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) + @"\ExportFile.mapf", false))
1872
                    {
1873
                        sw.Write(text);
1874
                        sw.Close();
1875
                        sw.Dispose();
1876
                    }
1877
                }
1878
            }
1879
            catch (Exception ex)
1880
            {
1881
                Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1882
                result = false;
1883
            }
1884

  
1885
            return result;
1886
        }
1887

  
1888
        public static bool ImportMappingData()
1889
        {
1890
            bool result = true;
1891
            try
1892
            {
1893
                string sJson = string.Empty;
1894
                using (StreamReader sw = new StreamReader(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) + @"\ExportFile.mapf"))
1895
                {
1896
                    sJson = sw.ReadToEnd();
1897
                    sw.Close();
1898
                    sw.Dispose();
1899
                }
1900

  
1901
                DataSet dataSet = JsonConvert.DeserializeObject<DataSet>(sJson);
1902
                DataTable symbolMappingDT = dataSet.Tables[SPPID_SYMBOL_MAPPING_TABLE];
1903
                if (symbolMappingDT == null || !ImportSymbolMappingTable(symbolMappingDT))
1904
                    result = false;
1905

  
1906
                DataTable attributeMappingDT = dataSet.Tables[SPPID_ATTRIBUTE_MAPPING_TABLE];
1907
                if (attributeMappingDT == null || !ImportAttributeMappingTable(attributeMappingDT))
1908
                    result = false;
1909
            }
1910
            catch (Exception ex)
1911
            {
1912
                Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1913
                result = false;
1914
            }
1915

  
1916
            return result;
1917
        }
1918

  
1919
        private static DataTable GetTable(string tableName)
1920
        {
1921
            DataTable dt = new DataTable();
1922
            Project_Info projectInfo = Project_Info.GetInstance();
1923
            if (projectInfo.DBType == ID2DB_Type.SQLite)
1924
            {
1925
                using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath)))
1926
                {
1927
                    try
1928
                    {
1929
                        connection.Open();
1930
                        using (SQLiteCommand cmd = connection.CreateCommand())
1931
                        {
1932
                            cmd.CommandText = string.Format("SELECT * FROM {0}", tableName);
1933
                            using (SQLiteDataReader dr = cmd.ExecuteReader())
1934
                                dt.Load(dr);
1935
                        }
1936
                        connection.Close();
1937
                    }
1938
                    catch (Exception ex)
1939
                    {
1940
                        dt = null;
1941
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1942
                    }
1943
                    finally
1944
                    {
1945
                        connection.Dispose();
1946
                    }
1947
                }
1948
            }
1949
            else if (projectInfo.DBType == ID2DB_Type.MSSQL)
1950
            {
1951
                using (SqlConnection connection = GetSqlConnection())
1952
                {
1953
                    try
1954
                    {
1955
                        if (connection != null && connection.State == ConnectionState.Open)
1956
                        {
1957
                            using (SqlCommand cmd = connection.CreateCommand())
1958
                            {
1959
                                cmd.CommandText = string.Format("SELECT * FROM {0}", tableName);
1960
                                using (SqlDataReader dr = cmd.ExecuteReader())
1961
                                    dt.Load(dr);
1962
                            }
1963
                            connection.Close();
1964
                        }
1965
                    }
1966
                    catch (Exception ex)
1967
                    {
1968
                        dt = null;
1969
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
1970
                    }
1971
                    finally
1972
                    {
1973
                        if (connection != null)
1974
                            connection.Dispose();
1975
                    }
1976
                }
1977
            }
1978

  
1979
            return dt;
1980
        }
1981

  
1982
        private static bool ImportSymbolMappingTable(DataTable dt)
1983
        {
1984
            bool result = false;
1985

  
1986
            Project_Info projectInfo = Project_Info.GetInstance();
1987
            if (projectInfo.DBType == ID2DB_Type.SQLite)
1988
            {
1989
                using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath)))
1990
                {
1991
                    try
1992
                    {
1993
                        connection.Open();
1994
                        using (SQLiteTransaction transaction = connection.BeginTransaction())
1995
                        {
1996
                            try
1997
                            {
1998
                                using (SQLiteCommand cmd = connection.CreateCommand())
1999
                                {
2000
                                    foreach (DataRow item in dt.Rows)
2001
                                    {
2002
                                        string UID = DBNull.Value.Equals(item["UID"]) ? null : (string)item["UID"];
2003
                                        string NAME = DBNull.Value.Equals(item["NAME"]) ? null : (string)item["NAME"];
2004
                                        string SPPID_SYMBOL_PATH = DBNull.Value.Equals(item["SPPID_SYMBOL_PATH"]) ? null : (string)item["SPPID_SYMBOL_PATH"];
2005
                                        bool LEADERLINE = Convert.ToBoolean(item["LEADERLINE"]);
2006

  
2007
                                        cmd.Parameters.Clear();
2008
                                        cmd.CommandText = string.Format("INSERT OR REPLACE INTO {0} (UID, NAME, SPPID_SYMBOL_PATH, LEADERLINE) VALUES (@UID, @NAME, @SPPID_SYMBOL_PATH, @LEADERLINE)", SPPID_SYMBOL_MAPPING_TABLE);
2009
                                        cmd.Parameters.AddWithValue("@UID", UID);
2010
                                        cmd.Parameters.AddWithValue("@NAME", NAME);
2011
                                        cmd.Parameters.AddWithValue("@SPPID_SYMBOL_PATH", SPPID_SYMBOL_PATH);
2012
                                        cmd.Parameters.AddWithValue("@LEADERLINE", LEADERLINE);
2013
                                        cmd.ExecuteNonQuery();
2014
                                    }
2015
                                }
2016
                                transaction.Commit();
2017
                                connection.Close();
2018
                                result = true;
2019
                            }
2020
                            catch (Exception ex)
2021
                            {
2022
                                Log.Write(ex.Message + "\r\n" + ex.StackTrace);
2023
                                transaction.Rollback();
2024
                            }
2025
                            finally
2026
                            {
2027
                                transaction.Dispose();
2028
                            }
2029
                        }
2030
                    }
2031
                    catch (Exception ex)
2032
                    {
2033
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
2034
                    }
2035
                    finally
2036
                    {
2037
                        connection.Dispose();
2038
                    }
2039
                }
2040
            }
2041
            else if (projectInfo.DBType == ID2DB_Type.MSSQL)
2042
            {
2043
                using (SqlConnection connection = GetSqlConnection())
2044
                {
2045
                    try
2046
                    {
2047
                        if (connection != null && connection.State == ConnectionState.Open)
2048
                        {
2049
                            using (SqlCommand cmd = connection.CreateCommand())
2050
                            {
2051
                                foreach (DataRow item in dt.Rows)
2052
                                {
2053
                                    string UID = DBNull.Value.Equals(item["UID"]) ? null : (string)item["UID"];
2054
                                    string NAME = DBNull.Value.Equals(item["NAME"]) ? null : (string)item["NAME"];
2055
                                    string SPPID_SYMBOL_PATH = DBNull.Value.Equals(item["SPPID_SYMBOL_PATH"]) ? null : (string)item["SPPID_SYMBOL_PATH"];
2056
                                    bool LEADERLINE = DBNull.Value.Equals(item["LEADERLINE"]) ? false : Convert.ToBoolean(item["LEADERLINE"]);
2057

  
2058
                                    cmd.Parameters.Clear();
2059
                                    cmd.CommandText = string.Format(@"
2060
                                    IF EXISTS (SELECT * FROM {0} WHERE UID = '{1}')
2061
                                        UPDATE {0} SET NAME = @NAME, SPPID_SYMBOL_PATH = @SPPID_SYMBOL_PATH, LEADERLINE = @LEADERLINE WHERE UID = @UID
2062
                                    ELSE
2063
                                        INSERT INTO {0} (UID, NAME, SPPID_SYMBOL_PATH, LEADERLINE) VALUES (@UID, @NAME, @SPPID_SYMBOL_PATH, @LEADERLINE)", SPPID_SYMBOL_MAPPING_TABLE, UID);
2064
                                    cmd.Parameters.AddWithValue("@UID", UID);
2065
                                    if (string.IsNullOrEmpty(NAME))
2066
                                        cmd.Parameters.AddWithValue("@NAME", DBNull.Value);
2067
                                    else
2068
                                        cmd.Parameters.AddWithValue("@NAME", NAME);
2069
                                    if (string.IsNullOrEmpty(SPPID_SYMBOL_PATH))
2070
                                        cmd.Parameters.AddWithValue("@SPPID_SYMBOL_PATH", DBNull.Value);
2071
                                    else
2072
                                        cmd.Parameters.AddWithValue("@SPPID_SYMBOL_PATH", SPPID_SYMBOL_PATH);
2073
                                    cmd.Parameters.AddWithValue("@LEADERLINE", LEADERLINE);
2074
                                    cmd.ExecuteNonQuery();
2075
                                }
2076
                            }
2077
                            connection.Close();
2078
                            result = true;
2079
                        }
2080
                    }
2081
                    catch (Exception ex)
2082
                    {
2083
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
2084
                    }
2085
                    finally
2086
                    {
2087
                        if (connection != null)
2088
                            connection.Dispose();
2089
                    }
2090
                }
2091
            }
2092

  
2093
            return result;
2094
        }
2095

  
2096
        private static bool ImportAttributeMappingTable(DataTable dt)
2097
        {
2098
            bool result = false;
2099

  
2100
            Project_Info projectInfo = Project_Info.GetInstance();
2101
            if (projectInfo.DBType == ID2DB_Type.SQLite)
2102
            {
2103
                using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath)))
2104
                {
2105
                    try
2106
                    {
2107
                        connection.Open();
2108
                        using (SQLiteTransaction transaction = connection.BeginTransaction())
2109
                        {
2110
                            try
2111
                            {
2112
                                using (SQLiteCommand cmd = connection.CreateCommand())
2113
                                {
2114
                                    foreach (DataRow item in dt.Rows)
2115
                                    {
2116
                                        string UID = DBNull.Value.Equals(item["UID"]) ? null : (string)item["UID"];
2117
                                        string SPPID_ATTRIBUTE = DBNull.Value.Equals(item["SPPID_ATTRIBUTE"]) ? null : (string)item["SPPID_ATTRIBUTE"];
2118

  
2119
                                        cmd.Parameters.Clear();
2120
                                        cmd.CommandText = string.Format("INSERT OR REPLACE INTO {0} (UID, SPPID_ATTRIBUTE) VALUES (@UID, @SPPID_ATTRIBUTE)", SPPID_ATTRIBUTE_MAPPING_TABLE);
2121
                                        cmd.Parameters.AddWithValue("@UID", UID);
2122
                                        cmd.Parameters.AddWithValue("@SPPID_ATTRIBUTE", SPPID_ATTRIBUTE);
2123
                                        cmd.ExecuteNonQuery();
2124
                                    }
2125
                                }
2126
                                transaction.Commit();
2127
                                connection.Close();
2128
                                result = true;
2129
                            }
2130
                            catch (Exception ex)
2131
                            {
2132
                                Log.Write(ex.Message + "\r\n" + ex.StackTrace);
2133
                                transaction.Rollback();
2134
                            }
2135
                            finally
2136
                            {
2137
                                transaction.Dispose();
2138
                            }
2139
                        }
2140
                    }
2141
                    catch (Exception ex)
2142
                    {
2143
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
2144
                    }
2145
                    finally
2146
                    {
2147
                        connection.Dispose();
2148
                    }
2149
                }
2150
            }
2151
            else if (projectInfo.DBType == ID2DB_Type.MSSQL)
2152
            {
2153
                using (SqlConnection connection = GetSqlConnection())
2154
                {
2155
                    try
2156
                    {
2157
                        if (connection != null && connection.State == ConnectionState.Open)
2158
                        {
2159
                            using (SqlCommand cmd = connection.CreateCommand())
2160
                            {
2161
                                foreach (DataRow item in dt.Rows)
2162
                                {
2163
                                    string UID = DBNull.Value.Equals(item["UID"]) ? null : (string)item["UID"];
2164
                                    string SPPID_ATTRIBUTE = DBNull.Value.Equals(item["SPPID_ATTRIBUTE"]) ? null : (string)item["SPPID_ATTRIBUTE"];
2165

  
2166
                                    cmd.Parameters.Clear();
2167
                                    cmd.CommandText = string.Format(@"
2168
                                    IF EXISTS (SELECT * FROM {0} WHERE UID = '{1}')
2169
                                        UPDATE {0} SET SPPID_ATTRIBUTE = @SPPID_ATTRIBUTE WHERE UID = @UID
2170
                                    ELSE
2171
                                        INSERT INTO {0} (UID, SPPID_ATTRIBUTE) VALUES (@UID, @SPPID_ATTRIBUTE)", SPPID_ATTRIBUTE_MAPPING_TABLE, UID);
2172

  
2173
                                    cmd.Parameters.AddWithValue("@UID", UID);
2174
                                    if (string.IsNullOrEmpty(SPPID_ATTRIBUTE))
2175
                                        cmd.Parameters.AddWithValue("@SPPID_ATTRIBUTE", DBNull.Value);
2176
                                    else
2177
                                        cmd.Parameters.AddWithValue("@SPPID_ATTRIBUTE", SPPID_ATTRIBUTE);
2178
                                    cmd.ExecuteNonQuery();
2179
                                }
2180
                            }
2181
                            connection.Close();
2182
                            result = true;
2183
                        }
2184
                    }
2185
                    catch (Exception ex)
2186
                    {
2187
                        Log.Write(ex.Message + "\r\n" + ex.StackTrace);
2188
                    }
2189
                    finally
2190
                    {
2191
                        if (connection != null)
2192
                            connection.Dispose();
2193
                    }
2194
                }
2195
            }
2196

  
2197

  
2198

  
2199
            return result;
2200
        }
1801 2201
    }
1802 2202
}
DTI_PID/SPPIDConverter/Form/MappingForm.Designer.cs
114 114
            this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
115 115
            this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
116 116
            this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
117
            this.btnExportData = new DevExpress.XtraEditors.SimpleButton();
118
            this.layoutControlItem26 = new DevExpress.XtraLayout.LayoutControlItem();
119
            this.btnImportData = new DevExpress.XtraEditors.SimpleButton();
120
            this.layoutControlItem27 = new DevExpress.XtraLayout.LayoutControlItem();
117 121
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit();
118 122
            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
119 123
            this.layoutControl1.SuspendLayout();
......
196 200
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit();
197 201
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
198 202
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
203
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).BeginInit();
204
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).BeginInit();
199 205
            this.SuspendLayout();
200 206
            // 
201 207
            // ribbonControl
......
210 216
            this.ribbonControl.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False;
211 217
            this.ribbonControl.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages;
212 218
            this.ribbonControl.ShowToolbarCustomizeItem = false;
213
            this.ribbonControl.Size = new System.Drawing.Size(1094, 32);
219
            this.ribbonControl.Size = new System.Drawing.Size(1135, 27);
214 220
            this.ribbonControl.Toolbar.ShowCustomizeItem = false;
215 221
            // 
216 222
            // layoutControl1
217 223
            // 
224
            this.layoutControl1.Controls.Add(this.btnImportData);
225
            this.layoutControl1.Controls.Add(this.btnExportData);
218 226
            this.layoutControl1.Controls.Add(this.btnExportExcel);
219 227
            this.layoutControl1.Controls.Add(this.spinEditDrainValveCellCount);
220 228
            this.layoutControl1.Controls.Add(this.spinEditMinSymbolGridCellCount);
......
241 249
            this.layoutControl1.Controls.Add(this.checkEditSnapGrid);
242 250
            this.layoutControl1.Controls.Add(this.textBoxFlowMarkSymbolPath);
243 251
            this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
244
            this.layoutControl1.Location = new System.Drawing.Point(0, 32);
252
            this.layoutControl1.Location = new System.Drawing.Point(0, 27);
245 253
            this.layoutControl1.Name = "layoutControl1";
246 254
            this.layoutControl1.Root = this.Root;
247
            this.layoutControl1.Size = new System.Drawing.Size(1094, 738);
255
            this.layoutControl1.Size = new System.Drawing.Size(1135, 792);
248 256
            this.layoutControl1.TabIndex = 2;
249 257
            this.layoutControl1.Text = "layoutControl1";
250 258
            // 
251 259
            // btnExportExcel
252 260
            // 
253 261
            this.btnExportExcel.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnExportExcel.ImageOptions.Image")));
254
            this.btnExportExcel.Location = new System.Drawing.Point(801, 638);
262
            this.btnExportExcel.Location = new System.Drawing.Point(825, 606);
255 263
            this.btnExportExcel.Name = "btnExportExcel";
256
            this.btnExportExcel.Size = new System.Drawing.Size(269, 36);
264
            this.btnExportExcel.Size = new System.Drawing.Size(286, 38);
257 265
            this.btnExportExcel.StyleController = this.layoutControl1;
258 266
            this.btnExportExcel.TabIndex = 37;
259
            this.btnExportExcel.Text = "Export to Excel";
267
            this.btnExportExcel.Text = "Export Mapping Info to Excel";
260 268
            this.btnExportExcel.Click += new System.EventHandler(this.btnExportExcel_Click);
261 269
            // 
262 270
            // spinEditDrainValveCellCount
......
266 274
            0,
267 275
            0,
268 276
            0});
269
            this.spinEditDrainValveCellCount.Location = new System.Drawing.Point(543, 158);
277
            this.spinEditDrainValveCellCount.Location = new System.Drawing.Point(557, 156);
270 278
            this.spinEditDrainValveCellCount.MenuManager = this.ribbonControl;
271 279
            this.spinEditDrainValveCellCount.Name = "spinEditDrainValveCellCount";
272 280
            this.spinEditDrainValveCellCount.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
273 281
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
274 282
            this.spinEditDrainValveCellCount.Properties.IsFloatValue = false;
275 283
            this.spinEditDrainValveCellCount.Properties.Mask.EditMask = "N00";
276
            this.spinEditDrainValveCellCount.Size = new System.Drawing.Size(196, 20);
284
            this.spinEditDrainValveCellCount.Size = new System.Drawing.Size(211, 20);
277 285
            this.spinEditDrainValveCellCount.StyleController = this.layoutControl1;
278 286
            this.spinEditDrainValveCellCount.TabIndex = 35;
279 287
            // 
......
284 292
            0,
285 293
            0,
286 294
            0});
287
            this.spinEditMinSymbolGridCellCount.Location = new System.Drawing.Point(196, 158);
295
            this.spinEditMinSymbolGridCellCount.Location = new System.Drawing.Point(196, 156);
288 296
            this.spinEditMinSymbolGridCellCount.MenuManager = this.ribbonControl;
289 297
            this.spinEditMinSymbolGridCellCount.Name = "spinEditMinSymbolGridCellCount";
290 298
            this.spinEditMinSymbolGridCellCount.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
291 299
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
292 300
            this.spinEditMinSymbolGridCellCount.Properties.IsFloatValue = false;
293 301
            this.spinEditMinSymbolGridCellCount.Properties.Mask.EditMask = "N00";
294
            this.spinEditMinSymbolGridCellCount.Size = new System.Drawing.Size(195, 20);
302
            this.spinEditMinSymbolGridCellCount.Size = new System.Drawing.Size(209, 20);
295 303
            this.spinEditMinSymbolGridCellCount.StyleController = this.layoutControl1;
296 304
            this.spinEditMinSymbolGridCellCount.TabIndex = 34;
297 305
            // 
298 306
            // comboBoxEditUnit
299 307
            // 
300 308
            this.comboBoxEditUnit.EditValue = "Inch";
301
            this.comboBoxEditUnit.Location = new System.Drawing.Point(543, 101);
309
            this.comboBoxEditUnit.Location = new System.Drawing.Point(557, 101);
302 310
            this.comboBoxEditUnit.MenuManager = this.ribbonControl;
303 311
            this.comboBoxEditUnit.Name = "comboBoxEditUnit";
304 312
            this.comboBoxEditUnit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
305 313
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
306 314
            this.comboBoxEditUnit.Properties.Items.AddRange(new object[] {
307 315
            "Inch"});
308
            this.comboBoxEditUnit.Size = new System.Drawing.Size(208, 20);
316
            this.comboBoxEditUnit.Size = new System.Drawing.Size(223, 20);
309 317
            this.comboBoxEditUnit.StyleController = this.layoutControl1;
310 318
            this.comboBoxEditUnit.TabIndex = 33;
311 319
            // 
......
326 334
            0,
327 335
            0,
328 336
            131072});
329
            this.spinEditDensity.Size = new System.Drawing.Size(207, 20);
337
            this.spinEditDensity.Size = new System.Drawing.Size(221, 20);
330 338
            this.spinEditDensity.StyleController = this.layoutControl1;
331 339
            this.spinEditDensity.TabIndex = 32;
332 340
            // 
333 341
            // checkComboBoxLineNumberLocation
334 342
            // 
335
            this.checkComboBoxLineNumberLocation.Location = new System.Drawing.Point(529, 79);
343
            this.checkComboBoxLineNumberLocation.Location = new System.Drawing.Point(546, 78);
336 344
            this.checkComboBoxLineNumberLocation.MenuManager = this.ribbonControl;
337 345
            this.checkComboBoxLineNumberLocation.Name = "checkComboBoxLineNumberLocation";
338 346
            this.checkComboBoxLineNumberLocation.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
339 347
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
340
            this.checkComboBoxLineNumberLocation.Size = new System.Drawing.Size(222, 20);
348
            this.checkComboBoxLineNumberLocation.Size = new System.Drawing.Size(234, 20);
341 349
            this.checkComboBoxLineNumberLocation.StyleController = this.layoutControl1;
342 350
            this.checkComboBoxLineNumberLocation.TabIndex = 30;
343 351
            // 
344 352
            // checkComboBoxNoteLocation
345 353
            // 
346
            this.checkComboBoxNoteLocation.Location = new System.Drawing.Point(522, 103);
354
            this.checkComboBoxNoteLocation.Location = new System.Drawing.Point(538, 102);
347 355
            this.checkComboBoxNoteLocation.MenuManager = this.ribbonControl;
348 356
            this.checkComboBoxNoteLocation.Name = "checkComboBoxNoteLocation";
349 357
            this.checkComboBoxNoteLocation.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
350 358
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
351
            this.checkComboBoxNoteLocation.Size = new System.Drawing.Size(229, 20);
359
            this.checkComboBoxNoteLocation.Size = new System.Drawing.Size(242, 20);
352 360
            this.checkComboBoxNoteLocation.StyleController = this.layoutControl1;
353 361
            this.checkComboBoxNoteLocation.TabIndex = 29;
354 362
            // 
355 363
            // checkComboBoxTextLocation
356 364
            // 
357
            this.checkComboBoxTextLocation.Location = new System.Drawing.Point(522, 79);
365
            this.checkComboBoxTextLocation.Location = new System.Drawing.Point(538, 78);
358 366
            this.checkComboBoxTextLocation.MenuManager = this.ribbonControl;
359 367
            this.checkComboBoxTextLocation.Name = "checkComboBoxTextLocation";
360 368
            this.checkComboBoxTextLocation.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
361 369
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
362
            this.checkComboBoxTextLocation.Size = new System.Drawing.Size(229, 20);
370
            this.checkComboBoxTextLocation.Size = new System.Drawing.Size(242, 20);
363 371
            this.checkComboBoxTextLocation.StyleController = this.layoutControl1;
364 372
            this.checkComboBoxTextLocation.TabIndex = 28;
365 373
            // 
366 374
            // btnImageRefresh
367 375
            // 
368 376
            this.btnImageRefresh.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnImageRefresh.ImageOptions.SvgImage")));
369
            this.btnImageRefresh.Location = new System.Drawing.Point(801, 598);
377
            this.btnImageRefresh.Location = new System.Drawing.Point(825, 564);
370 378
            this.btnImageRefresh.Name = "btnImageRefresh";
371
            this.btnImageRefresh.Size = new System.Drawing.Size(269, 36);
379
            this.btnImageRefresh.Size = new System.Drawing.Size(286, 38);
372 380
            this.btnImageRefresh.StyleController = this.layoutControl1;
373 381
            this.btnImageRefresh.TabIndex = 27;
374 382
            this.btnImageRefresh.Text = "Refresh SPPID Image";
......
376 384
            // 
377 385
            // textBoxDrainValveSize
378 386
            // 
379
            this.textBoxDrainValveSize.Location = new System.Drawing.Point(184, 241);
387
            this.textBoxDrainValveSize.Location = new System.Drawing.Point(184, 236);
380 388
            this.textBoxDrainValveSize.MenuManager = this.ribbonControl;
381 389
            this.textBoxDrainValveSize.Name = "textBoxDrainValveSize";
382
            this.textBoxDrainValveSize.Size = new System.Drawing.Size(567, 20);
390
            this.textBoxDrainValveSize.Size = new System.Drawing.Size(596, 20);
383 391
            this.textBoxDrainValveSize.StyleController = this.layoutControl1;
384 392
            this.textBoxDrainValveSize.TabIndex = 26;
385 393
            // 
386 394
            // textBoxNoteSymbolPath
387 395
            // 
388
            this.textBoxNoteSymbolPath.Location = new System.Drawing.Point(184, 103);
396
            this.textBoxNoteSymbolPath.Location = new System.Drawing.Point(184, 102);
389 397
            this.textBoxNoteSymbolPath.MenuManager = this.ribbonControl;
390 398
            this.textBoxNoteSymbolPath.Name = "textBoxNoteSymbolPath";
391 399
            this.textBoxNoteSymbolPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
392 400
            new DevExpress.XtraEditors.Controls.EditorButton()});
393
            this.textBoxNoteSymbolPath.Size = new System.Drawing.Size(251, 20);
401
            this.textBoxNoteSymbolPath.Size = new System.Drawing.Size(267, 20);
394 402
            this.textBoxNoteSymbolPath.StyleController = this.layoutControl1;
395 403
            this.textBoxNoteSymbolPath.TabIndex = 25;
396 404
            this.textBoxNoteSymbolPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxETC_ButtonClick);
397 405
            // 
398 406
            // textBoxTextSymbolPath
399 407
            // 
400
            this.textBoxTextSymbolPath.Location = new System.Drawing.Point(184, 79);
408
            this.textBoxTextSymbolPath.Location = new System.Drawing.Point(184, 78);
401 409
            this.textBoxTextSymbolPath.MenuManager = this.ribbonControl;
402 410
            this.textBoxTextSymbolPath.Name = "textBoxTextSymbolPath";
403 411
            this.textBoxTextSymbolPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
404 412
            new DevExpress.XtraEditors.Controls.EditorButton()});
405
            this.textBoxTextSymbolPath.Size = new System.Drawing.Size(251, 20);
413
            this.textBoxTextSymbolPath.Size = new System.Drawing.Size(267, 20);
406 414
            this.textBoxTextSymbolPath.StyleController = this.layoutControl1;
407 415
            this.textBoxTextSymbolPath.TabIndex = 24;
408 416
            this.textBoxTextSymbolPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxETC_ButtonClick);
409 417
            // 
410 418
            // textBoxLineNumberPath
411 419
            // 
412
            this.textBoxLineNumberPath.Location = new System.Drawing.Point(208, 79);
420
            this.textBoxLineNumberPath.Location = new System.Drawing.Point(208, 78);
413 421
            this.textBoxLineNumberPath.MenuManager = this.ribbonControl;
414 422
            this.textBoxLineNumberPath.Name = "textBoxLineNumberPath";
415 423
            this.textBoxLineNumberPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
416 424
            new DevExpress.XtraEditors.Controls.EditorButton()});
417 425
            this.textBoxLineNumberPath.Properties.ReadOnly = true;
418
            this.textBoxLineNumberPath.Size = new System.Drawing.Size(234, 20);
426
            this.textBoxLineNumberPath.Size = new System.Drawing.Size(251, 20);
419 427
            this.textBoxLineNumberPath.StyleController = this.layoutControl1;
420 428
            this.textBoxLineNumberPath.TabIndex = 23;
421 429
            this.textBoxLineNumberPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxLineNumberPath_ButtonClick);
422 430
            // 
423 431
            // gridControlLineNumber
424 432
            // 
425
            this.gridControlLineNumber.Location = new System.Drawing.Point(36, 103);
433
            this.gridControlLineNumber.Location = new System.Drawing.Point(36, 102);
426 434
            this.gridControlLineNumber.MainView = this.gridViewLineNumber;
427 435
            this.gridControlLineNumber.MenuManager = this.ribbonControl;
428 436
            this.gridControlLineNumber.Name = "gridControlLineNumber";
429
            this.gridControlLineNumber.Size = new System.Drawing.Size(715, 559);
437
            this.gridControlLineNumber.Size = new System.Drawing.Size(744, 614);
430 438
            this.gridControlLineNumber.TabIndex = 21;
431 439
            this.gridControlLineNumber.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
432 440
            this.gridViewLineNumber});
......
441 449
            // btnClose
442 450
            // 
443 451
            this.btnClose.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnClose.ImageOptions.SvgImage")));
444
            this.btnClose.Location = new System.Drawing.Point(996, 690);
452
            this.btnClose.Location = new System.Drawing.Point(1037, 744);
445 453
            this.btnClose.Name = "btnClose";
446 454
            this.btnClose.Size = new System.Drawing.Size(86, 36);
447 455
            this.btnClose.StyleController = this.layoutControl1;
......
451 459
            // 
452 460
            // gridControlAttribute
453 461
            // 
454
            this.gridControlAttribute.Location = new System.Drawing.Point(36, 79);
462
            this.gridControlAttribute.Location = new System.Drawing.Point(36, 78);
455 463
            this.gridControlAttribute.MainView = this.gridViewAttribute;
456 464
            this.gridControlAttribute.MenuManager = this.ribbonControl;
457 465
            this.gridControlAttribute.Name = "gridControlAttribute";
458
            this.gridControlAttribute.Size = new System.Drawing.Size(715, 583);
466
            this.gridControlAttribute.Size = new System.Drawing.Size(744, 638);
459 467
            this.gridControlAttribute.TabIndex = 19;
460 468
            this.gridControlAttribute.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
461 469
            this.gridViewAttribute});
......
469 477
            // 
470 478
            // gridControlLine
471 479
            // 
472
            this.gridControlLine.Location = new System.Drawing.Point(36, 79);
480
            this.gridControlLine.Location = new System.Drawing.Point(36, 78);
473 481
            this.gridControlLine.MainView = this.gridViewLine;
474 482
            this.gridControlLine.MenuManager = this.ribbonControl;
475 483
            this.gridControlLine.Name = "gridControlLine";
476
            this.gridControlLine.Size = new System.Drawing.Size(715, 583);
484
            this.gridControlLine.Size = new System.Drawing.Size(744, 638);
477 485
            this.gridControlLine.TabIndex = 18;
478 486
            this.gridControlLine.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
479 487
            this.gridViewLine});
......
487 495
            // 
488 496
            // gridControlSymbol
489 497
            // 
490
            this.gridControlSymbol.Location = new System.Drawing.Point(36, 79);
498
            this.gridControlSymbol.Location = new System.Drawing.Point(36, 78);
491 499
            this.gridControlSymbol.MainView = this.gridViewSymbol;
492 500
            this.gridControlSymbol.MenuManager = this.ribbonControl;
493 501
            this.gridControlSymbol.Name = "gridControlSymbol";
494
            this.gridControlSymbol.Size = new System.Drawing.Size(715, 253);
502
            this.gridControlSymbol.Size = new System.Drawing.Size(744, 280);
495 503
            this.gridControlSymbol.TabIndex = 16;
496 504
            this.gridControlSymbol.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
497 505
            this.gridViewSymbol});
......
507 515
            // 
508 516
            // pictureEditSPPIDSymbol
509 517
            // 
510
            this.pictureEditSPPIDSymbol.Location = new System.Drawing.Point(813, 370);
518
            this.pictureEditSPPIDSymbol.Location = new System.Drawing.Point(837, 328);
511 519
            this.pictureEditSPPIDSymbol.MenuManager = this.ribbonControl;
512 520
            this.pictureEditSPPIDSymbol.Name = "pictureEditSPPIDSymbol";
513 521
            this.pictureEditSPPIDSymbol.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto;
514 522
            this.pictureEditSPPIDSymbol.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
515
            this.pictureEditSPPIDSymbol.Size = new System.Drawing.Size(245, 212);
523
            this.pictureEditSPPIDSymbol.Size = new System.Drawing.Size(262, 220);
516 524
            this.pictureEditSPPIDSymbol.StyleController = this.layoutControl1;
517 525
            this.pictureEditSPPIDSymbol.TabIndex = 15;
518 526
            // 
519 527
            // btnSave
520 528
            // 
521 529
            this.btnSave.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnSave.ImageOptions.SvgImage")));
522
            this.btnSave.Location = new System.Drawing.Point(893, 690);
530
            this.btnSave.Location = new System.Drawing.Point(934, 744);
523 531
            this.btnSave.Name = "btnSave";
524 532
            this.btnSave.Size = new System.Drawing.Size(84, 36);
525 533
            this.btnSave.StyleController = this.layoutControl1;
......
530 538
            // treeListSPPIDTreeList
531 539
            // 
532 540
            this.treeListSPPIDTreeList.Cursor = System.Windows.Forms.Cursors.Default;
533
            this.treeListSPPIDTreeList.Location = new System.Drawing.Point(801, 45);
541
            this.treeListSPPIDTreeList.Location = new System.Drawing.Point(825, 43);
534 542
            this.treeListSPPIDTreeList.Name = "treeListSPPIDTreeList";
535
            this.treeListSPPIDTreeList.Size = new System.Drawing.Size(269, 278);
543
            this.treeListSPPIDTreeList.Size = new System.Drawing.Size(286, 245);
536 544
            this.treeListSPPIDTreeList.TabIndex = 12;
537 545
            this.treeListSPPIDTreeList.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.treeListSPPIDTreeList_FocusedNodeChanged);
538 546
            this.treeListSPPIDTreeList.DoubleClick += new System.EventHandler(this.treeListSPPIDTreeList_DoubleClick);
539 547
            // 
540 548
            // pictureEditID2Symbol
541 549
            // 
542
            this.pictureEditID2Symbol.Location = new System.Drawing.Point(36, 391);
550
            this.pictureEditID2Symbol.Location = new System.Drawing.Point(36, 410);
543 551
            this.pictureEditID2Symbol.MenuManager = this.ribbonControl;
544 552
            this.pictureEditID2Symbol.Name = "pictureEditID2Symbol";
545 553
            this.pictureEditID2Symbol.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto;
546 554
            this.pictureEditID2Symbol.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
547
            this.pictureEditID2Symbol.Size = new System.Drawing.Size(364, 271);
555
            this.pictureEditID2Symbol.Size = new System.Drawing.Size(379, 306);
548 556
            this.pictureEditID2Symbol.StyleController = this.layoutControl1;
549 557
            this.pictureEditID2Symbol.TabIndex = 4;
550 558
            // 
551 559
            // pictureEditMapped
552 560
            // 
553
            this.pictureEditMapped.Location = new System.Drawing.Point(438, 391);
561
            this.pictureEditMapped.Location = new System.Drawing.Point(448, 410);
554 562
            this.pictureEditMapped.MenuManager = this.ribbonControl;
555 563
            this.pictureEditMapped.Name = "pictureEditMapped";
556 564
            this.pictureEditMapped.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto;
557 565
            this.pictureEditMapped.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
558
            this.pictureEditMapped.Size = new System.Drawing.Size(313, 271);
566
            this.pictureEditMapped.Size = new System.Drawing.Size(332, 306);
559 567
            this.pictureEditMapped.StyleController = this.layoutControl1;
560 568
            this.pictureEditMapped.TabIndex = 5;
561 569
            // 
562 570
            // checkEditSnapGrid
563 571
            // 
564 572
            this.checkEditSnapGrid.EditValue = true;
565
            this.checkEditSnapGrid.Location = new System.Drawing.Point(36, 79);
573
            this.checkEditSnapGrid.Location = new System.Drawing.Point(36, 78);
566 574
            this.checkEditSnapGrid.MenuManager = this.ribbonControl;
567 575
            this.checkEditSnapGrid.Name = "checkEditSnapGrid";
568 576
            this.checkEditSnapGrid.Properties.Caption = "Use Snap Grid";
569
            this.checkEditSnapGrid.Size = new System.Drawing.Size(715, 18);
577
            this.checkEditSnapGrid.Size = new System.Drawing.Size(744, 19);
570 578
            this.checkEditSnapGrid.StyleController = this.layoutControl1;
571 579
            this.checkEditSnapGrid.TabIndex = 31;
572 580
            this.checkEditSnapGrid.CheckedChanged += new System.EventHandler(this.checkEditSnapGrid_CheckedChanged);
573 581
            // 
574 582
            // textBoxFlowMarkSymbolPath
575 583
            // 
576
            this.textBoxFlowMarkSymbolPath.Location = new System.Drawing.Point(184, 172);
584
            this.textBoxFlowMarkSymbolPath.Location = new System.Drawing.Point(184, 169);
577 585
            this.textBoxFlowMarkSymbolPath.MenuManager = this.ribbonControl;
578 586
            this.textBoxFlowMarkSymbolPath.Name = "textBoxFlowMarkSymbolPath";
579 587
            this.textBoxFlowMarkSymbolPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
580 588
            new DevExpress.XtraEditors.Controls.EditorButton()});
581
            this.textBoxFlowMarkSymbolPath.Size = new System.Drawing.Size(567, 20);
589
            this.textBoxFlowMarkSymbolPath.Size = new System.Drawing.Size(596, 20);
582 590
            this.textBoxFlowMarkSymbolPath.StyleController = this.layoutControl1;
583 591
            this.textBoxFlowMarkSymbolPath.TabIndex = 36;
584 592
            this.textBoxFlowMarkSymbolPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxETC_ButtonClick);
......
596 604
            this.layoutControlItem4,
597 605
            this.emptySpaceItem1});
598 606
            this.Root.Name = "Root";
599
            this.Root.Size = new System.Drawing.Size(1094, 738);
607
            this.Root.Size = new System.Drawing.Size(1135, 792);
600 608
            this.Root.TextVisible = false;
601 609
            // 
602 610
            // layoutControlGroup2
......
606 614
            this.layoutControlGroup5,
607 615
            this.splitterItem5,
608 616
            this.layoutControlItem15,
609
            this.layoutControlItem25});
610
            this.layoutControlGroup2.Location = new System.Drawing.Point(777, 0);
617
            this.layoutControlItem25,
618
            this.layoutControlItem26,
619
            this.layoutControlItem27});
620
            this.layoutControlGroup2.Location = new System.Drawing.Point(801, 0);
611 621
            this.layoutControlGroup2.Name = "layoutControlGroup2";
612
            this.layoutControlGroup2.Size = new System.Drawing.Size(297, 678);
622
            this.layoutControlGroup2.Size = new System.Drawing.Size(314, 732);
613 623
            this.layoutControlGroup2.Text = "SPPID Symbol";
614 624
            // 
615 625
            // layoutControlItem8
......
617 627
            this.layoutControlItem8.Control = this.treeListSPPIDTreeList;
618 628
            this.layoutControlItem8.Location = new System.Drawing.Point(0, 0);
619 629
            this.layoutControlItem8.Name = "layoutControlItem8";
620
            this.layoutControlItem8.Size = new System.Drawing.Size(273, 282);
630
            this.layoutControlItem8.Size = new System.Drawing.Size(290, 249);
621 631
            this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0);
622 632
            this.layoutControlItem8.TextVisible = false;
623 633
            // 
......
625 635
            // 
626 636
            this.layoutControlGroup5.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
627 637
            this.layoutControlItem9});
628
            this.layoutControlGroup5.Location = new System.Drawing.Point(0, 292);
638
            this.layoutControlGroup5.Location = new System.Drawing.Point(0, 254);
629 639
            this.layoutControlGroup5.Name = "layoutControlGroup5";
630
            this.layoutControlGroup5.Size = new System.Drawing.Size(273, 261);
640
            this.layoutControlGroup5.Size = new System.Drawing.Size(290, 267);
631 641
            this.layoutControlGroup5.Text = "SPPID Image";
632 642
            // 
633 643
            // layoutControlItem9
......
635 645
            this.layoutControlItem9.Control = this.pictureEditSPPIDSymbol;
636 646
            this.layoutControlItem9.Location = new System.Drawing.Point(0, 0);
637 647
            this.layoutControlItem9.Name = "layoutControlItem9";
638
            this.layoutControlItem9.Size = new System.Drawing.Size(249, 216);
648
            this.layoutControlItem9.Size = new System.Drawing.Size(266, 224);
639 649
            this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0);
640 650
            this.layoutControlItem9.TextVisible = false;
641 651
            // 
642 652
            // splitterItem5
643 653
            // 
644 654
            this.splitterItem5.AllowHotTrack = true;
645
            this.splitterItem5.Location = new System.Drawing.Point(0, 282);
655
            this.splitterItem5.Location = new System.Drawing.Point(0, 249);
646 656
            this.splitterItem5.Name = "splitterItem5";
647
            this.splitterItem5.Size = new System.Drawing.Size(273, 10);
657
            this.splitterItem5.Size = new System.Drawing.Size(290, 5);
648 658
            // 
649 659
            // layoutControlItem15
650 660
            // 
651 661
            this.layoutControlItem15.Control = this.btnImageRefresh;
652
            this.layoutControlItem15.Location = new System.Drawing.Point(0, 553);
662
            this.layoutControlItem15.Location = new System.Drawing.Point(0, 521);
653 663
            this.layoutControlItem15.Name = "layoutControlItem15";
654
            this.layoutControlItem15.Size = new System.Drawing.Size(273, 40);
664
            this.layoutControlItem15.Size = new System.Drawing.Size(290, 42);
655 665
            this.layoutControlItem15.TextSize = new System.Drawing.Size(0, 0);
656 666
            this.layoutControlItem15.TextVisible = false;
657 667
            // 
658 668
            // layoutControlItem25
659 669
            // 
660 670
            this.layoutControlItem25.Control = this.btnExportExcel;
661
            this.layoutControlItem25.Location = new System.Drawing.Point(0, 593);
671
            this.layoutControlItem25.Location = new System.Drawing.Point(0, 563);
662 672
            this.layoutControlItem25.Name = "layoutControlItem25";
663
            this.layoutControlItem25.Size = new System.Drawing.Size(273, 40);
673
            this.layoutControlItem25.Size = new System.Drawing.Size(290, 42);
664 674
            this.layoutControlItem25.TextSize = new System.Drawing.Size(0, 0);
665 675
            this.layoutControlItem25.TextVisible = false;
666 676
            // 
667 677
            // emptySpaceItem2
668 678
            // 
669 679
            this.emptySpaceItem2.AllowHotTrack = false;
670
            this.emptySpaceItem2.Location = new System.Drawing.Point(0, 678);
680
            this.emptySpaceItem2.Location = new System.Drawing.Point(0, 732);
671 681
            this.emptySpaceItem2.Name = "emptySpaceItem2";
672
            this.emptySpaceItem2.Size = new System.Drawing.Size(881, 40);
682
            this.emptySpaceItem2.Size = new System.Drawing.Size(922, 40);
673 683
            this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
674 684
            // 
675 685
            // splitterItem3
676 686
            // 
677 687
            this.splitterItem3.AllowHotTrack = true;
678
            this.splitterItem3.Location = new System.Drawing.Point(767, 0);
688
            this.splitterItem3.Location = new System.Drawing.Point(796, 0);
679 689
            this.splitterItem3.Name = "splitterItem3";
680
            this.splitterItem3.Size = new System.Drawing.Size(10, 678);
690
            this.splitterItem3.Size = new System.Drawing.Size(5, 732);
681 691
            // 
682 692
            // tabbedControlGroup
683 693
            // 
684 694
            this.tabbedControlGroup.Location = new System.Drawing.Point(0, 0);
685 695
            this.tabbedControlGroup.Name = "tabbedControlGroup";
686 696
            this.tabbedControlGroup.SelectedTabPage = this.GroupSymbol;
687
            this.tabbedControlGroup.Size = new System.Drawing.Size(767, 678);
697
            this.tabbedControlGroup.Size = new System.Drawing.Size(796, 732);
688 698
            this.tabbedControlGroup.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
689 699
            this.GroupSymbol,
690 700
            this.GroupLine,
......
703 713
            this.layoutControlGroup1});
704 714
            this.GroupSymbol.Location = new System.Drawing.Point(0, 0);
705 715
            this.GroupSymbol.Name = "GroupSymbol";
706
            this.GroupSymbol.Size = new System.Drawing.Size(743, 632);
716
            this.GroupSymbol.Size = new System.Drawing.Size(772, 685);
707 717
            this.GroupSymbol.Text = "Symbol";
708 718
            // 
709 719
            // splitterItem1
710 720
            // 
711 721
            this.splitterItem1.AllowHotTrack = true;
712
            this.splitterItem1.Location = new System.Drawing.Point(0, 302);
722
            this.splitterItem1.Location = new System.Drawing.Point(0, 327);
713 723
            this.splitterItem1.Name = "splitterItem1";
714
            this.splitterItem1.Size = new System.Drawing.Size(743, 10);
724
            this.splitterItem1.Size = new System.Drawing.Size(772, 5);
715 725
            // 
716 726
            // layoutControlGroup3
717 727
            // 
718 728
            this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
719 729
            this.layoutControlItem1});
720
            this.layoutControlGroup3.Location = new System.Drawing.Point(0, 312);
730
            this.layoutControlGroup3.Location = new System.Drawing.Point(0, 332);
721 731
            this.layoutControlGroup3.Name = "layoutControlGroup3";
722
            this.layoutControlGroup3.Size = new System.Drawing.Size(392, 320);
732
            this.layoutControlGroup3.Size = new System.Drawing.Size(407, 353);
723 733
            this.layoutControlGroup3.Text = "ID2 Image";
724 734
            // 
725 735
            // layoutControlItem1
......
727 737
            this.layoutControlItem1.Control = this.pictureEditID2Symbol;
728 738
            this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
729 739
            this.layoutControlItem1.Name = "layoutControlItem1";
730
            this.layoutControlItem1.Size = new System.Drawing.Size(368, 275);
740
            this.layoutControlItem1.Size = new System.Drawing.Size(383, 310);
731 741
            this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
732 742
            this.layoutControlItem1.TextVisible = false;
733 743
            // 
......
735 745
            // 
736 746
            this.layoutControlGroup4.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
737 747
            this.layoutControlItem2});
738
            this.layoutControlGroup4.Location = new System.Drawing.Point(402, 312);
748
            this.layoutControlGroup4.Location = new System.Drawing.Point(412, 332);
739 749
            this.layoutControlGroup4.Name = "layoutControlGroup4";
740
            this.layoutControlGroup4.Size = new System.Drawing.Size(341, 320);
750
            this.layoutControlGroup4.Size = new System.Drawing.Size(360, 353);
741 751
            this.layoutControlGroup4.Text = "Mapped Image";
742 752
            // 
743 753
            // layoutControlItem2
......
745 755
            this.layoutControlItem2.Control = this.pictureEditMapped;
746 756
            this.layoutControlItem2.Location = new System.Drawing.Point(0, 0);
747 757
            this.layoutControlItem2.Name = "layoutControlItem2";
748
            this.layoutControlItem2.Size = new System.Drawing.Size(317, 275);
758
            this.layoutControlItem2.Size = new System.Drawing.Size(336, 310);
749 759
            this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
750 760
            this.layoutControlItem2.TextVisible = false;
751 761
            // 
752 762
            // splitterItem4
753 763
            // 
754 764
            this.splitterItem4.AllowHotTrack = true;
755
            this.splitterItem4.Location = new System.Drawing.Point(392, 312);
765
            this.splitterItem4.Location = new System.Drawing.Point(407, 332);
756 766
            this.splitterItem4.Name = "splitterItem4";
757
            this.splitterItem4.Size = new System.Drawing.Size(10, 320);
767
            this.splitterItem4.Size = new System.Drawing.Size(5, 353);
758 768
            // 
759 769
            // layoutControlGroup1
760 770
            // 
......
762 772
            this.layoutControlItem6});
763 773
            this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0);
764 774
            this.layoutControlGroup1.Name = "layoutControlGroup1";
765
            this.layoutControlGroup1.Size = new System.Drawing.Size(743, 302);
775
            this.layoutControlGroup1.Size = new System.Drawing.Size(772, 327);
766 776
            this.layoutControlGroup1.Text = "ID2 Symbol List";
767 777
            // 
768 778
            // layoutControlItem6
......
770 780
            this.layoutControlItem6.Control = this.gridControlSymbol;
771 781
            this.layoutControlItem6.Location = new System.Drawing.Point(0, 0);
772 782
            this.layoutControlItem6.Name = "layoutControlItem6";
773
            this.layoutControlItem6.Size = new System.Drawing.Size(719, 257);
783
            this.layoutControlItem6.Size = new System.Drawing.Size(748, 284);
774 784
            this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0);
775 785
            this.layoutControlItem6.TextVisible = false;
776 786
            // 
......
780 790
            this.layoutControlGroup6});
781 791
            this.GroupLine.Location = new System.Drawing.Point(0, 0);
782 792
            this.GroupLine.Name = "GroupLine";
783
            this.GroupLine.Size = new System.Drawing.Size(743, 632);
793
            this.GroupLine.Size = new System.Drawing.Size(772, 685);
784 794
            this.GroupLine.Text = "Line";
785 795
            // 
786 796
            // layoutControlGroup6
......
789 799
            this.layoutControlItem10});
790 800
            this.layoutControlGroup6.Location = new System.Drawing.Point(0, 0);
791 801
            this.layoutControlGroup6.Name = "layoutControlGroup6";
792
            this.layoutControlGroup6.Size = new System.Drawing.Size(743, 632);
802
            this.layoutControlGroup6.Size = new System.Drawing.Size(772, 685);
793 803
            this.layoutControlGroup6.Text = "ID2 Line List";
794 804
            // 
795 805
            // layoutControlItem10
......
797 807
            this.layoutControlItem10.Control = this.gridControlLine;
798 808
            this.layoutControlItem10.Location = new System.Drawing.Point(0, 0);
799 809
            this.layoutControlItem10.Name = "layoutControlItem10";
800
            this.layoutControlItem10.Size = new System.Drawing.Size(719, 587);
810
            this.layoutControlItem10.Size = new System.Drawing.Size(748, 642);
801 811
            this.layoutControlItem10.TextSize = new System.Drawing.Size(0, 0);
802 812
            this.layoutControlItem10.TextVisible = false;
803 813
            // 
......
807 817
            this.layoutControlGroup8});
808 818
            this.GroupLineNumber.Location = new System.Drawing.Point(0, 0);
809 819
            this.GroupLineNumber.Name = "GroupLineNumber";
810
            this.GroupLineNumber.Size = new System.Drawing.Size(743, 632);
820
            this.GroupLineNumber.Size = new System.Drawing.Size(772, 685);
811 821
            this.GroupLineNumber.Text = "Line Number";
812 822
            // 
813 823
            // layoutControlGroup8
......
818 828
            this.layoutControlItem18});
819 829
            this.layoutControlGroup8.Location = new System.Drawing.Point(0, 0);
820 830
            this.layoutControlGroup8.Name = "layoutControlGroup8";
821
            this.layoutControlGroup8.Size = new System.Drawing.Size(743, 632);
831
            this.layoutControlGroup8.Size = new System.Drawing.Size(772, 685);
822 832
            this.layoutControlGroup8.Text = "ID2 Line Number";
823 833
            // 
824 834
            // layoutControlItem13
......
826 836
            this.layoutControlItem13.Control = this.gridControlLineNumber;
827 837
            this.layoutControlItem13.Location = new System.Drawing.Point(0, 24);
828 838
            this.layoutControlItem13.Name = "layoutControlItem13";
829
            this.layoutControlItem13.Size = new System.Drawing.Size(719, 563);
839
            this.layoutControlItem13.Size = new System.Drawing.Size(748, 618);
830 840
            this.layoutControlItem13.TextSize = new System.Drawing.Size(0, 0);
831 841
            this.layoutControlItem13.TextVisible = false;
832 842
            // 
......
835 845
            this.layoutControlItem3.Control = this.textBoxLineNumberPath;
836 846
            this.layoutControlItem3.Location = new System.Drawing.Point(0, 0);
837 847
            this.layoutControlItem3.Name = "layoutControlItem3";
838
            this.layoutControlItem3.Size = new System.Drawing.Size(410, 24);
848
            this.layoutControlItem3.Size = new System.Drawing.Size(427, 24);
839 849
            this.layoutControlItem3.Text = "SPPID Line Number Label Path";
840 850
            this.layoutControlItem3.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
841 851
            this.layoutControlItem3.TextSize = new System.Drawing.Size(167, 14);
... 이 차이점은 표시할 수 있는 최대 줄수를 초과해서 이 차이점은 잘렸습니다.

내보내기 Unified diff

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