Пример #1
0
        public bool GetInteractiveReadByEndpointResultMasive()
        {
            bool r = false;

            model.Ami_Token   ami_Token = new model.Ami_Token();
            model.Ami_Token[] arr_ami_token;
            ami_Token.tokenType = "InteractiveReadByEndpointRequest";
            ami_Token.status    = 0;//requestprocesado
            arr_ami_token       = ami_Token.getAllTokenByTokenType();
            if (arr_ami_token != null)
            {
                foreach (var item in arr_ami_token)
                {
                    r = GetInteractiveReadByEndpointResult(item.token);
                }
            }
            return(r);
        }
Пример #2
0
        public bool GetDisconnectMeterResultMasive()
        {
            bool r = true;

            model.Ami_Token[] arr_ami_Token;
            model.Ami_Token   ami_Token = new model.Ami_Token();
            ami_Token.tokenType = "DisconnectMeter";
            ami_Token.status    = 0;
            arr_ami_Token       = ami_Token.getAllTokenByTokenType();
            if (arr_ami_Token != null)
            {
                foreach (var item in arr_ami_Token)
                {
                    r = GetDisconnectMeterResult(item.token);
                }
            }
            return(r);
        }
Пример #3
0
        public bool GetPingByEndpointsResultMasive()
        {
            bool r = true;

            model.Ami_Token[] arr_ami_Token;
            model.Ami_Token   ami_Token = new model.Ami_Token();
            ami_Token.tokenType = "PingByEndpoints";
            ami_Token.status    = 0;
            arr_ami_Token       = ami_Token.getAllTokenByTokenType();
            if (arr_ami_Token != null)
            {
                foreach (var item in arr_ami_Token)
                {
                    r = GetPingByEndpointsResult(item.token);
                }
            }

            return(r);
        }