public OutstationNode(IOutstation outstation, IOutstationInstance instance, ISimulatorNodeCallbacks callbacks) { this.outstation = outstation; this.instance = instance; this.callbacks = callbacks; this.openAction = new NodeAction("Open", () => OpenForm()); this.callbacks.ChangeImage(IconIndex.Outstation); }
public MasterNode(MeasurementCache cache, IMaster master, ISimulatorNodeCallbacks callbacks, string alias) { this.cache = cache; this.master = master; this.callbacks = callbacks; this.alias = alias; this.callbacks.ChangeImage(IconIndex.Master); this.openAction = new NodeAction("Open", () => OpenForm()); }
public OutstationNode(MeasurementCache cache, ProxyCommandHandler handler, EventedOutstationApplication application, IDNP3Config config, IOutstation outstation, ISimulatorNodeCallbacks callbacks, string alias) { this.cache = cache; this.handler = handler; this.application = application; this.config = config; this.outstation = outstation; this.callbacks = callbacks; this.alias = alias; this.callbacks.ChangeImage(IconIndex.Outstation); this.openAction = new NodeAction("Open", () => OpenForm()); }