개정판 2bb9658c
#477 Commit
DTI_PID/DTI_PID/SymbolBase.py | ||
---|---|---|
6 | 6 |
def __init__(self, id, sName, sType, threshold = None, minMatchCount = 0 |
7 | 7 |
, isDetectOnOrigin = False, rotationCount = 4, ocrOption = OCR_OPTION_NOT_EXEC, isContainChild = 0 |
8 | 8 |
, originalPoint = None, connectionPoint = None, baseSymbol = None, additionalSymbol = None |
9 |
, isExceptDetect = 0, uid = None): |
|
9 |
, isExceptDetect = 0, hasInstrumentLabel = 0, uid = None):
|
|
10 | 10 |
#def __init__(self, id, sName, sType, path = None, threshold = None, minMatchCount = 0 |
11 | 11 |
# , isDetectOnOrigin = False, rotationCount = 4, ocrOption = OCR_OPTION_NOT_EXEC, isContainChild = 0 |
12 | 12 |
# , originalPoint = None, connectionPoint = None, baseSymbol = None, additionalSymbol = None |
... | ... | |
27 | 27 |
self.baseSymbol = baseSymbol |
28 | 28 |
self.additionalSymbol = additionalSymbol |
29 | 29 |
self.isExceptDetect = isExceptDetect |
30 |
self.hasInstrumentLabel = hasInstrumentLabel |
|
31 |
|
|
30 | 32 | |
31 | 33 |
def setUid(self, uid): |
32 | 34 |
self.uid = uid |
... | ... | |
126 | 128 |
def getIsExceptDetect(self): |
127 | 129 |
return self.isExceptDetect |
128 | 130 | |
131 | ||
132 |
def setHasInstrumentLabel(self, hasInstrumentLabel): |
|
133 |
self.hasInstrumentLabel = hasInstrumentLabel |
|
134 | ||
135 |
def getHasInstrumentLabel(self): |
|
136 |
return self.hasInstrumentLabel |
|
137 |
''' |
|
138 |
@Auther Yechecol |
|
139 |
@Date 2018.07.03 |
|
140 |
@History hasInstrumentLabel add |
|
141 |
''' |
|
142 | ||
143 | ||
129 | 144 |
''' |
130 | 145 |
@brief Get Image File Full Path |
131 | 146 |
@author Jeongwoo |
내보내기 Unified diff