개정판 3b279514
issue #663: fix reopen and mssql
Change-Id: I78af06fe48e5d4a331a9c1660f930c462f308b54
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
2078 | 2078 |
dlg = QRecognitionDialog(self, [drawing.file_path for drawing in checked_drawings.keys()]) |
2079 | 2079 |
dlg.exec_() |
2080 | 2080 |
|
2081 |
if current_drawing and current_drawing in checked_drawings.keys(): |
|
2081 |
if current_drawing and current_drawing in checked_drawings.keys() and dlg.isTreated:
|
|
2082 | 2082 |
self.open_image_drawing(current_drawing) |
2083 | 2083 |
|
2084 | 2084 |
# save working date-time |
DTI_PID/DTI_PID/RecognitionDialog.py | ||
---|---|---|
2268 | 2268 |
self.xmlPath = None |
2269 | 2269 |
self.ui = Recognition_UI.Ui_Recognition() |
2270 | 2270 |
self.ui.setupUi(self) |
2271 |
self.isTreated = False |
|
2271 | 2272 |
|
2272 | 2273 |
self.ui.buttonBox.setEnabled(True) |
2273 | 2274 |
self.ui.listWidget.model().rowsInserted.connect(self.rowInserted) |
... | ... | |
2357 | 2358 |
self.ui.listWidget.addItem("Initializing...") |
2358 | 2359 |
self.startThread() |
2359 | 2360 |
|
2361 |
self.isTreated = True |
|
2362 |
|
|
2360 | 2363 |
''' |
2361 | 2364 |
@brief add item to list widget |
2362 | 2365 |
@author humkyung |
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') |
|
1966 |
(12,NULL,'String','From_eq','From_eq','d50c31b9-595f-4f4c-a2bd-afc6d8112b86') |
|
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 | 1967 |
(13,NULL,'String','To_eq','To_eq','83ffef92-3c94-47ce-a6ec-737ba4a79a93'); |
1968 | 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); |
|
1975 |
|
|
1976 |
|
|
1977 |
|
|
1978 | 1969 |
CREATE TABLE LineNoAttributes ( |
1979 | 1970 |
UID VARCHAR (37) PRIMARY KEY, |
1980 | 1971 |
Components_UID VARCHAR (37) NOT NULL |
내보내기 Unified diff