TheNMIEngine..::..AddStatusBlock Method (TheThing, TheFormInfo, Int32, Int32, Boolean, ThePropertyBag)
Adds a Status Block to a Form. It returns a Dictionary of created fields for Group,FriendlyName,StatusLevel,LastMessage,Value and NodeName
Namespace:
nsCDEngine.Engines.NMIServiceAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public static cdeConcurrentDictionary<string, TheFieldInfo> AddStatusBlock( TheThing pBaseThing, TheFormInfo tMyForm, int StartFldOrder, int pParentFld, bool UseBigStatus, ThePropertyBag pProperties )
Public Shared Function AddStatusBlock ( _ pBaseThing As TheThing, _ tMyForm As TheFormInfo, _ StartFldOrder As Integer, _ pParentFld As Integer, _ UseBigStatus As Boolean, _ pProperties As ThePropertyBag _ ) As cdeConcurrentDictionary(Of String, TheFieldInfo)
public: static cdeConcurrentDictionary<String^, TheFieldInfo^>^ AddStatusBlock( TheThing^ pBaseThing, TheFormInfo^ tMyForm, int^ StartFldOrder, int^ pParentFld, bool^ UseBigStatus, ThePropertyBag^ pProperties )
Parameters
- pBaseThing
- Type: nsCDEngine.Engines.ThingService..::..TheThing
TheThing owning the Form
- tMyForm
- Type: nsCDEngine.Engines.NMIService..::..TheFormInfo
TheFormInfo of the Form
- StartFldOrder
- Type: Int32
FldOrder the Status Block should start with
- pParentFld
- Type: Int32
Parent Fld of the Block
- UseBigStatus
- Type: Boolean
Shows a big StatusLevel Light if tru
- pProperties
- Type: nsCDEngine.Engines.NMIService..::..ThePropertyBag
PropertyBag of the Add Status Block