Documentation ¶
Index ¶
- type Attribute
- type BoundingBox
- type ChangeAttribute
- type ChangeQuantity
- type Coordinate
- type Diff
- type ElementPropertyOverride
- type ElementPropertyValueOverride
- type Page
- type PageList
- type PropertyGroup
- type PropertyItem
- type PropertyOverride
- type PropertyValueOverride
- type Quantity
- type Tree
- type TreeNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoundingBox ¶
type BoundingBox struct { Min *Coordinate `json:"min"` Max *Coordinate `json:"max"` }
func NewBoundingBox ¶
func NewBoundingBox() *BoundingBox
type ChangeAttribute ¶
type ChangeQuantity ¶
type Coordinate ¶
func NewCoordinate ¶
func NewCoordinate(x, y, z float64) *Coordinate
type ElementPropertyOverride ¶
type ElementPropertyOverride struct { KeyToMatch string `json:"keyToMatch"` KeyToOverride string `json:"keyToOverride"` TargetFileIds []interface{} `json:"targetFileIds"` ValueOverrides []PropertyValueOverride `json:"valueOverrides"` // }
type Page ¶
type Page struct { StartIndex int `json:"startIndex"` //起始索引数 PageNo int `json:"pageNo"` //当前页码 PrePage int `json:"prePage "` //上一页码 NextPage int `json:"nextPage"` //下一页码 PageSize int `json:"pageSize"` //每页条目数 TotalCount int `json:"totalCount "` //条目总数 TotalPages int `json:"totalPages "` //页码总数 HtmlDisplay int `json:"htmlDisplay "` // }
type PropertyGroup ¶
type PropertyGroup struct { Group string `json:"group"` Items []*PropertyItem `json:"items"` }
type PropertyItem ¶
type PropertyItem struct { Code string `json:"code"` Extension string `json:"extension"` Key string `json:"key"` Value string `json:"value"` Unit string `json:"unit,omitempty"` ValueType int `json:"valueType,omitempty"` }
func (*PropertyItem) ToString ¶
func (o *PropertyItem) ToString() string
type PropertyOverride ¶
type PropertyOverride ElementPropertyOverride
type PropertyValueOverride ¶
type PropertyValueOverride ElementPropertyValueOverride
type TreeNode ¶
type TreeNode struct { Id string `json:"id"` Type string `json:"type"` Name string `json:"name"` ActualName string `json:"actualName"` Data interface{} `json:"data,omitempty"` ElementCount int64 `json:"elementCount"` Items []*TreeNode `json:"items"` // 为兼容离线数据包中 data\tree.json 文件内 familyType 节点下element列表 FileId string `json:"fileId"` ElementIds []string `json:"elementIds"` //---- 额外增加,其他用途 ----- Parent *TreeNode `json:"-"` ExData interface{} `json:"-"` }
TreeNode ***
Click to show internal directories.
Click to hide internal directories.