TheThing Properties
The TheThing type exposes the following members.
Properties
Name | Description | |
---|---|---|
Address |
Shortcut for "SetProperty("Address",value);
|
|
Capabilities |
Returns a list of capabilities of TheThing. Can be used to Build "Thing Models"
|
|
cdeA |
Access Level Mask
0=Everyone;
1=Untrusted Guest;
2=Trusted Guest;
4=Trusted Member1;
8=Trusted Member2;
16=Truested Member3;
32=Senior Member 1;
64=Senior Member 2;
128=Admin;
(Inherited from TheMetaDataBase.) |
|
cdeAVA |
Availability of this record
The higher this number the higher the availability of this record
The Storage Service might store the data in multiple location to ensure maximum availability
(Inherited from TheDataBase.) |
|
cdeCTIM |
Timestamp of this class. Will be set to DateTimeOffset.Now on creation of the Class
(Inherited from TheDataBase.) |
|
cdeEXP |
Expiration in Seconds of the class
If a derived class is stored in a StorageMirror and cdeEXP is set to>0, the StorageMirror will automatically delete this record after the time has passed
(Inherited from TheDataBase.) |
|
cdeF |
Feature ID
(Inherited from TheMetaDataBase.) |
|
cdeM |
The Cookie or Meta information for this class
(Inherited from TheMetaDataBase.) |
|
cdeMID |
Unique Key for the class derived from TheDataBase. this will be used in the StorageService as the Unique Index in the SQL Tables
(Inherited from TheDataBase.) |
|
cdeN |
Guid of Hosting Node - new in 4.108: Moved from MetaDataBase to here
(Inherited from TheDataBase.) |
|
cdeO |
Owner Guid
(Inherited from TheMetaDataBase.) |
|
cdePendingConfig | ||
cdePRI |
Priority of this record.
A lower number means a higher priority.
Data with higher priority will be retrieved faster than those with lower prio
(Inherited from TheDataBase.) |
|
cdeRequiresCustomConfig | ||
cdeSEQ |
Sequence number
(Inherited from TheMetaDataBase.) |
|
cdeU |
User ID owning this resource
(Inherited from TheMetaDataBase.) |
|
DeviceType |
Shortcut for "SetProperty("DeviceType",value);
|
|
EngineName |
Shortcut for "SetProperty("EngineName",value);
|
|
FriendlyName |
Shortcut for "SetProperty("FriendlyName",value);
|
|
HasLiveObject |
A property representation of IsAlive() in order for easy serialization and UX display
|
|
ID |
Shortcut for "SetProperty("ID",value);
|
|
InitializePendingStartTime |
Indicates since when an Init() called has been started but not completed.
Returns DateTimeOffset.MinValue if Init() has not been called or has completed.
|
|
IsDisabled |
Can be used to Quickly Disable a Thing. Shortcut for "SetProperty("IsDisable", value).
|
|
IsHidden |
The Thing will be running but does not show on the NMI ever. Shortcut for "SetProperty("IsHidden", value).
|
|
IsInitialized |
A property representation of IsInit() in order for easy serialization and UX display
|
|
IsInitializing |
Indicates if Init() has been called, but not completed.
|
|
IsUXInitialized |
A property representation of IsUXInit() in order for easy serialization and UX display
|
|
LastMessage |
Sets the last message of the Thing. This can be used for status, error or other messages. Shortcut for "SetProperty("LastMessage", value).
|
|
LastUpdate |
Shortcut for "SetProperty("LastUpdate",value);
|
|
MyPropertyBag |
The Main PropertyBag.
ATTENTION: Direct Manipulation of MyPropertyBag will not fire any events and circumvents encryption and other API based management.
Only access this Bag if you know exactly what you are doing.
NOTE: It is possible that we remove access to the Bag in a later version of the C-DEngine - do not rely on its access availability
|
|
Parent |
Shortcut for "SetProperty("Parent",value);
|
|
PropertyCount |
Returns a count of all current Properties
Only properties on TheThing will be counted.
|
|
StatusLevel |
Shortcut for "SetProperty("Status",value);
0=Not Running
1=OK
2=warning
3=Failure
4=Ramp Up
5=Engineering
6=Shutdown
7=Unknown/not visible
|
|
UID |
Shortcut for "SetProperty("UID",value);
|
|
Value |
Shortcut for "SetProperty("Value",value);
|
|
Version |
Shortcut for "SetProperty("Version",value);
|