74 const auto reset_neuland_cmd = fmt::format(R
"(/Tasks/{}/->ResetHistos())", GetName());
75 const auto reset_neuland_mapped_cmd = fmt::format(R
"(/Tasks/{}/->ResetHistosMapped())", GetName());
76 const auto save_neuland_hists_cmd = fmt::format(R
"(/Tasks/{}/->SaveAll())", GetName());
77 const auto restart_server_cmd = fmt::format(R
"(/Tasks/{}/->RestartUcesbServer())", GetName());
78 const auto graph_view_full = fmt::format(R
"(/Tasks/{}/->SetCountRateFullView())", GetName());
79 const auto graph_view_two_hours = fmt::format(R
"(/Tasks/{}/->SetCountRateViewTwoHours())", GetName());
80 const auto graph_view_four_hours = fmt::format(R
"(/Tasks/{}/->SetCountRateViewfourHours())", GetName());
82 run->GetHttpServer()->Register("/Tasks",
this);
83 run->GetHttpServer()->RegisterCommand(
"/Tasks/Reset_Neuland", reset_neuland_cmd.c_str());
84 run->GetHttpServer()->RegisterCommand(
"/Tasks/Reset_Neuland_Mapped", reset_neuland_mapped_cmd.c_str());
85 run->GetHttpServer()->RegisterCommand(
"/Tasks/save_all_histograms", save_neuland_hists_cmd.c_str());
86 run->GetHttpServer()->RegisterCommand(
"/Tasks/restart_ucesb_server", restart_server_cmd.c_str());
87 run->GetHttpServer()->RegisterCommand(
"/Tasks/graph_full_view", graph_view_full.c_str());
88 run->GetHttpServer()->RegisterCommand(
"/Tasks/graph_two_hours_view", graph_view_two_hours.c_str());
89 run->GetHttpServer()->RegisterCommand(
"/Tasks/graph_four_hours_view", graph_view_four_hours.c_str());