Class RoomPassiveElement

java.lang.Object
org.netxms.client.objects.configs.RoomPassiveElement

public class RoomPassiveElement extends Object
Passive room element (column, wall, ramp, stairs, door, etc.) placed on floor plan. All coordinates and dimensions are in millimetres.
  • Field Details

    • id

      public long id
    • name

      public String name
    • type

      public RoomElementType type
    • x

      public int x
    • y

      public int y
    • rotation

      public int rotation
    • width

      public int width
    • depth

      public int depth
  • Constructor Details

    • RoomPassiveElement

      public RoomPassiveElement()
      Create empty element. ID 0 means that server will assign new ID when element is saved.
    • RoomPassiveElement

      public RoomPassiveElement(NXCPMessage msg, long baseId)
      Create element from NXCP message
      Parameters:
      msg - NXCP message
      baseId - base field ID
    • RoomPassiveElement

      public RoomPassiveElement(RoomPassiveElement src)
      Copy constructor
      Parameters:
      src - element to copy
  • Method Details

    • fillMessage

      public void fillMessage(NXCPMessage msg, long baseId)
      Fill message with element data
      Parameters:
      msg - message to fill
      baseId - base field ID
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: