예제 #1
0
 /// <summary>
 /// Standard consturctor for the Link_Action object.
 /// </summary>
 /// <param name="laa">The link action attributes.</param>
 /// <param name="lat">The link action type.</param>
 public Link_Action(Link_Ac_Attr laa, Link_Ac_Type lat)
 {
     this.LinkAcAttr = laa;
     this.LinkAcType = lat;
 }
예제 #2
0
 /// <summary>
 /// Deserialization constructor for this object.
 /// </summary>
 /// <param name="bytes">Serialized instance of the object.</param>
 public Link_Action(byte[] bytes)
 {
     byte[] aux = new byte[1];
     aux[0] = bytes[1];
     LinkAcAttr = new Link_Ac_Attr(aux);
     LinkAcType = (Link_Ac_Type)bytes[0];
 }