Documentation
¶
Index ¶
- type AppData
- func (data *AppData) GetDownSignals() (res []DownSignal, ok bool)
- func (data *AppData) GetSelectedDish() (res Dish, ok bool)
- func (data *AppData) GetTargets() (res []Target, ok bool)
- func (data *AppData) GetUpSignals() (res []UpSignal, ok bool)
- func (data *AppData) HasAntennaSpecs() bool
- func (data *AppData) IsNoModalShown() bool
- type DSN
- type DSNDish
- type DSNDishDownSignal
- type DSNDishTarget
- type DSNDishUpSignal
- type DSNStation
- type Dish
- type DishSpecification
- type DownSignal
- type FullData
- type Spacecraft
- type Station
- type Target
- type UpSignal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppData ¶
type AppData struct {
IsReady bool
SelectedStationIdx int
SelectedDishIdx int
SelectedTargetIdx int
SelectedUpSignalIdx int
SelectedDownSignalIdx int
FullData FullData
DSNConfig response.DSNConfig
IsPreviewShown bool
IsSpecsShown bool
IsAboutShown bool
}
func NewAppData ¶
func NewAppData() *AppData
func (*AppData) GetDownSignals ¶
func (data *AppData) GetDownSignals() (res []DownSignal, ok bool)
func (*AppData) GetSelectedDish ¶
func (*AppData) GetTargets ¶
func (*AppData) GetUpSignals ¶
func (*AppData) HasAntennaSpecs ¶
func (*AppData) IsNoModalShown ¶ added in v0.0.6
type DSN ¶
type DSN struct {
Timestamp string `xml:"timestamp"`
Stations []DSNStation `xml:"station"`
D []DSNDish `xml:"dish"`
}
type DSNDish ¶
type DSNDish struct {
Name string `xml:"name,attr"`
AzimuthAngle string `xml:"azimuthAngle,attr"`
ElevationAngle string `xml:"elevationAngle,attr"`
WindSpeed string `xml:"windSpeed,attr"`
IsMSPA string `xml:"isMSPA,attr"`
IsArray string `xml:"isArray,attr"`
IsDDOR string `xml:"isDDOR,attr"`
Activity string `xml:"activity,attr"`
UpSignal []DSNDishUpSignal `xml:"upSignal"`
DownSignals []DSNDishDownSignal `xml:"downSignal"`
Target []DSNDishTarget `xml:"target"`
}
type DSNDishDownSignal ¶
type DSNDishDownSignal struct {
IsActive string `xml:"active,attr"`
SignalType string `xml:"signalType,attr"`
DataRate string `xml:"dataRate,attr"`
Frequency string `xml:"frequency,attr"`
Band string `xml:"band,attr"`
Power string `xml:"power,attr"`
Spacecraft string `xml:"spacecraft,attr"`
SpacecraftID string `xml:"spacecraftID,attr"`
}
type DSNDishTarget ¶
type DSNDishUpSignal ¶
type DSNDishUpSignal struct {
IsActive string `xml:"active,attr"`
SignalType string `xml:"signalType,attr"`
DataRate string `xml:"dataRate,attr"`
Frequency string `xml:"frequency,attr"`
Band string `xml:"band,attr"`
Power string `xml:"power,attr"`
Spacecraft string `xml:"spacecraft,attr"`
SpacecraftID string `xml:"spacecraftID,attr"`
}
type DSNStation ¶
type Dish ¶
type Dish struct {
Name string
FriendlyName string
Type string
AzimuthAngle string
ElevationAngle string
WindSpeed string
IsMSPA bool
IsArray bool
IsDDOR bool
Activity string
UpSignals []UpSignal
DownSignals []DownSignal
Targets []Target
Specs DishSpecification
}
func (*Dish) CountWorkingDownSignals ¶
func (*Dish) CountWorkingTargets ¶
func (*Dish) CountWorkingUpSignals ¶
func (*Dish) GetDishSpecification ¶
func (d *Dish) GetDishSpecification() DishSpecification
type DishSpecification ¶
type DishSpecification struct {
Name string
Diameter string
Type string
BuiltIn string
TransmittersFrequency string
ReceiversFrequency string
TransmittersPower string
Precision string
TotalWeight string
DishWeight string
AntennaSpeed string
TotalPanels string
SurfaceArea string
OperationalWindResistance string
WindResistance string
WebUrl string
Location string
}
type DownSignal ¶
type DownSignal signal
type FullData ¶
type FullData struct {
Stations []Station
Spacecrafts []Spacecraft
Timestamp string
}
func (*FullData) GetDishByName ¶
func (*FullData) GetSpacecraftByName ¶
func (fd *FullData) GetSpacecraftByName(name string) Spacecraft
func (*FullData) GetStationByName ¶
type Spacecraft ¶
Click to show internal directories.
Click to hide internal directories.