Exemplo n.º 1
0
        private NType unit; //�豸

        #endregion Fields

        #region Constructors

        /// <summary>
        /// ���캯��
        /// </summary>
        /// <param name="_unit">�豸</param>
        /// <param name="_channel">�ڵ�</param>
        /// <param name="_action">����</param>
        public Alarm(NType _unit,NType _channel,NType _action)
        {
            unit = _unit;
            channel = _channel;
            action = _action;
            time = DateTime.Now;
        }
Exemplo n.º 2
0
 /// <summary>
 /// ���췽��
 /// </summary>
 public NType(NType o)
 {
     if(o != null)
     {
          if (o.IP != null)
             _ip = o.IP;
         _name = o.Name;
         _code = o.Code;
     }
 }