コード例 #1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public GXDLMSAssociationLogicalName()
     : this("0.0.40.0.0.255")
 {
     ObjectList                  = new GXDLMSObjectCollection();
     ApplicationContextName      = new GXApplicationContextName();
     XDLMSContextInfo            = new GXxDLMSContextType();
     AuthenticationMechanismName = new GXAuthenticationMechanismName();
 }
コード例 #2
0
 /// <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();
 }
コード例 #3
0
 /// <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();
 }
コード例 #4
0
 /// <summary> 
 /// Constructor.
 /// </summary> 
 public GXDLMSAssociationLogicalName()
     : this("0.0.40.0.0.255")
 {
     ObjectList = new GXDLMSObjectCollection();
     ApplicationContextName = new GXApplicationContextName();
     XDLMSContextInfo = new GXxDLMSContextType();
     AuthenticationMechanismMame = new GXAuthenticationMechanismName();
 }
コード例 #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> >();
 }
コード例 #6
0
 /// <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");
 }
コード例 #7
0
 /// <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");
 }
コード例 #8
0
 /// <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");
 }