Documentation ¶
Index ¶
- Variables
- type Project
- func (p *Project) CopyOriginalFile(file string) int64
- func (p *Project) CopyOriginalStruct(pud *model.PUD) (n int64)
- func (p *Project) CreateBaseFS()
- func (p *Project) CreateCsvFile(file string)
- func (p *Project) CreateKmlFile(filepath string)
- func (p *Project) GetChartData(serialNumber string, flyDate string) [][]interface{}
- func (p *Project) GetCsvFile(serialNumber string, flyDate string) []byte
- func (p *Project) GetGPXData(serialNumber string, flyDate string) []byte
- func (p *Project) GetKmzFile(serialNumber string, flyDate string) []byte
- func (p *Project) GetMapsData(serialNumber string, flyDate string) []message.Point
- func (p *Project) GetOriginalFile(serialNumber string, flyDate string) []byte
- func (p *Project) GetTree() []message.JsonDataListResponse
- func (p *Project) ListAllDrones() []message.JsonSerialNumberRow
- func (p *Project) LoadPUD(serialNumber string, flyDate string)
- func (p *Project) PerformAnalyse(pud *model.PUD)
- func (p *Project) RebuildDataFiles(conf *configuration.AppConfiguration)
- type SortByModified
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 (*Project) CreateBaseFS ¶
func (p *Project) CreateBaseFS()
func (*Project) CreateCsvFile ¶
func (*Project) CreateKmlFile ¶
func (*Project) GetChartData ¶
func (*Project) GetCsvFile ¶
func (*Project) GetGPXData ¶
func (*Project) GetKmzFile ¶
func (*Project) GetMapsData ¶
func (*Project) GetOriginalFile ¶
func (*Project) GetTree ¶
func (p *Project) GetTree() []message.JsonDataListResponse
func (*Project) ListAllDrones ¶
func (p *Project) ListAllDrones() []message.JsonSerialNumberRow
func (*Project) PerformAnalyse ¶
func (*Project) RebuildDataFiles ¶
func (p *Project) RebuildDataFiles(conf *configuration.AppConfiguration)
type SortByModified ¶
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)
Click to show internal directories.
Click to hide internal directories.