Documentation
¶
Index ¶
- func ComputeWorkshiftEquipmentAvailabilityRate(now time.Time, workshift Workshift, downtimes []DowntimeInterval) float64
- func ComputeWorkshiftEquipmentOEE(availability, performance, quality float64) float64
- func ComputeWorkshiftEquipmentPerformanceRate() float64
- func ComputeWorkshiftEquipmentQualityRate(production Production) float64
- type Downtime
- type DowntimeInterval
- type Equipment
- type Interval
- type Production
- type Report
- type TimelineItem
- type Workshift
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeWorkshiftEquipmentAvailabilityRate ¶
func ComputeWorkshiftEquipmentAvailabilityRate( now time.Time, workshift Workshift, downtimes []DowntimeInterval, ) float64
func ComputeWorkshiftEquipmentPerformanceRate ¶
func ComputeWorkshiftEquipmentPerformanceRate() float64
func ComputeWorkshiftEquipmentQualityRate ¶
func ComputeWorkshiftEquipmentQualityRate(production Production) float64
Types ¶
type DowntimeInterval ¶
type DowntimeInterval struct {
Interval
}
type Interval ¶
type Interval struct {
StartedAt time.Time `json:"started_at"`
FinishedAt time.Time `json:"finished_at"`
}
func (Interval) Allocation ¶
func (Interval) Intersection ¶
type Production ¶
func (Production) Quality ¶
func (p Production) Quality() float64
type Report ¶
type Report struct {
Workshift Workshift
Equipment Equipment
Production []Production
Downtimes []Downtime
}
type TimelineItem ¶
Click to show internal directories.
Click to hide internal directories.