TheNMIEngine..::..AddFormToThingUX Method (TheDashboardInfo, TheThing, TheFormInfo, String, String, Int32, Int32, Int32, String, String, ThePropertyBag)
This method creates an NMI Form and adds it to the Dashboard specified in the first parameter
Namespace:
nsCDEngine.Engines.NMIServiceAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public static TheDashPanelInfo AddFormToThingUX( TheDashboardInfo tDash, TheThing pOwnerThing, TheFormInfo pForm, string pClassName, string pFormTitle, int pOrder, int pFlags, int pACL, string pCategory, string OnChangeName, ThePropertyBag pPropertyBag )
Public Shared Function AddFormToThingUX ( _ tDash As TheDashboardInfo, _ pOwnerThing As TheThing, _ pForm As TheFormInfo, _ pClassName As String, _ pFormTitle As String, _ pOrder As Integer, _ pFlags As Integer, _ pACL As Integer, _ pCategory As String, _ OnChangeName As String, _ pPropertyBag As ThePropertyBag _ ) As TheDashPanelInfo
public: static TheDashPanelInfo^ AddFormToThingUX( TheDashboardInfo^ tDash, TheThing^ pOwnerThing, TheFormInfo^ pForm, String^ pClassName, String^ pFormTitle, int^ pOrder, int^ pFlags, int^ pACL, String^ pCategory, String^ OnChangeName, ThePropertyBag^ pPropertyBag )
Parameters
- tDash
- Type: nsCDEngine.Engines.NMIService..::..TheDashboardInfo
DashPanel this Form will be added to
- pOwnerThing
- Type: nsCDEngine.Engines.ThingService..::..TheThing
The Onwer Thing of this Form
- pForm
- Type: nsCDEngine.Engines.NMIService..::..TheFormInfo
All the Form Parameter
- pClassName
- Type: String
Style ClassName
- pFormTitle
- Type: String
Title of the Form
- pOrder
- Type: Int32
If the Dashpanel has multiple forms, this order sorts the forms
- pFlags
- Type: Int32
1=Show On Local Relay 2=Show on Cloud Relay 4=Hide on Mobile 8=Do not include with ShowAll
- pACL
- Type: Int32
Access Level for this Form
- pCategory
- Type: String
Category in the Dashboard this Form will be in
- OnChangeName
- Type: String
Name of a Thing-Property this form is monitoring
- pPropertyBag
- Type: nsCDEngine.Engines.NMIService..::..ThePropertyBag
Propertybag with custom properties of the form