public GrblCore(GrblFirmware grbl, GCode gcode, ILaserCatHardware hardware) { mGrbl = grbl; mGCode = gcode; mHardware = hardware; mState = new GrblCoreState(); mState.Reset(); }
public GrblFirmware(GCode GCode, GrblPlanner planner, ILaserCatHardware laserCatHardware) { mGCode = GCode; mPlanner = planner; mLaserCatHardware = laserCatHardware; mGCode.Initialize(this); mPlanner.Initialize(this); }