Implementation
static Mesg createExdDataConceptConfigurationMesg() {
int fieldIndex, subfieldIndex;
Mesg newMesg = Mesg(
"ExdDataConceptConfiguration",
MesgNum.exdDataConceptConfiguration,
);
fieldIndex = 0;
newMesg.setField(
Field("ScreenIndex", 0, 2, 1.0, 0.0, "", false, ProfileType.uint8),
);
fieldIndex++;
Field conceptFieldField = Field(
"ConceptField",
1,
13,
1.0,
0.0,
"",
false,
ProfileType.byte,
);
conceptFieldField.components.add(
FieldComponent(2, false, 4, 1.0, 0.0),
); // field_id
conceptFieldField.components.add(
FieldComponent(3, false, 4, 1.0, 0.0),
); // concept_index
newMesg.setField(conceptFieldField);
fieldIndex++;
newMesg.setField(
Field("FieldId", 2, 2, 1.0, 0.0, "", false, ProfileType.uint8),
);
fieldIndex++;
newMesg.setField(
Field("ConceptIndex", 3, 2, 1.0, 0.0, "", false, ProfileType.uint8),
);
fieldIndex++;
newMesg.setField(
Field("DataPage", 4, 2, 1.0, 0.0, "", false, ProfileType.uint8),
);
fieldIndex++;
newMesg.setField(
Field("ConceptKey", 5, 2, 1.0, 0.0, "", false, ProfileType.uint8),
);
fieldIndex++;
newMesg.setField(
Field("Scaling", 6, 2, 1.0, 0.0, "", false, ProfileType.uint8),
);
fieldIndex++;
newMesg.setField(
Field("DataUnits", 8, 0, 1.0, 0.0, "", false, ProfileType.exdDataUnits),
);
fieldIndex++;
newMesg.setField(
Field("Qualifier", 9, 0, 1.0, 0.0, "", false, ProfileType.exdQualifiers),
);
fieldIndex++;
newMesg.setField(
Field(
"Descriptor",
10,
0,
1.0,
0.0,
"",
false,
ProfileType.exdDescriptors,
),
);
fieldIndex++;
newMesg.setField(
Field("IsSigned", 11, 0, 1.0, 0.0, "", false, ProfileType.bool_),
);
fieldIndex++;
return newMesg;
}