Click or drag to resize

IOrderServiceItemPeriodElapsedTime Property

Exact total elapsed time of the period, includes all runs of the period. Service may be started, then stopped, then started again, or the schedule may switch the service to another rate and then switch back, so this property will accumulate total active time of the period. This is exact unrounded value. For example, if timing step is 10 mins and this period was active only for 2 mins and 42 seconds, the Cost will be calculated for 10 mins anyway, while this property will have an exact value 00:02:42.

Namespace:  Resto.Front.Api.Data.Orders
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
TimeSpan ElapsedTime { get; }

Property Value

Type: TimeSpan
See Also