public static int ReadSpindleSpeed(ushort handle) { FocasLibBase.ODBACT obj = new FocasLibBase.ODBACT(); short ret = FocasLib.cnc_acts(handle, obj); return(obj.data); }