Method | Description | |
---|---|---|
Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result |
Method | Description | |
---|---|---|
BumpOccupancy ( Element e ) : void |
Read the value of the element ROOM_OCCUPANCY parameter. If it ends in a number, increment the number, else append "1".
|
|
BumpStringSuffix ( string s ) : string |
Analyse the given string. If it ends in a sequence of digits representing a number, return a string with the number oincremented by one. Otherwise, return a string with a suffix "1" appended.
|
public Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result | ||
commandData | ExternalCommandData | |
message | string | |
elements | ElementSet | |
return | System.Result |