Skip to content

ModelType

class ModelType

Use model type if a datatype is different in the platforms. A model type can be used like an enum type.

  • Define a ModelType in a DatatypeLibrary
    Define values
    image2023-1-11_11-35-11
  • Create a PlatformAdapter
    image2023-1-11_14-43-41
  • Define the platform specific type and value of the model type.
    image2023-1-11_11-38-44

Usage in codesnippets

Examples in codesnippets:

  • Assign a ModelTypeValue to a variable
    modelTypeAssignement
  • Check a state of a message
    modelTypeMsgState