@welldot/utils

getPumpServiceTime

Returns the total time in service, in minutes, of the pump unit identified by serial: the sum of the durations of every installation sharing that serial. An open installation counts up to now.

getPumpServiceTime(well, serial, now?): number

Returns the total time in service, in minutes, of the pump unit identified by serial: the sum of the durations of every installation sharing that serial. An open installation counts up to now.

Parameters

well

Well

serial

string

now?

Date = ...

Returns

number