| 116 | DEFINE_GET_OBJECT_MODEL_TABLE(PrintMonitor) |
| 117 | |
| 118 | int32_t PrintMonitor::GetPrintOrSimulatedDuration() const noexcept |
| 119 | { |
| 120 | return lrintf((gCodes.IsSimulating()) ? gCodes.GetSimulationTime() + reprap.GetMove().GetSimulationTime() : GetPrintDuration()); |
| 121 | } |
| 122 | |
| 123 | PrintMonitor::PrintMonitor(Platform& p, GCodes& gc) noexcept : platform(p), gCodes(gc), lastWarmUpDuration(0), isPrinting(false), heatingUp(false), paused(false), printingFileParsed(false) |
| 124 | { |
no test coverage detected