Class ExtRefSignalInfo

java.lang.Object
org.lfenergy.compas.sct.commons.dto.ExtRefSignalInfo

public class ExtRefSignalInfo extends Object
A representation of the model object ExtRef Signal Information.

The following features are supported:

  • Desc
  • PLN
  • PDO
  • PDA
  • PServ T
  • Int Addr
See Also:
  • Constructor Details

    • ExtRefSignalInfo

      public ExtRefSignalInfo(TExtRef tExtRef)
      Constructor
      Parameters:
      tExtRef - input
  • Method Details

    • initExtRef

      public static TExtRef initExtRef(ExtRefSignalInfo signalInfo)
      Initialize ExtRef
      Parameters:
      signalInfo - object containing ExtRef data's'
      Returns:
      ExtRef object
    • isWrappedIn

      public boolean isWrappedIn(TExtRef tExtRef)
      Check that if TExtRef object is wrappen in ExtRefSignalInfo object vice versa
      Parameters:
      tExtRef - object containing ExtRef data's'
      Returns:
      wrapper state
    • isValid

      public boolean isValid()
      Check validity of pDO and pDA values
      Returns:
      validity state
    • toString

      public String toString()
      Convert ExtRefSignalInfo to string value
      Overrides:
      toString in class Object
      Returns:
      ExtRefSignalInfo formatted to string