Ejemplo n.º 1
0
 /// <summary>
 /// Reset VbList.
 /// </summary>
 /// <remarks>
 /// Remove all entries in the VbList collections.
 /// </remarks>
 public void Reset()
 {
     _vbs.Clear();
     _errorStatus.Value = 0;
     _errorIndex.Value  = 0;
     _requestId.Value   = _requestId.Value + 1;
     _trapObjectID.Reset();
     _trapTimeStamp.Value = 0;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Reset VbList.
 /// </summary>
 /// <remarks>
 /// Remove all entries in the VbList collections.
 /// </remarks>
 public void Reset()
 {
     _vbs.Clear();
     _errorStatus.Value = 0;
     _errorIndex.Value  = 0;
     if (_requestId.Value == Int32.MaxValue)
     {
         _requestId.Value = 1;
     }
     else
     {
         _requestId.Value = _requestId.Value + 1;
     }
     _trapObjectID.Reset();
     _trapTimeStamp.Value = 0;
 }
Ejemplo n.º 3
0
        /// <summary>Reset VbList.</summary>
        /// <remarks>Remove all entries in the VbList collections.</remarks>
        public void Reset()
        {
            VbList.Clear();
            errorStatus.Value = 0;
            errorIndex.Value  = 0;

            if (requestId.Value == int.MaxValue)
            {
                requestId.Value = 1;
            }
            else
            {
                requestId.Value = requestId.Value + 1;
            }

            trapObjectID.Reset();
            TrapSysUpTime.Value = 0;
        }