Definition class

1.Method of defining classes

    In dynamic model programming, classes are also objects, and classes are common models.

    Defining a class (descriptor) is to define which attributes (sub-nodes) and behaviors it has. In the model editor, it is accomplished by adding attributes (attributes), things (sub-nodes) and actions (action actions) sub-nodes of the model.

    In XWorker, a meta-object called MetaDescriptor3 is often used to create new descriptors.

2.Examples

    The following GIF video demonstrates how to define a Person class (descriptor) in the Thing Manager.

 

 

Copyright ©  2007-2019 XWorker.org  版权所有  沪ICP备08000575号