// Package orm define database data struct package orm // MeasurementSet define struct to return grid tag、zone tag、station tag、 component NSPath、component tag、measurement tag field type MeasurementSet struct { AllGridTags []string AllZoneTags []string AllStationTags []string AllCompNSPaths []string AllCompTags []string AllConfigTags []string AllMeasTags []string GridToZoneTags map[string][]string // Key: GridTag, Value: ZoneTags ZoneToStationTags map[string][]string // Key: ZoneTag, Value: StationTags StationToCompNSPaths map[string][]string // Key: StationTag, Value: NSPaths CompNSPathToCompTags map[string][]string // Key: NSPaths, Value: CompTags CompTagToMeasTags map[string][]string // Key: CompTag, Value: MeasTags }