Basic Input/Output entity of a Thing Creates and sends messages towards the Yodiwo cloud service, or receives and handles messages from the cloud. Both events occur via the PortEventMsg message
More...
|
string | PortState (string epkey=null) |
|
uint | PortRevNum (string epkey=null) |
|
ulong | PortTimestamp (string epkey=null) |
|
| Port (PortKey portKey, ePortType type, ioPortDirection ioDirection, string portmodelid=null) |
|
void | Update_Except_States (Port otherPort) |
|
void | Update (Port otherPort) |
|
Port | DeepClone () |
|
override string | ToString () |
|
object | GetStateObject () |
|
bool | IsNumeric () |
|
void | SetState (string newState, DateTime?timestamp=null, string epkey=null) |
|
void | IncRevNum (string epkey) |
|
|
static Type | ePortType2Type (ePortType PortType) |
|
static object | State2Value (ePortType portType, string state) |
|
static string | Value2State (object value) |
|
|
string | State [get, set] |
|
uint | RevNum [get, set] |
|
ulong | LastUpdatedTimestamp [get, set] |
|
StateTriplet | this[string epkey] [get] |
|
bool | IsOutputPort [get] |
|
bool | IsInputPort [get] |
|
Basic Input/Output entity of a Thing Creates and sends messages towards the Yodiwo cloud service, or receives and handles messages from the cloud. Both events occur via the PortEventMsg message
string Yodiwo.API.Plegma.Port.Color |
Configuration flags for port
string Yodiwo.API.Plegma.Port.Description |
Description of Port to show in Cyan (tooltip, etc)
string Yodiwo.API.Plegma.Port.Name |
Friendly name of this Port (as it will appear in the Cyan UI and blocks)
string Yodiwo.API.Plegma.Port.PortKey |
Globally unique string identifying this port; Construct it using the PortKey constructor
string Yodiwo.API.Plegma.Port.PortModelId |
const uint Yodiwo.API.Plegma.Port.RevNum_Initialize = 1 |
Revnum indicating initialization of port (as if portstate was followed by thing addition)
const uint Yodiwo.API.Plegma.Port.RevNum_NoTracking = 0 |
Revnum indicating no tracking of revision numbers
string Yodiwo.API.Plegma.Port.Semantics |
semantics of values that Port sends / receives
int Yodiwo.API.Plegma.Port.Size |
DictionaryTS<string, StateTriplet> Yodiwo.API.Plegma.Port.States |
The documentation for this class was generated from the following file:
- c:/DEV/sw_3.0.x/Yodiwo/APIs/Plegma/Port.cs