コード例 #1
0
        public String GetURL(OneNetContext context)
        {
            context.setContext(DEVICE_ID, DeviceID);
            context.setContext(DATASTREAM_ID, DataStreamId);
            var url      = URIUtils.fmtURI(URI, context);
            var webUtils = new WebUtils();

            return(webUtils.BuildGetUrl(url, otherParameters));
        }
コード例 #2
0
        public string GetURL(OneNetContext context)
        {
            context.setContext("trigger_id", TriggerID);
            var url      = URIUtils.fmtURI(URI, context);
            var webUtils = new WebUtils();

            return(webUtils.BuildGetUrl(url, otherParameters));
        }
コード例 #3
0
        public String GetURL(OneNetContext context)
        {
            context.setContext(CMD_UUID, CmdUuid);
            var url      = URIUtils.fmtURI(URI, context);
            var webUtils = new WebUtils();

            return(webUtils.BuildGetUrl(url, otherParameters));
        }
コード例 #4
0
        public string GetURL(OneNetContext context)
        {
            context.setContext(KEY_STRING, KeyString);
            var url      = URIUtils.fmtURI(URI, context);
            var webUtils = new WebUtils();

            return(webUtils.BuildGetUrl(url, otherParameters));
        }
コード例 #5
0
        public string GetURL(OneNetContext context)
        {
            context.setContext(INDEX, Index);

            var url      = URIUtils.fmtURI(URI, context);
            var webUtils = new WebUtils();

            return(webUtils.BuildGetUrl(url, otherParameters));
        }
コード例 #6
0
        public String GetURL(OneNetContext context)
        {
            context.setContext(DEVICE_ID, DeviceID);
            otherParameters.Add("t_start", Start.ToString("s"));
            var url      = URIUtils.fmtURI(URI, context);
            var webUtils = new WebUtils();

            return(webUtils.BuildGetUrl(url, otherParameters));
        }
コード例 #7
0
        public String GetURL(OneNetContext context)
        {
            context.setContext(DEVICE_ID, DeviceID);
            otherParameters.Add(DatastreamID, DataStreamId);
            otherParameters.Add(START, StartTimeTxt);
            otherParameters.Add(END, EndTimeTxt);
            otherParameters.Add(LIMIT, Limit);
            otherParameters.Add(CURSOR, Cursor);
            otherParameters.Add(INTERVAL, Interval);
            otherParameters.Add(METHOD, Method);
            otherParameters.Add(FIRST, First);

            var url      = URIUtils.fmtURI(URI, context);
            var webUtils = new WebUtils();

            return(webUtils.BuildGetUrl(url, otherParameters));
        }
コード例 #8
0
        public String GetURL(OneNetContext context)
        {
            otherParameters.Add(Key_WORDS, Keywords);
            if (OnLine.HasValue)
            {
                otherParameters.Add(ONLINE, OnLine.ToString());
            }
            if (Private.HasValue)
            {
                otherParameters.Add(PRIVATE, Private.ToString());
            }
            otherParameters.Add(PAGE, Page.ToString());
            otherParameters.Add(PER_PAGE, PageSize.ToString());
            otherParameters.Add(TAG, Tag);

            context.setContext(DEVICE_ID, DeviceIds);

            var url      = URIUtils.fmtURI(URI, context);
            var webUtils = new WebUtils();

            return(webUtils.BuildGetUrl(url, otherParameters));
        }