-
Notifications
You must be signed in to change notification settings - Fork 104
Closed
Description
e.g
PARAM xsi:type="VALUE" SEMANTIC="DATA">
SHORT-NAME>Param_DTCValue
LONG-NAME>DTC Value
BYTE-POSITION>2
DOP-REF DOCREF="ES_DataLibra" DOCTYPE="LAYER" ID-REF="DOP_UINTHEX3Bytes"/>
/PARAM>
ENV-DATA-DESC ID="ENVDESC_DTCExtenDataRecor">
SHORT-NAME>ENVDESC_DTCExtenDataRecor
LONG-NAME>DTC Extended Data Record
PARAM-SNREF SHORT-NAME="Param_DTCValue"/>
ENV-DATAS>
environmentdatadescription.py
line 133
if not isinstance(prev_dop, DtcDop):
DOP_UINTHEX3Bytes is touble_code.the dop is not DtcDop.
Is it correct to change it to this?
for prev_param, prev_param_value in reversed(encode_state.journal):
if prev_param.short_name == self.param_snref:
dtc_param_value = prev_param_value
dtc_param = prev_param
prev_dop = getattr(prev_param, "dop", None)
if not isinstance(prev_dop, DtcDop):
continue
dtc_dop = prev_dop
other question.
minmaxlengthtype.py
line 114
odxassert(value_len % len(termination_sequence) == 0)
if if self.termination == "END-OF-PDU",termination_sequence is None. An exception is thrown
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels