Browse Source

update

master
zhaohe 2 years ago
parent
commit
68505ed163
  1. 4
      src/service/disinfection_ctl_service.cpp

4
src/service/disinfection_ctl_service.cpp

@ -363,14 +363,14 @@ void DisinfectionCtrlService::printfDisinfectionContextResult() {
auto dio = m_deviceIoControlService; auto dio = m_deviceIoControlService;
auto ds = GET_SERVICE(DeviceStateService); auto ds = GET_SERVICE(DeviceStateService);
m_context.m_endtp_str = getTime(); m_context.m_endtp_str = getTime();
int totaltime = zsteady_clock().elapsedTimeS(m_context.m_starttp);
int totaltime = zsteady_clock().elapsedTimeS(m_context.m_starttp) / 60;
dio->printerPrintf(fmt::format("= = = = = = = = = = = = = = = \n")); dio->printerPrintf(fmt::format("= = = = = = = = = = = = = = = \n"));
dio->printerPrintf(fmt::format(" 全思美特\n")); dio->printerPrintf(fmt::format(" 全思美特\n"));
dio->printerPrintf(fmt::format("操作人 {}\n", ds->getLoginUid())); dio->printerPrintf(fmt::format("操作人 {}\n", ds->getLoginUid()));
dio->printerPrintf(fmt::format("开始时间 {}\n", m_context.m_starttp_str)); dio->printerPrintf(fmt::format("开始时间 {}\n", m_context.m_starttp_str));
dio->printerPrintf(fmt::format("结束时间 {}\n", m_context.m_endtp_str)); dio->printerPrintf(fmt::format("结束时间 {}\n", m_context.m_endtp_str));
dio->printerPrintf(fmt::format("总耗时 {}:{}\n", totaltime / 60, totaltime % 60));
dio->printerPrintf(fmt::format("总耗时 {}:{}\n", totaltime / 60, totaltime % 60));
dio->printerPrintf(fmt::format("目标LOG {}\n", (int)m_context.m_targetLoglevel)); dio->printerPrintf(fmt::format("目标LOG {}\n", (int)m_context.m_targetLoglevel));
dio->printerPrintf(fmt::format("实际LOG {}\n", (int)m_context.m_nowLoglevel)); dio->printerPrintf(fmt::format("实际LOG {}\n", (int)m_context.m_nowLoglevel));
dio->printerPrintf(fmt::format("= = = = = = = = = = = = = = = \n")); dio->printerPrintf(fmt::format("= = = = = = = = = = = = = = = \n"));

Loading…
Cancel
Save