ls

package
v0.0.0-...-f9f6af2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 5 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 GeneralMessageLastChange

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

func NewGeneralMessageLastChange

func NewGeneralMessageLastChange(situation *model.Situation, sub subscription) *GeneralMessageLastChange

func (*GeneralMessageLastChange) Haschanged

func (gmlc *GeneralMessageLastChange) Haschanged(situation *model.Situation) bool

func (*GeneralMessageLastChange) SetSubscription

func (ls *GeneralMessageLastChange) SetSubscription(sub subscription)

func (*GeneralMessageLastChange) UpdateState

func (gmlc *GeneralMessageLastChange) UpdateState(situation *model.Situation) bool

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 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