Versions in this module Expand all Collapse all v0 v0.0.2 May 17, 2022 Changes in this version + const ChangeoverPostprocessingState + const ChangeoverPreparationState + const ChangeoverState + const CleaningState + const CongestionBypassState + const CraneNotAvailableState + const EmptyingState + const EquipmentFailureState + const EquipmentFailureStateExpender + const EquipmentFailureStatePalletizer + const EquipmentFailureStateTopcover + const EquipmentFailureStateUnderbody + const EquipmentFailureStateWelder + const ExternalFailureState + const ExternalInterferenceState + const IdleState + const InletJamState + const MaterialIssueOtherState + const MaxState + const MicrostopState + const MissingBottleCapsRinneState + const MissingBottleCapsUebergabeState + const NoOrderState + const NoShiftState + const OperatorBreakState + const OperatorInteractionState + const OperatorNotAtMachineState + const OutletJamState + const PreventiveMaintenanceStop + const ProducingAtFullSpeedState + const ProducingAtLowerThanFullSpeedState + const SettingUpState + const TechnicalOtherStop + const UnknownState + const UnspecifiedStopState + var ModelState = newModelStateRegistry() + func ConvertNewToOld(NewState int) (OldState int) + func ConvertOldToNew(OldState int) (NewState int) + func ConvertStateToString(state int, languageCode int) (stateString string) + func GetStateFromString(stateString string) uint64 + func IsChangeover(state int) (returnValue bool) + func IsCleaning(state int) (returnValue bool) + func IsCongestionBypass(state int) (returnValue bool) + func IsEmptying(state int) (returnValue bool) + func IsEquipmentFailure(state int) (returnValue bool) + func IsExternalFailure(state int) (returnValue bool) + func IsExternalInterference(state int) (returnValue bool) + func IsInletJam(state int) (returnValue bool) + func IsMaterialIssueOther(state int) (returnValue bool) + func IsMicrostop(state int) (returnValue bool) + func IsNoOrder(state int) (returnValue bool) + func IsNoShift(state int) (returnValue bool) + func IsOperatorBreak(state int) (returnValue bool) + func IsOperatorNotAtMachine(state int) (returnValue bool) + func IsOutletJam(state int) (returnValue bool) + func IsPreventiveMaintenance(state int) (returnValue bool) + func IsProducing(state int) (returnValue bool) + func IsProducingFullSpeed(state int) (returnValue bool) + func IsProducingLowerThanFullSpeed(state int) (returnValue bool) + func IsSettingUp(state int) (returnValue bool) + func IsSpecifiedStop(state int) (returnValue bool) + func IsTechnicalOtherStop(state int) (returnValue bool) + func IsUnknown(state int) (returnValue bool) + func IsUnspecifiedStop(state int) (returnValue bool) + type CountEntry struct + Count float64 + Scrap float64 + Timestamp time.Time + type CustomerConfiguration struct + AutomaticallyIdentifyChangeovers bool + AvailabilityLossStates []int32 + IgnoreMicrostopUnderThisDurationInSeconds float64 + LanguageCode int + LowSpeedThresholdInPcsPerHour float64 + MicrostopDurationInSeconds float64 + MinimumRunningTimeInSeconds float64 + PerformanceLossStates []int32 + ThresholdForNoShiftsConsideredBreakInSeconds float64 + type DataResponseAny struct + ColumnNames []string + Datapoints [][]interface{} + type OrderEntry struct + OrderType string + TimestampBegin time.Time + TimestampEnd time.Time + type OrdersRaw struct + BeginTimestamp time.Time + EndTimestamp time.Time + OrderName string + ProductName string + TargetUnits int + TimePerUnitInSeconds float64 + type ParetoEntry struct + Duration float64 + State int + type ShiftEntry struct + ShiftType int + TimestampBegin time.Time + TimestampEnd time.Time + type StateEntry struct + State int + Timestamp time.Time + type UpcomingTimeBasedMaintenanceActivities struct + ActivityType int + ComponentName string + DurationInDays sql.NullFloat64 + IntervallInHours int + LatestActivity pq.NullTime + NextActivity pq.NullTime