25 lines
402 B
C++
25 lines
402 B
C++
#ifndef REPORT_SERVICE_H
|
|
#define REPORT_SERVICE_H
|
|
|
|
#include <string>
|
|
|
|
#include "core/his_context.h"
|
|
|
|
namespace core {
|
|
|
|
// Minimal report/metrics provider.
|
|
// (Extendable later without touching CLI.)
|
|
class ReportService {
|
|
public:
|
|
explicit ReportService(HisContext& ctx);
|
|
|
|
double wardOccupancyRate(const std::string& wardId) const;
|
|
|
|
private:
|
|
HisContext& ctx_;
|
|
};
|
|
|
|
} // namespace core
|
|
|
|
#endif
|