Main representation of a Thing that can interact with the Yodiwo cloud service
More...
|
| Thing (ThingKey key, List< Port > ports) |
|
| Thing (string uid, List< Port > ports, NodeKey nodeKey) |
|
| Thing (ThingKey key) |
|
virtual Port | GetPort (PortKey key) |
|
virtual Port | GetPort (int idx) |
|
virtual void | Update (Thing incomingThing, bool UpdatePortStates=true) |
|
string | GetConfigValue (string confName) |
|
bool | SetConfigValue (string confName, string value) |
|
string | GetReadOnlyValue (string roName) |
|
override string | ToString () |
|
bool | HasSameConfig (Thing thing) |
|
Thing | DeepClone () |
|
bool | IsSameType (Thing thing) |
|
|
static bool | IsSameType (string Thing1_Type, List< Port > Thing1_Ports, string Thing2_Type, List< Port > Thing2_Ports) |
|
Main representation of a Thing that can interact with the Yodiwo cloud service
string Yodiwo.API.Plegma.Thing.BlockType |
Specifies the Thing's block type if it's to be specially modeled in the Cyan UI It can be left null if this Thing is to be modeled by the default Cyan UI blocks In this case Output-type Ports are gathered and represented as a Cyan UI Input Thing (thing->cloud events) and Input-type Ports are gathered and represented as a Cyan UI Output Thing (cloud->thing events) Both event directions occur via the PortEventMsg messages
Configuration flags for Thing
list of vendor provided configuration parameters (changeable by the user)
string Yodiwo.API.Plegma.Thing.Hierarchy |
Specifies the Thing's hierarchy within the node's modeled ecosystem. Specifies a hierarchical view (separated by '/') of the Thing's position in the User's ecosystem of devices. Must start with '/' May be left null or empty.
string Yodiwo.API.Plegma.Thing.Name |
friendly name of this Thing
List<Port> Yodiwo.API.Plegma.Thing.Ports = new List<Port>() |
list of ports (inputs / outputs) that this Thing implements
list of vendor provided read-only information
bool Yodiwo.API.Plegma.Thing.Removable |
Specifies whether the thing can be removed
string Yodiwo.API.Plegma.Thing.RESTUri |
Specifies a uri to which the cloud will post messages in case an RX-incapable node is connected. Can be used as a return path for REST api. May be left null or empty.
string Yodiwo.API.Plegma.Thing.ThingKey |
Globally unique Key string of this Thing
string Yodiwo.API.Plegma.Thing.Type |
bool Yodiwo.API.Plegma.Thing.IsInput |
|
get |
Signifies whether this is an input thing
bool Yodiwo.API.Plegma.Thing.IsInputOnly |
|
get |
Signifies whether this is an input thing
bool Yodiwo.API.Plegma.Thing.IsOutput |
|
get |
Signifies whether this is an output thing
bool Yodiwo.API.Plegma.Thing.IsOutputOnly |
|
get |
Signifies whether this is an output thing
The documentation for this class was generated from the following file:
- c:/DEV/sw_3.0.x/Yodiwo/APIs/Plegma/Thing.cs