extern public static int MazGetRemain(ushort hndl, ref MAZ_NCPOS alldata);
extern public static int MazGetMachinePos(ushort hndl, ref MAZ_NCPOS alldata);
extern public static int MazGetCurrentPos(ushort hndl, ref MAZ_NCPOS alldata);