interface IEnteredExitedSubtotal {
Hour: number;
Today: number;
Total: number;
TotalInTimeSection: number;
}
interface IInsideSubtotal {
Total: number;
}
interface CameraData {
Channel: number;
EnteredSubtotal: IEnteredExitedSubtotal;
ExitedSubtotal: IEnteredExitedSubtotal;
InsideSubtotal: IInsideSubtotal;
RuleName: string;
UTC: number;
}
let data = `summary.Channel=123
summary.EnteredSubtotal.Hour=22
summary.EnteredSubtotal.Today=60
summary.EnteredSubtotal.Total=1769
summary.EnteredSubtotal.TotalInTimeSection=60
summary.ExitedSubtotal.Hour=19
summary.ExitedSubtotal.Today=52
summary.ExitedSubtotal.Total=1705
summary.ExitedSubtotal.TotalInTimeSection=52
summary.InsideSubtotal.Total=324
summary.RuleName=NumberStat
summary.UTC=1565870249`;