개정판 fa742a86
issue #563:fix line no eq searching and 49 allowable ongoing
Change-Id: I7f2acf9cead52a6e0b97248bce2db6028d35ef6a
DTI_PID/DTI_PID/Scripts/MSSQL/ID2.sql | ||
---|---|---|
1962 | 1962 |
(8,NULL,'String','Paint Code','PAINT_CODE','1bf7d489-ef55-41e1-a17d-002dc3e36bb7'), |
1963 | 1963 |
(9,NULL,'String','NDE','NDE_CODE','7815040b-9c25-470a-85dc-4666234bdb26'), |
1964 | 1964 |
(10,NULL,'String','PWHT','PWHT','f0c36a24-c9f6-4cd7-8a75-cf20eed1c12a'), |
1965 |
(11,NULL,'String','Stream No','STREAM_NO','6ce28a5c-494b-458b-8151-5aa2604c952c'); |
|
1965 |
(11,NULL,'String','Stream No','STREAM_NO','6ce28a5c-494b-458b-8151-5aa2604c952c') |
|
1966 |
(12,NULL,'String','From_eq','From_eq','d50c31b9-595f-4f4c-a2bd-afc6d8112b86') |
|
1967 |
(13,NULL,'String','To_eq','To_eq','83ffef92-3c94-47ce-a6ec-737ba4a79a93'); |
|
1968 |
|
|
1969 |
INSERT INTO SymbolAttribute |
|
1970 |
(UID, SymbolType_UID, "Attribute", DisplayAttribute, AttributeType, Expression, "index", AttrAt, "Length", Target, Property) |
|
1971 |
VALUES('d50c31b9-595f-4f4c-a2bd-afc6d8112b86', '40', 'From_eq', 'From_eq', 'EQ Item', 'item.EvaluatedName', 0, 0, NULL, 'ALL', 2); |
|
1972 |
INSERT INTO SymbolAttribute |
|
1973 |
(UID, SymbolType_UID, "Attribute", DisplayAttribute, AttributeType, Expression, "index", AttrAt, "Length", Target, Property) |
|
1974 |
VALUES('83ffef92-3c94-47ce-a6ec-737ba4a79a93', '40', 'To_eq', 'To_eq', 'EQ Item', 'item.EvaluatedName', 1, 1, NULL, 'ALL', 2); |
|
1966 | 1975 |
|
1967 | 1976 |
|
1968 | 1977 |
|
DTI_PID/DTI_PID/Shapes/EngineeringLineNoTextItem.py | ||
---|---|---|
708 | 708 |
break |
709 | 709 |
|
710 | 710 |
if type(items[-1]) is QEngineeringNozzleItem: |
711 |
for connector in items[0].connectors:
|
|
711 |
for connector in items[-1].connectors:
|
|
712 | 712 |
# To |
713 | 713 |
if (type(connector.connectedItem) is QEngineeringVendorItem or type(connector.connectedItem) is QEngineeringEquipmentItem) and \ |
714 | 714 |
connector.connectedItem not in items: |
minorTools/xmlTextSearcher.py | ||
---|---|---|
3 | 3 |
def finder(): |
4 | 4 |
print("finder start") |
5 | 5 |
|
6 |
targetText = ['Rotameter']
|
|
7 |
path = 'W:\ID2_Project\REB\Temp'
|
|
6 |
targetText = ['>SI<', '>RV<']
|
|
7 |
path = 'W:\ID2_Project\POSCO\Temp'
|
|
8 | 8 |
|
9 | 9 |
print("target : " + str(len(targetText))) |
10 | 10 |
print("path : " + path) |
내보내기 Unified diff