Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetNode ¶
type AssetNode struct {
Criticality Criticality `json:"criticality"`
}
type BaseNode ¶
type BaseNode struct { ID uuid.UUID `json:"id"` Type NodeType `json:"nodeType"` SubType NodeSubType `json:"nodeSubType"` Origin *Origin `json:"origin,omitempty"` Label string `json:"label"` Description string `json:"description"` }
Node represent a hierarchy node
type Criticality ¶
type Criticality string
const ( CriticalityA Criticality = "criticality_a" CriticalityB Criticality = "criticality_b" CriticalityC Criticality = "criticality_c" )
type InspectionPoint ¶
type MeasurementPoint ¶
type MeasurementPoint struct { Bearing int32 `json:"bearing"` Angular Orientation `json:"orientation"` MeasurementType MeasurementType `json:"measurementType"` Shaft string `json:"shaft"` ShaftSide ShaftSide `json:"shaftSide"` }
type MeasurementType ¶
type MeasurementType string
const ( Displacement MeasurementType = "displacement" Acceleration MeasurementType = "acceleration" Velocity MeasurementType = "velocity" Temperature MeasurementType = "temperature" DCGAP MeasurementType = "dc_gap" AMPLPHASE MeasurementType = "ampl_phase" BOV MeasurementType = "bov" Speed MeasurementType = "speed" Envelope3 MeasurementType = "envelope_3" Envelope2 MeasurementType = "envelope_2" )
type Node ¶
type Node struct { BaseNode *AssetNode *MeasurementPoint *InspectionPoint }
type NodeSubType ¶
type NodeSubType string
const ( NodeSubTypeCompany NodeSubType = "company" NodeSubTypeSite NodeSubType = "site" NodeSubTypePlant NodeSubType = "plant" NodeSubTypeShip NodeSubType = "ship" NodeSubTypeSystem NodeSubType = "system" NodeSubTypeFunctionalLocation NodeSubType = "functional_location" NodeSubTypeAsset NodeSubType = "asset" NodeSubTypeMeasurementPoint NodeSubType = "measurement_point" NodeSubTypeInspectionPoint NodeSubType = "inspection_point" )
type NodeType ¶
type NodeType string
const ( NodeTypeCompany NodeType = "company" NodeTypeSite NodeType = "site" NodeTypePlant NodeType = "plant" NodeTypeSystem NodeType = "system" NodeTypeFunctionalLocation NodeType = "functional_location" NodeTypeAsset NodeType = "asset" NodeTypeMeasurementPoint NodeType = "measurement_point" NodeTypeInspectionPoint NodeType = "inspection_point" )
type Orientation ¶
type Orientation string
const ( Axial Orientation = "axial" Radial Orientation = "radial" Horizontal Orientation = "horizontal" Vertical Orientation = "vertical" )
Click to show internal directories.
Click to hide internal directories.