Exemple #1
0
 /// <summary>
 /// Must create all traffic handler ports owned by this handler and also connect the appropriate event handlers.
 /// This method is called once on plugin creation.
 /// </summary>
 /// <param name="param">A param associated with the controller to create</param>
 /// <returns>All traffic handler ports owned by this handler</returns>
 protected override eExNLML.TrafficHandlerPort[] CreateTrafficHandlerPorts(eExNetworkLibrary.TrafficHandler h, object param)
 {
     return(CreateDefaultPorts(h, true, true, false, false, false)); //Create default ports, you can also add custom ports and return them all
 }
Exemple #2
0
 protected override TrafficHandlerPort[] CreateTrafficHandlerPorts(eExNetworkLibrary.TrafficHandler h, object param)
 {
     return(CreateDefaultPorts(h, false, false, true, false, false));
 }
Exemple #3
0
 /// <summary>
 /// Must create a configuration writer for the given traffic handler, which writes the configuration or null to do not support saving.
 /// This method is called once on plugin creation.
 /// </summary>
 /// <param name="h">The traffic handler to create the configuration writer for</param>
 /// <param name="param">A param associated with the controller to create</param>
 /// <returns>The configuration writer for the given traffic handler or null, if no configuration writer should be used</returns>
 protected override eExNLML.IO.HandlerConfigurationWriter CreateConfigurationWriter(eExNetworkLibrary.TrafficHandler h, object param)
 {
     return(null); //Create your configuration writer here, return null for no configuration writer
 }
Exemple #4
0
 protected override HandlerConfigurationWriter CreateConfigurationWriter(eExNetworkLibrary.TrafficHandler h, object param)
 {
     return(null);
 }