void FuncDetectHomeDone(object oAxisIndex /*int axis*/) { int axis = (int)oAxisIndex; if (0 == HTM.HomeDone(axis)) { axisHomeDones[axis] = true; } else { axisHomeDones[axis] = false; } }