Exemple #1
0
        protected AvlTcpStatusArgs OnStatusChanged(string imei, AvlTcpStatus status, string extra = "")
        {
            var statusArgs = new AvlTcpStatusArgs(imei, status, extra);
            if (this.StatusChanged != null)
                this.StatusChanged(this, statusArgs);

            return statusArgs;
        }
Exemple #2
0
        protected AvlTcpStatusArgs OnStatusChanged(string imei, AvlTcpStatus status, string extra = "")
        {
            var statusArgs = new AvlTcpStatusArgs(imei, status, extra);

            if (this.StatusChanged != null)
            {
                this.StatusChanged(this, statusArgs);
            }

            return(statusArgs);
        }
Exemple #3
0
 internal AvlTcpStatusArgs(string imei, AvlTcpStatus status, string extra="")
 {
     this.Imei = imei;
     this.Status = status;
     this.Extra = extra;
 }
Exemple #4
0
 internal AvlTcpStatusArgs(string imei, AvlTcpStatus status, string extra = "")
 {
     this.Imei   = imei;
     this.Status = status;
     this.Extra  = extra;
 }