Beispiel #1
0
        /// <summary>
        ///     Builds an instance of <see cref="AomTcpDriverContextEntity" />
        ///     Создает сущность контекста драйвера(<see cref="AomTcpDriverContextEntity" />)
        /// </summary>
        /// <returns>
        ///     Built instance of <see cref="AomTcpDriverContextEntity" />
        /// </returns>
        public AomTcpDriverContextEntity Build()
        {
            var result = new AomTcpDriverContextEntity
            {
                DriverType    = this._driverType,
                TcpAddress    = this._address,
                TcpPortNumber = this._portNumber
            };

            return(result);
        }
Beispiel #2
0
 /// <summary>
 ///     Creates an instance of <see cref="AomDeviceContextEntity" />
 /// </summary>
 public AomTcpDriverContextEntity()
     : base(AomTcpDriverContextEntity.CreateTypeMetadata())
 {
 }