import { EventSource } from "./eventSource"; import { Distance } from "./distance"; /** * Non Productive Time Event */ export interface Npt { /** * The CDF asset external id of the wellbore the event is associated to. The asset must have been ingested as a wellbore with the same source as this NPT event. */ wellboreAssetExternalId: string; /** * The matching id of the wellbore related to NPT event. */ wellboreMatchingId: string; /** * The NPT code to identify event. */ nptCode?: string; /** * The more detailed NPT code that identifies the event. */ nptCodeDetail?: string; /** * The level of non-productive time for the activity. The NPT level must be one of: \"0\", \"1\", \"2\", \"3\", \"4\", or \"5\". */ nptLevel?: string; source: EventSource; /** * Description of the NPT event. */ description?: string; /** * The time the depth measurement started. The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds. */ startTime?: number; /** * The time the depth measurement completed. The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds. */ endTime?: number; /** * Measured depth for the NPT event. */ measuredDepth?: Distance; /** * Duration (hours) of the NPT event. */ duration?: number; /** * Root cause for the NPT event. */ rootCause?: string; /** * Location of NPT event. */ location?: string; /** * Subtype of NPT event. */ subtype?: string; }