Automatak.Simulator.DNP3.MasterNode.MasterNode C# (CSharp) Method

MasterNode() public method

public MasterNode ( MeasurementCache cache, IMaster master, ISimulatorNodeCallbacks callbacks, string alias ) : System
cache Automatak.Simulator.DNP3.Commons.MeasurementCache
master IMaster
callbacks ISimulatorNodeCallbacks
alias string
return System
        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());
        }