ls

package
v0.0.0-...-ef5567d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EstimatedTimetableLastChange

type EstimatedTimetableLastChange struct {
	// contains filtered or unexported fields
}

func NewEstimatedTimetableLastChange

func NewEstimatedTimetableLastChange(sv *model.StopVisit, sub subscription) *EstimatedTimetableLastChange

func (*EstimatedTimetableLastChange) Haschanged

func (ettlc *EstimatedTimetableLastChange) Haschanged(stopVisit *model.StopVisit) bool

func (*EstimatedTimetableLastChange) SetSubscription

func (ls *EstimatedTimetableLastChange) SetSubscription(sub subscription)

func (*EstimatedTimetableLastChange) UpdateState

func (ettlc *EstimatedTimetableLastChange) UpdateState(sv *model.StopVisit)

type LastState

type LastState interface {
	SetSubscription(subscription)
}

type ProductionTimetableLastChange

type ProductionTimetableLastChange struct {
	// contains filtered or unexported fields
}

func NewProductionTimetableLastChange

func NewProductionTimetableLastChange(sv *model.StopVisit, sub subscription) *ProductionTimetableLastChange

func (*ProductionTimetableLastChange) Haschanged

func (pttlc *ProductionTimetableLastChange) Haschanged(sv *model.StopVisit) bool

func (*ProductionTimetableLastChange) SetSubscription

func (ls *ProductionTimetableLastChange) SetSubscription(sub subscription)

func (*ProductionTimetableLastChange) UpdateState

func (pttlc *ProductionTimetableLastChange) UpdateState(sv *model.StopVisit) bool

type SituationLastChange

type SituationLastChange struct {
	// contains filtered or unexported fields
}

func NewSituationLastChange

func NewSituationLastChange(situation *model.Situation, sub subscription) *SituationLastChange

func (*SituationLastChange) Haschanged

func (slc *SituationLastChange) Haschanged(situation *model.Situation) bool

func (*SituationLastChange) SetSubscription

func (ls *SituationLastChange) SetSubscription(sub subscription)

func (*SituationLastChange) UpdateState

func (slc *SituationLastChange) UpdateState(situation *model.Situation) bool

type StopAreaLastChange

type StopAreaLastChange struct {
	// contains filtered or unexported fields
}

func NewStopAreaLastChange

func NewStopAreaLastChange(sa *model.StopArea, sub subscription) *StopAreaLastChange

func (*StopAreaLastChange) Haschanged

func (salc *StopAreaLastChange) Haschanged(stopArea *model.StopArea) ([]string, bool)

func (*StopAreaLastChange) SetSubscription

func (ls *StopAreaLastChange) SetSubscription(sub subscription)

func (*StopAreaLastChange) UpdateState

func (salc *StopAreaLastChange) UpdateState(stopArea *model.StopArea) bool

type StopMonitoringLastChange

type StopMonitoringLastChange struct {
	// contains filtered or unexported fields
}

func NewStopMonitoringLastChange

func NewStopMonitoringLastChange(sv *model.StopVisit, sub subscription) *StopMonitoringLastChange

func (*StopMonitoringLastChange) Haschanged

func (smlc *StopMonitoringLastChange) Haschanged(stopVisit *model.StopVisit) bool

func (*StopMonitoringLastChange) SetSubscription

func (ls *StopMonitoringLastChange) SetSubscription(sub subscription)

func (*StopMonitoringLastChange) UpdateState

func (smlc *StopMonitoringLastChange) UpdateState(stopVisit *model.StopVisit) bool

type VehicleMonitoringLastChange

type VehicleMonitoringLastChange struct {
	LinkDistance float64
	Percentage   float64
	Longitude    float64
	Latitude     float64
	Bearing      float64
	// contains filtered or unexported fields
}

func NewVehicleMonitoringLastChange

func NewVehicleMonitoringLastChange(v *model.Vehicle, sub subscription) *VehicleMonitoringLastChange

func (*VehicleMonitoringLastChange) HasChanged

func (vmlc *VehicleMonitoringLastChange) HasChanged(v *model.Vehicle) bool

func (*VehicleMonitoringLastChange) SetSubscription

func (ls *VehicleMonitoringLastChange) SetSubscription(sub subscription)

func (*VehicleMonitoringLastChange) UpdateState

func (vmlc *VehicleMonitoringLastChange) UpdateState(v *model.Vehicle)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL