fsmanager

package
v0.0.0-...-0b7008c Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: GPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CSV_FILE_NAME                 = "data.csv"
	JSON_FILENAME                 = "original.json"
	GOOGLEEARTH_FILENAME          = "fly.kmz"
	GPX_FILENAME                  = "fly.gpx"
	GOOGLEEARTH_INTERNAL_FILENAME = "doc.kml"
)

Functions

This section is empty.

Types

type Project

type Project struct {
	BaseDir       string
	Name          string
	Date          string
	RawData       string
	GeneratedData string
	Data          *model.PUD
}

func (*Project) CopyOriginalFile

func (p *Project) CopyOriginalFile(file string) int64

func (*Project) CopyOriginalStruct

func (p *Project) CopyOriginalStruct(pud *model.PUD) (n int64)

func (*Project) CreateBaseFS

func (p *Project) CreateBaseFS()

func (*Project) CreateCsvFile

func (p *Project) CreateCsvFile(file string)

func (*Project) CreateKmlFile

func (p *Project) CreateKmlFile(filepath string)

func (*Project) GetChartData

func (p *Project) GetChartData(serialNumber string, flyDate string) [][]interface{}

func (*Project) GetCsvFile

func (p *Project) GetCsvFile(serialNumber string, flyDate string) []byte

func (*Project) GetGPXData

func (p *Project) GetGPXData(serialNumber string, flyDate string) []byte

func (*Project) GetKmzFile

func (p *Project) GetKmzFile(serialNumber string, flyDate string) []byte

func (*Project) GetMapsData

func (p *Project) GetMapsData(serialNumber string, flyDate string) []message.Point

func (*Project) GetOriginalFile

func (p *Project) GetOriginalFile(serialNumber string, flyDate string) []byte

func (*Project) GetTree

func (p *Project) GetTree() []message.JsonDataListResponse

func (*Project) ListAllDrones

func (p *Project) ListAllDrones() []message.JsonSerialNumberRow

func (*Project) LoadPUD

func (p *Project) LoadPUD(serialNumber string, flyDate string)

func (*Project) PerformAnalyse

func (p *Project) PerformAnalyse(pud *model.PUD)

func (*Project) RebuildDataFiles

func (p *Project) RebuildDataFiles(conf *configuration.AppConfiguration)

type SortByModified

type SortByModified []os.DirEntry

var BASEDIR_NAME = "Data"

func (SortByModified) Len

func (f SortByModified) Len() int

func (SortByModified) Less

func (f SortByModified) Less(i, j int) bool

func (SortByModified) Swap

func (f SortByModified) Swap(i, j int)

Jump to

Keyboard shortcuts

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