public void Initialize(ushort _coreID, SimplSharpString _namedComponent, ushort _index) { this.meter = new QsysMeter((int)_coreID, _namedComponent.ToString(), (int)_index); this.meter.QsysMeterEvent += new EventHandler <QsysEventsArgs>(meter_QsysMeterEvent); }
public void Initialize(string name, ushort index) { meter = new QsysMeter(name, index); meter.QsysMeterEvent += new EventHandler <QsysEventsArgs>(meter_QsysMeterEvent); }