TheNMIEngine..::..AddStartingBlock Method (TheThing, TheFormInfo, Int32, Action<(Of <(<'TheProcessMessage, Boolean>)>)>, Int32, String, String)
This adds the default Starting Block to the NMI Form.
Namespace:
nsCDEngine.Engines.NMIServiceAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public static cdeConcurrentDictionary<string, TheFieldInfo> AddStartingBlock( TheThing pBaseThing, TheFormInfo pTargetForm, int pBaseFldNumber, Action<TheProcessMessage, bool> eventStartStop, int pAcl, string pConnectedProp, string pAutoConnect )
Public Shared Function AddStartingBlock ( _ pBaseThing As TheThing, _ pTargetForm As TheFormInfo, _ pBaseFldNumber As Integer, _ eventStartStop As Action(Of TheProcessMessage, Boolean), _ pAcl As Integer, _ pConnectedProp As String, _ pAutoConnect As String _ ) As cdeConcurrentDictionary(Of String, TheFieldInfo)
public: static cdeConcurrentDictionary<String^, TheFieldInfo^>^ AddStartingBlock( TheThing^ pBaseThing, TheFormInfo^ pTargetForm, int^ pBaseFldNumber, Action<TheProcessMessage^, bool^>^ eventStartStop, int^ pAcl, String^ pConnectedProp, String^ pAutoConnect )
Parameters
- pBaseThing
- Type: nsCDEngine.Engines.ThingService..::..TheThing
Thing that owns the start block
- pTargetForm
- Type: nsCDEngine.Engines.NMIService..::..TheFormInfo
Target form for the block
- pBaseFldNumber
- Type: Int32
Start FldNumber of the block
- eventStartStop
- Type: Action<(Of <(<'TheProcessMessage, Boolean>)>)>
Callback fired when user clicks on start/stop
- pAcl
- Type: Int32
Access Level of the block
- pConnectedProp
- Type: String
Default property for IsStarted
- pAutoConnect
- Type: String
Default property for AutoStart