void ldd_evtDataReceive(object sender, MvAssistant.DeviceDrive.WacohForce.WacohForceMessageEventArgs e) { var ea = new IHalForce6AxisEventArgs(); ea.centerForceVector = new HalForce6AxisVector(e.centerForceVector); ea.rawForceVector = new HalForce6AxisVector(e.rawForceVector); this.OnDataReceive(ea); }
void OnDataReceive(IHalForce6AxisEventArgs ea) { if (this.evtDataReceive == null) { return; } this.evtDataReceive(this, ea); }