entities

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OfflineDataCellMap = [][]string{
	{"SpeciesNumber", "物种编号"},
	{"ChineseName", "中文名"},
	{"FullLatinName", "种名(拉丁名)"},
	{"FamilyChineseName", "科名(中文)"},
	{"FamilyLatinName", "科名(拉丁名)"},
	{"Province", "省"},
	{"City", "市"},
	{"DetailedPlace", "具体小地名"},
	{"Latitude", "纬度"},
	{"Longitude", "经度"},
	{"Altitude", "海拔"},
	{"CollectingDate", "采集日期"},
	{"Inventory", "库存"},
	{"Habit", "习性(草灌)"},
	{"Collector", "采集人"},
	{"Identifier", "鉴定人"},
	{"IdentifyDate", "鉴定日期"},
	{"RecordingPerson", "录入人"},
	{"RecordingDate", "录入日期"},
}

标本鉴定数据 map

View Source
var SnDataCellMap = [][]string{
	{"SpeciesNumber", "物种编号"},
	{"SerialNumber", "流水号"},
	{"Barcode", "条形码"},
	{"CopyNumber", "同一物种的个体编号(1、2、3、...)"},
}

Functions

This section is empty.

Types

type CollectingInfo

type CollectingInfo struct {
	Collector        string // 采集人
	CollectingNumber string // 采集号
	CollectingDate   string // 采集日期
	Country          string // 国家
	ProvinceAndCity  string // 省市
	District         string // 区县
	Altitude         string // 海拔
	NegativeAltitude string // 负海拔
	DetailedPlace    string // 地名
	Habitat          string // 生境
	Longitude        string // 经度
	Latitude         string // 纬度
	Remarks2         string // 备注2
}

采集信息

type DataMatrix

type DataMatrix struct {
	FileName    string
	Matrix      [][]string // 数据矩阵内容
	Header      []string   // 标题行
	RowCount    int        //行数目
	ColumnCount int        //列数目
}

数据矩阵

func (DataMatrix) String

func (d DataMatrix) String() string

type IdentificationInfo

type IdentificationInfo struct {
	Family        string // 科
	Genus         string // 属
	Species       string // 种
	NamePublisher string // 定名人
	Level         string // 种下等级
	ChineseName   string // 中文名
	Habit         string // 习性(草灌)
	Identifier    string // 鉴定人
	IdentifyDate  string // 鉴定日期
	Remarks       string // 备注
}

鉴定信息

type LatinName

type LatinName struct {
	LatinNameString string   // 拉丁名全名
	Genus           string   // 属名
	Species         string   // 种名
	Elements        []string // 拉丁名中所有部分
}

拉丁名

func (LatinName) String

func (l LatinName) String() string

type Morphology

type Morphology struct {
	BodyHeight string // 体高
	DBH        string // 胸径
	Stem       string // 茎
	Leaf       string // 叶
	Flower     string // 花
	Fruit      string // 果实
	Host       string // 寄主
}

植物形态

type OfflineCollectingInfo added in v1.5.0

type OfflineCollectingInfo struct {
	Province       string // 省
	City           string // 市
	DetailedPlace  string // 具体小地名
	Latitude       string // 纬度
	Longitude      string // 经度
	Altitude       string // 海拔
	CollectingDate string // 采集日期
	Collector      string // 采集人
}

Offline 采集信息

type OfflineData added in v1.5.0

type OfflineData struct {
	OfflineSpecimenMetaInfo   // Offline 标本基础信息
	OfflineCollectingInfo     // Offline 标本采集信息
	OfflineIdentificationInfo // Offline 标本鉴定信息
	OfflineRecordingInfo      // Offline 标本录入信息
}

标本鉴定数据

func (OfflineData) String added in v1.5.0

func (e OfflineData) String() string

type OfflineDataModel added in v1.6.0

type OfflineDataModel struct {
	SpeciesNumber     string // 物种编号
	ChineseName       string // 中文名
	FullLatinName     string // 种名(拉丁名)
	FamilyChineseName string // 科名(中文)
	FamilyLatinName   string // 科名(拉丁名)
	Province          string // 省
	City              string // 市
	DetailedPlace     string // 具体小地名
	Latitude          string // 纬度
	Longitude         string // 经度
	Altitude          string // 海拔
	CollectingDate    string // 采集日期
	Inventory         string // 库存
	Habit             string // 习性(草灌)
	Collector         string // 采集人
	Identifier        string // 鉴定人
	IdentifyDate      string // 鉴定日期
	RecordingPerson   string // 录入人
	RecordingDate     string // 录入日期
}

type OfflineIdentificationInfo added in v1.5.0

type OfflineIdentificationInfo struct {
	Identifier        string // 鉴定人
	IdentifyDate      string // 鉴定日期
	FullLatinName     string // 种名(拉丁名)
	ChineseName       string // 中文名
	FamilyChineseName string // 科名(中文)
	FamilyLatinName   string // 科名(拉丁名)
	Habit             string // 习性(草灌)
}

Offline 鉴定信息

type OfflineRecordingInfo added in v1.5.0

type OfflineRecordingInfo struct {
	RecordingPerson string // 录入人
	RecordingDate   string // 录入日期
}

Offline 录入信息

type OfflineSpecimenMetaInfo added in v1.5.0

type OfflineSpecimenMetaInfo struct {
	SpeciesNumber string // 物种编号
	Inventory     string // 库存
}

Offline 标本基础信息

type RecordingInfo

type RecordingInfo struct {
	RecordingPerson string // 录入员
	RecordingDate   string // 录入日期
}

录入信息

type ResultData

type ResultData struct {
	SpecimenMetaInfo   // 标本基础信息
	CollectingInfo     // 采集信息
	IdentificationInfo // 鉴定信息
	RecordingInfo      // 录入信息
	Morphology         // 植物形态
}

最终结果

func (ResultData) ToOrderedResultSlice

func (r ResultData) ToOrderedResultSlice() ([]string, []string)

将结果以输出文件中的顺序排序

type SnData added in v1.5.0

type SnData struct {
	SpeciesNumber string // 物种编号
	SerialNumber  string // 流水号
	Barcode       string // 条形码
	CopyNumber    string // 同一物种的个体编号(1、2、3、...)
}

物种信息

type SpecimenMetaInfo

type SpecimenMetaInfo struct {
	LibraryCode       string // 馆代码
	SerialNumber      string // 流水号
	Barcode           string // 条形码
	PatternType       string // 模式类型
	SpecimenCondition string // 标本状态
	Inventory         string // 库存
}

标本基础信息

type WebInfo

type WebInfo struct {
	FullLatinName string // 拉丁名(二名法)
	Morphology           // 植物形态
	NamePublisher string // 定名人
	Family        string
	Habitat       string //习性
}

网络信息

Jump to

Keyboard shortcuts

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