Constructor
new RackPositionModel(siteId)
RackPositionModel Constructor
Parameters
-
siteId
number
The Site ID associated with this Rack Position
Source
Members
deletedboolean
Whether the Rack Position has been deleted
Type
-
boolean
Source
horizontalPositionIndexnumber
The Index of the Horizontal Position in the Rack where this Position resides
Type
-
number
Source
idstring
The Rack Position ID
Type
-
string
Source
labIdstring
The Lab that owns this Rack Position
Type
-
string
Source
namestring
The Name of this Rack Position
Type
-
string
Source
pointsObject
The Points used by this Rack Position
Type
-
Object
Source
rackIdstring
The Rack associated with this Rack Position
Type
-
string
Source
rtuIdnumber
The RTU this Rack Position belongs to
Type
-
number
Source
siteIdnumber
The Site ID associated with this Rack Position
Type
-
number
Source
updateTimestampDate
When the Rack Position was last updated
Type
-
Date
Source
verticalLevelIndexnumber
The Index of the Vertical Level in the Rack where this Position resides
Type
-
number
Source
Methods
fromJSON(json, siteId) → {RackPositionModel}
Create a new RackPositionModel from a JSON Object or JSON String
Parameters
-
json
Object.<string, any>
|string
A JSON Object or JSON String
-
siteId
number
The Site ID associated with this Rack Position
Returns
-
RackPositionModel