/// <summary>
 /// Constructor.
 /// </summary>
 public GXDLMSAssociationLogicalName()
     : this("0.0.40.0.0.255")
 {
     ObjectList                  = new GXDLMSObjectCollection();
     ApplicationContextName      = new GXApplicationContextName();
     XDLMSContextInfo            = new GXxDLMSContextType();
     AuthenticationMechanismName = new GXAuthenticationMechanismName();
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="ln">Logical Name of the object.</param>
 public GXDLMSAssociationLogicalName(string ln)
     : base(ObjectType.AssociationLogicalName, ln, 0)
 {
     ObjectList                  = new GXDLMSObjectCollection();
     ApplicationContextName      = new GXApplicationContextName();
     XDLMSContextInfo            = new GXxDLMSContextType();
     AuthenticationMechanismName = new GXAuthenticationMechanismName();
 }
 /// <summary> 
 /// Constructor.
 /// </summary> 
 /// <param name="ln">Logical Name of the object.</param>
 public GXDLMSAssociationLogicalName(string ln)
     : base(ObjectType.AssociationLogicalName, ln, 0)
 {
     ObjectList = new GXDLMSObjectCollection();
     ApplicationContextName = new GXApplicationContextName();
     XDLMSContextInfo = new GXxDLMSContextType();
     AuthenticationMechanismMame = new GXAuthenticationMechanismName();
 }
 /// <summary> 
 /// Constructor.
 /// </summary> 
 public GXDLMSAssociationLogicalName()
     : this("0.0.40.0.0.255")
 {
     ObjectList = new GXDLMSObjectCollection();
     ApplicationContextName = new GXApplicationContextName();
     XDLMSContextInfo = new GXxDLMSContextType();
     AuthenticationMechanismMame = new GXAuthenticationMechanismName();
 }
Exemple #5
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="ln">Logical Name of the object.</param>
 public GXDLMSAssociationLogicalName(string ln)
     : base(ObjectType.AssociationLogicalName, ln, 0)
 {
     Version                     = 3;
     ObjectList                  = new GXDLMSObjectCollection();
     ApplicationContextName      = new GXApplicationContextName();
     XDLMSContextInfo            = new GXxDLMSContextType();
     AuthenticationMechanismName = new GXAuthenticationMechanismName();
     UserList                    = new List <KeyValuePair <byte, string> >();
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="ln">Logical Name of the object.</param>
 public GXDLMSAssociationLogicalName(string ln)
     : base(ObjectType.AssociationLogicalName, ln, 0)
 {
     ObjectList                  = new GXDLMSObjectCollection();
     ApplicationContextName      = new GXApplicationContextName();
     XDLMSContextInfo            = new GXxDLMSContextType();
     AuthenticationMechanismMame = new GXAuthenticationMechanismName();
     //Default shared secred.
     Secret = ASCIIEncoding.ASCII.GetBytes("Gurux");
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="ln">Logical Name of the object.</param>
 public GXDLMSAssociationLogicalName(string ln)
 : base(ObjectType.AssociationLogicalName, ln, 0)
 {
     ObjectList = new GXDLMSObjectCollection();
     ApplicationContextName = new GXApplicationContextName();
     XDLMSContextInfo = new GXxDLMSContextType();
     AuthenticationMechanismMame = new GXAuthenticationMechanismName();
     //Default shared secred.
     Secret = ASCIIEncoding.ASCII.GetBytes("Gurux");
     HlsSecret = ASCIIEncoding.ASCII.GetBytes("Gurux");
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public GXDLMSAssociationLogicalName()
 : this("0.0.40.0.0.255")
 {
     ObjectList = new GXDLMSObjectCollection();
     ApplicationContextName = new GXApplicationContextName();
     XDLMSContextInfo = new GXxDLMSContextType();
     AuthenticationMechanismMame = new GXAuthenticationMechanismName();
     //Default shared secreds.
     Secret = ASCIIEncoding.ASCII.GetBytes("Gurux");
     HlsSecret = ASCIIEncoding.ASCII.GetBytes("Gurux");
 }