public ConnectStepEvent(ConnectStep connectStep)
        {
            Area = "Brand";
            Controller = "Brand";
            Action = "UpdateConnectStep";

            Param.Add("updateConnectStep", connectStep.ToJson());
        }
        public void Execution()
        {
            var connectStep = new ConnectStep();
            connectStep.ID = Guid.NewGuid();
            connectStep.ConnectResult = 1;

            connectStep.ConnectType = _connectType;
            connectStep.SockCreateTime = _sockCreateTime;
            connectStep.SockSendTime = _createTime;
            connectStep.IpAddress = _ipAddress;
            connectStep.RestaurantId = _restaurantId;

            DomainEvent.Publish(new ConnectStepEvent(connectStep));

            Flag = true;
        }