TheNMIEngine..::..CreateEngineForms Method (TheThing, Guid, String, String, Int32, Int32, Int32, String, String, Boolean, String, String)
This method creates an essential dashboard for plugins that have multiple sub-devices and a table that allows to add and remove new devices.
Namespace:
nsCDEngine.Engines.NMIServiceAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public static cdeConcurrentDictionary<string, TheMetaDataBase> CreateEngineForms( TheThing pBaseThing, Guid pID, string pTitle, string pFilter, int pFldOrder, int pFlag, int pACL, string category, string pCustomCommand, bool AddAddress, string pDeviceTypeOptions, string pDeviceTypeDefault )
Public Shared Function CreateEngineForms ( _ pBaseThing As TheThing, _ pID As Guid, _ pTitle As String, _ pFilter As String, _ pFldOrder As Integer, _ pFlag As Integer, _ pACL As Integer, _ category As String, _ pCustomCommand As String, _ AddAddress As Boolean, _ pDeviceTypeOptions As String, _ pDeviceTypeDefault As String _ ) As cdeConcurrentDictionary(Of String, TheMetaDataBase)
public: static cdeConcurrentDictionary<String^, TheMetaDataBase^>^ CreateEngineForms( TheThing^ pBaseThing, Guid^ pID, String^ pTitle, String^ pFilter, int^ pFldOrder, int^ pFlag, int^ pACL, String^ category, String^ pCustomCommand, bool^ AddAddress, String^ pDeviceTypeOptions, String^ pDeviceTypeDefault )
Parameters
- pBaseThing
- Type: nsCDEngine.Engines.ThingService..::..TheThing
TheThing that owns this Dashboard
- pID
- Type: Guid
A unique ID for the Dashboard. Can be the pBaseThing.cdeMID if its the only dashboard of the owner plugin
- pTitle
- Type: String
A title for the dashboard
- pFilter
- Type: String
A custom filter for the plugin. If omitted (set to zero) all items of the owner plugin will be used
- pFldOrder
- Type: Int32
A ordering idex for the items in the plugin
- pFlag
- Type: Int32
Flags of the Dashboard (see TheFormInfo Flags)
- pACL
- Type: Int32
Access Level for the Dashboard
- category
- Type: String
a Category for the dashboard
- pCustomCommand
- Type: String
if this is set, the Refresh Dashboard fires this command to the owner plugin
- AddAddress
- Type: Boolean
if true the Table of things contains an address field
- pDeviceTypeOptions
- Type: String
Default Device Type for new entries in the table of things
- pDeviceTypeDefault
- Type: String
List of device types for the table of things