Regular Expressions 101

Save & Manage Regex

  • Current Version: 1
  • Save & Share
  • Community Library

Flavor

  • PCRE2 (PHP)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java
  • .NET 7.0 (C#)
  • Rust
  • PCRE (Legacy)
  • Regex Flavor Guide

Function

  • Match
  • Substitution
  • List
  • Unit Tests
Sponsors
There are currently no sponsors. Become a sponsor today!
An explanation of your regex will be automatically generated as you type.
Detailed match information will be displayed here automatically.
  • All Tokens
  • Common Tokens
  • General Tokens
  • Anchors
  • Meta Sequences
  • Quantifiers
  • Group Constructs
  • Character Classes
  • Flags/Modifiers
  • Substitution
  • A single character of: a, b or c
    [abc]
  • A character except: a, b or c
    [^abc]
  • A character in the range: a-z
    [a-z]
  • A character not in the range: a-z
    [^a-z]
  • A character in the range: a-z or A-Z
    [a-zA-Z]
  • Any single character
    .
  • Alternate - match either a or b
    a|b
  • Any whitespace character
    \s
  • Any non-whitespace character
    \S
  • Any digit
    \d
  • Any non-digit
    \D
  • Any word character
    \w
  • Any non-word character
    \W
  • Non-capturing group
    (?:...)
  • Capturing group
    (...)
  • Zero or one of a
    a?
  • Zero or more of a
    a*
  • One or more of a
    a+
  • Exactly 3 of a
    a{3}
  • 3 or more of a
    a{3,}
  • Between 3 and 6 of a
    a{3,6}
  • Start of string
    ^
  • End of string
    $
  • A word boundary
    \b
  • Non-word boundary
    \B

Regular Expression
Processing...

Test String

Code Generator

Generated Code

$re = '/.*"cron": "(?<cron>[^\"]*)"/m'; $str = '{ "monitoringConfig": { "connectionMonitoringTags": [ "0b907b90-b2a5-4a51-acb4-ad784f1f3df4", "18cec85a-8236-4da4-835e-a777a231c5db", "ce41e191-7210-4fb6-907a-f25f2e92d94f", "5bedb36b-ca47-4067-9904-a8adeba32db4", "d8453422-6a61-40a9-a720-2af635e10f76" ], "monitoringCron": "0/10 * * * * ? *", "loseConnectionTimeout": 300000 }, "calculations": { "17_GPA7_Pvih": { "queries": { "a": "SELECT mean(value) as value FROM :3816b323-264c-4966-a882-bfa3acf1a160: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :352c180e-0a5f-43f6-9d14-ed69c6844b48: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa7: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "dba6a8cf-cd2f-4c3a-a16c-ba8b760ad255", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Pvh12_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :f9f05ab4-f585-4b19-95d2-8e9229561e48: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :f9f05ab4-f585-4b19-95d2-8e9229561e48: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :f9f05ab4-f585-4b19-95d2-8e9229561e48: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh12_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1103_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :09166cc1-1970-4991-af63-32bd8e541eb6: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :e161f580-a968-494d-b10b-22036b8dc57a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1103_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__vp_prombaza_g_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :8b0ac9b7-27d4-498b-b4d5-e1ce89d06e0d: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-1m]}" }, "cron": "0 10 * * * ? *", "outputTag": "vp_prombaza_g_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__valg_q_plan_day": { "queries": { "u": "SELECT first(value) as value FROM :valg_q_plan_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {M<12h>[+1M]}", "v": "SELECT last(value) as value FROM :760e06e9-ee25-4113-8a94-0fffa37d3f86: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {M<12h>[+1M]}" }, "cron": "0 10 12 * * ? *", "outputTag": "valg_q_plan_day", "js": "var d=new Date(u[0].time);d=new Date(d.getFullYear(),d.getMonth()+1,0).getDate();return u[0].value/(d-v[0].value);", "outputTimeOffset": "D<12h>[+1d]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__temp_nar_voz_hour": { "queries": { "u": "SELECT mean(value) as value FROM :849fa23f-8faa-4c7c-9c32-27b26515f3d1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 0 * * * ? *", "outputTag": "temp_nar_voz_hour", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA7_Tvh": { "queries": { "a": "SELECT mean(value) as value FROM :e0dfee3a-07c1-46b5-aae7-53d02475a3de: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :352c180e-0a5f-43f6-9d14-ed69c6844b48: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa7: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "f70f784d-ee5d-42d1-888f-0a1033d62fdb", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__stn_all_month": { "queries": { "u": "SELECT sum(value) as value FROM :gsn_poter_q_sut: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "v": "SELECT sum(value) as value FROM :for_GSN_q_sut: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}" }, "cron": "0 12 8 1 * ? *", "outputTag": "stn_all_month", "js": "return(u[0].value/1000+v[0].value/1000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "02_GSN_Fsut": { "queries": { "u": "SELECT first(value) as value from :3eac4f2c-aa44-4191-9c70-3a4ebf14464b: where quality!=\'REPLACED\' and time >= {D<8h+10m>[]} and time < {D<8h+10m>[+1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "PH_02_GSN_Fsut", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_Tvih_VK14": { "queries": { "u": "SELECT mean(value) as value FROM :31655ff8-b174-408c-8aea-f19ab1a55d4b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "fbcf5251-7b3e-4ebe-b130-c6dd8eab8ac2", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GTEB1_year_accum_sut": { "queries": { "raw": "SELECT sum(value) as value from :7be6eafe-0ca8-4f1a-9c86-635468308d81: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cum": "select * from :GTEB1_year_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "GTEB1_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==1&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==9&&dd.getDate()==31&&dd.getHours()==8)return 176440;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__turon_met_sum_day": { "queries": { "a": "SELECT last(value) as value FROM :4f55a878-08ab-42de-adba-03aa893d38cb: where quality!=\'REPLACED\' and time <= {H[]}", "b": "SELECT last(value) as value FROM :da2798fc-4e34-4f24-9049-8c9ec4ae0f02: where quality!=\'REPLACED\' and time <= {H[]}", "c": "SELECT sum(value) as value FROM :skv184_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "d": "SELECT sum(value) as value FROM :skv1902_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "e": "SELECT sum(value) as value FROM :skvr35_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "f": "SELECT sum(value) as value FROM :skvr51_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "g": "SELECT sum(value) as value FROM :skv1401_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "h": "SELECT sum(value) as value FROM :skv1402_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "i": "SELECT sum(value) as value FROM :skv1403_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "j": "SELECT sum(value) as value FROM :skv1404_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "k": "SELECT sum(value) as value FROM :skv1101_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "l": "SELECT sum(value) as value FROM :skv1102_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "m": "SELECT sum(value) as value FROM :skv1103_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "n": "SELECT sum(value) as value FROM :skv1104_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "o": "SELECT sum(value) as value FROM :skv1301_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "p": "SELECT sum(value) as value FROM :skv1302_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "q": "SELECT sum(value) as value FROM :skv1303_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "r": "SELECT sum(value) as value FROM :skv1304_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "s": "SELECT sum(value) as value FROM :skv801_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "t": "SELECT sum(value) as value FROM :skv802_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "u": "SELECT sum(value) as value FROM :skv1001_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "v": "SELECT sum(value) as value FROM :skv1002_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "w": "SELECT sum(value) as value FROM :skv1003_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "x": "SELECT sum(value) as value FROM :skv1501_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "y": "SELECT sum(value) as value FROM :skv1502_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "z": "SELECT sum(value) as value FROM :skv1503_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "aa": "SELECT sum(value) as value FROM :skv501_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "ab": "SELECT sum(value) as value FROM :skv502_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "ac": "SELECT sum(value) as value FROM :skv503_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "ad": "SELECT sum(value) as value FROM :skv701_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "ae": "SELECT sum(value) as value FROM :skv702_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "af": "SELECT sum(value) as value FROM :skv703_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "ag": "SELECT sum(value) as value FROM :skv1801_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "ah": "SELECT sum(value) as value FROM :skv1802_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "aj": "SELECT sum(value) as value FROM :skv1803_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "ak": "SELECT sum(value) as value FROM :skv1701_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "al": "SELECT sum(value) as value FROM :skv1702_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "am": "SELECT sum(value) as value FROM :skv1703_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "an": "SELECT sum(value) as value FROM :skv901_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "ao": "SELECT sum(value) as value FROM :skv902_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "ap": "SELECT sum(value) as value FROM :skv3_01_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "ar": "SELECT sum(value) as value FROM :skv3_02_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "as": "SELECT sum(value) as value FROM :skv1_01_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "at": "SELECT sum(value) as value FROM :skv1_02_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "au": "SELECT sum(value) as value FROM :skv1_03_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "av": "SELECT sum(value) as value FROM :skv1201_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "aw": "SELECT sum(value) as value FROM :skv1202_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "ax": "SELECT sum(value) as value FROM :skv4101_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "ay": "SELECT sum(value) as value FROM :skv4102_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "az": "SELECT sum(value) as value FROM :skv4103_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "ba": "SELECT sum(value) as value FROM :skv4001_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bb": "SELECT sum(value) as value FROM :skv4002_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bc": "SELECT sum(value) as value FROM :skv4003_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bd": "SELECT sum(value) as value FROM :skv4004_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "be": "SELECT sum(value) as value FROM :skv3901_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bf": "SELECT sum(value) as value FROM :skv3902_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bg": "SELECT sum(value) as value FROM :skv3903_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bh": "SELECT sum(value) as value FROM :skv3904_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bj": "SELECT sum(value) as value FROM :skv1601_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bk": "SELECT sum(value) as value FROM :skv1602_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bl": "SELECT sum(value) as value FROM :skv1603_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bm": "SELECT sum(value) as value FROM :skv6_01_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bn": "SELECT sum(value) as value FROM :skv6_02_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bo": "SELECT sum(value) as value FROM :skv2201_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bp": "SELECT sum(value) as value FROM :skv2202_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bq": "SELECT sum(value) as value FROM :skv2203_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "br": "SELECT sum(value) as value FROM :skv2401_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bs": "SELECT sum(value) as value FROM :skv2402_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bt": "SELECT sum(value) as value FROM :skv2601_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bu": "SELECT sum(value) as value FROM :skv2602_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bv": "SELECT sum(value) as value FROM :skv3601_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bw": "SELECT sum(value) as value FROM :skv3602_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bx": "SELECT sum(value) as value FROM :skv3603_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "by": "SELECT sum(value) as value FROM :skv3801_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "bz": "SELECT sum(value) as value FROM :skv3802_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "ca": "SELECT sum(value) as value FROM :skv2_01_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cb": "SELECT sum(value) as value FROM :skv2_02_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cc": "SELECT sum(value) as value FROM :skv2_03_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cd": "SELECT sum(value) as value FROM :skv2_04_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "ce": "SELECT sum(value) as value FROM :skv1901_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cf": "SELECT sum(value) as value FROM :skv1903_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "ch": "SELECT sum(value) as value FROM :skv2801_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cj": "SELECT sum(value) as value FROM :skv2802_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "ck": "SELECT sum(value) as value FROM :skv3001_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cl": "SELECT sum(value) as value FROM :skv3002_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cm": "SELECT sum(value) as value FROM :skv3003_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cn": "SELECT sum(value) as value FROM :skv2701_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "co": "SELECT sum(value) as value FROM :skv2702_met_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 30 12 * * ? *", "outputTag": "turon_met_sum_day", "js": "return((a==null||a.length==0?0:a[0].value)+(b==null||b.length==0?0:b[0].value)+(c==null||c.length==0?0:c[0].value)+(d==null||d.length==0?0:d[0].value)+(e==null||e.length==0?0:e[0].value)+(f==null||f.length==0?0:f[0].value)+(g==null||g.length==0?0:g[0].value)+(h==null||h.length==0?0:h[0].value)+(i==null||i.length==0?0:i[0].value)+(j==null||j.length==0?0:j[0].value)+(k==null||k.length==0?0:k[0].value)+(l==null||l.length==0?0:l[0].value)+(m==null||m.length==0?0:m[0].value)+(n==null||n.length==0?0:n[0].value)+(o==null||o.length==0?0:o[0].value)+(p==null||p.length==0?0:p[0].value)+(q==null||q.length==0?0:q[0].value)+(r==null||r.length==0?0:r[0].value)+(s==null||s.length==0?0:s[0].value)+(t==null||t.length==0?0:t[0].value)+(u==null||u.length==0?0:u[0].value)+(v==null||v.length==0?0:v[0].value)+(w==null||w.length==0?0:w[0].value)+(x==null||x.length==0?0:x[0].value)+(y==null||y.length==0?0:y[0].value)+(z==null||z.length==0?0:z[0].value)+(aa==null||aa.length==0?0:aa[0].value)+(ab==null||ab.length==0?0:ab[0].value)+(ac==null||ac.length==0?0:ac[0].value)+(ae==null||ae.length==0?0:ae[0].value)+(ad==null||ad.length==0?0:ad[0].value)+(af==null||af.length==0?0:af[0].value)+(ag==null||ag.length==0?0:ag[0].value)+(ah==null||ah.length==0?0:ah[0].value)+(aj==null||aj.length==0?0:aj[0].value)+(ak==null||ak.length==0?0:ak[0].value)+(al==null||al.length==0?0:al[0].value)+(am==null||am.length==0?0:am[0].value)+(an==null||an.length==0?0:an[0].value)+(ao==null||ao.length==0?0:ao[0].value)+(ap==null||ap.length==0?0:ap[0].value)+(ar==null||ar.length==0?0:ar[0].value)+(as==null||as.length==0?0:as[0].value)+(at==null||at.length==0?0:at[0].value)+(au==null||au.length==0?0:au[0].value)+(av==null||av.length==0?0:av[0].value)+(aw==null||aw.length==0?0:aw[0].value)+(ax==null||ax.length==0?0:ax[0].value)+(ay==null||ay.length==0?0:ay[0].value)+(az==null||az.length==0?0:az[0].value)+(ba==null||ba.length==0?0:ba[0].value)+(bb==null||bb.length==0?0:bb[0].value)+(bc==null||bc.length==0?0:bc[0].value)+(bd==null||bd.length==0?0:bd[0].value)+(be==null||be.length==0?0:be[0].value)+(bf==null||bf.length==0?0:bf[0].value)+(bg==null||bg.length==0?0:bg[0].value)+(bh==null||bh.length==0?0:bh[0].value)+(bj==null||bj.length==0?0:bj[0].value)+(bk==null||bk.length==0?0:bk[0].value)+(bl==null||bl.length==0?0:bl[0].value)+(bm==null||bm.length==0?0:bm[0].value)+(bn==null||bn.length==0?0:bn[0].value)+(bo==null||bo.length==0?0:bo[0].value)+(bp==null||bp.length==0?0:bp[0].value)+(bq==null||bq.length==0?0:bq[0].value)+(br==null||br.length==0?0:br[0].value)+(bs==null||bs.length==0?0:bs[0].value)+(bt==null||bt.length==0?0:bt[0].value)+(bu==null||bu.length==0?0:bu[0].value)+(bv==null||bv.length==0?0:bv[0].value)+(bw==null||bw.length==0?0:bw[0].value)+(bx==null||bx.length==0?0:bx[0].value)+(by==null||by.length==0?0:by[0].value)+(bz==null||bz.length==0?0:bz[0].value)+(ca==null||ca.length==0?0:ca[0].value)+(cb==null||cb.length==0?0:cb[0].value)+(cc==null||cc.length==0?0:cc[0].value)+(cd==null||cd.length==0?0:cd[0].value)+(ce==null||ce.length==0?0:ce[0].value)+(cf==null||cf.length==0?0:cf[0].value)+(ch==null||ch.length==0?0:ch[0].value)+(cj==null||cj.length==0?0:cj[0].value)+(ck==null||ck.length==0?0:ck[0].value)+(cl==null||cl.length==0?0:cl[0].value)+(cm==null||cm.length==0?0:cm[0].value)+(cn==null||cn.length==0?0:cn[0].value)+(co==null||co.length==0?0:co[0].value)).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_A1_dP": { "queries": { "u": "SELECT mean(value) as value FROM :520aac54-574c-4f67-8cfd-64ef7da3c651: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :1fa080c1-c29d-4cbe-a98c-60f3c08a0547: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "151038b0-ff88-406d-bef7-51e344dc78a4", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA2_Nst": { "queries": { "u": "SELECT mean(value) as value FROM :c719b842-f713-4af5-8863-4c691ead2070: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa2: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "16c7b618-4324-4297-bbfc-1eb3927f0035", "js": "if(v[0].value===0){if(u[0].value>3000){return u[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "14_Dob_vodi_skv3": { "queries": { "u": "SELECT first(value) as value FROM :a8624e31-0d23-4b6b-a799-c4078de841ed: WHERE quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-8m]}" }, "cron": "0 12 8 * * ? *", "outputTag": "1fdbf45c-1093-4914-90b8-e21b735ab0d0", "js": "return u[0].value.toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Tvh6_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :46dc4c03-c4b4-4e8b-87bd-9becf37f80cd: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :46dc4c03-c4b4-4e8b-87bd-9becf37f80cd: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :46dc4c03-c4b4-4e8b-87bd-9becf37f80cd: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh6_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "14_Dob_vodi_skv1": { "queries": { "u": "SELECT first(value) as value FROM :3eff3298-9cfa-4fb9-b5a7-01a67662f467: WHERE quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-8m]}" }, "cron": "0 12 8 * * ? *", "outputTag": "d6643bce-e8a2-4d4e-94c8-d1d0d22d843a", "js": "return u[0].value.toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Pvh7_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :ae0c57f8-51c1-4cf5-a002-3b0f4c3aff6d: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :ae0c57f8-51c1-4cf5-a002-3b0f4c3aff6d: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :ae0c57f8-51c1-4cf5-a002-3b0f4c3aff6d: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh7_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "14_Dob_vodi_skv2": { "queries": { "u": "SELECT first(value) as value FROM :3b6043f3-6849-48dd-a6a1-bedebcbf73c7: WHERE quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-8m]}" }, "cron": "0 12 8 * * ? *", "outputTag": "ec001bab-5388-4120-adc4-35c8aaab8faa", "js": "return u[0].value.toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Qsum_Skv184": { "queries": { "raw": "select * from :cd9319cd-0478-4f20-9c10-d5355a575b03: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :34d0b472-8f4b-482c-96dd-1473ff190f78: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "0 12 * * * ? *", "outputTag": "34d0b472-8f4b-482c-96dd-1473ff190f78", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Tvh12_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :a2b50e12-eb0a-482c-a4b9-307556cb6205: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :a2b50e12-eb0a-482c-a4b9-307556cb6205: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :a2b50e12-eb0a-482c-a4b9-307556cb6205: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh12_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_A6_Tvih": { "queries": { "u": "SELECT mean(value) as value FROM :15087395-01e1-44c5-921d-ddc926aa2d44: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :2ddc067b-1198-4b50-8ac6-86536553d85f: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "0310b3be-9281-4ac9-bdb8-2b5824a7228f", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA1_Tvih": { "queries": { "a": "SELECT mean(value) as value FROM :d13e292b-6963-4481-8616-0d19ebb7e1cd: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :585193b9-86bb-430f-a929-1a8d1ef63806: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa1: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "2a67ebcb-4b7d-4ad2-b94e-ece526c2f990", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__val_q_month": { "queries": { "u": "SELECT last(value) as value FROM :gsn_i_poteri_q_month_accumul_hour_table: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "v": "SELECT last(value) as value FROM :tovg_q_month_accum_hour_1000: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}" }, "cron": "0 12 * * * ? *", "outputTag": "val_q_month", "js": "return(u[0].value+v[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__gsn_i_poteri_q_hour": { "queries": { "a": "SELECT first(value) as value FROM :topg_q_kompr_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "b": "SELECT first(value) as value FROM :ukpg_kot_g_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "c": "SELECT first(value) as value FROM :vp_prombaza_g_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "d": "SELECT first(value) as value FROM :vgk_kot_g_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "e": "SELECT first(value) as value FROM :esn_g_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "f": "SELECT first(value) as value FROM :esn_rez_g_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "g": "SELECT first(value) as value FROM :9ad4c368-8cfa-4b20-986e-9eb2797eaa03: where quality!=\'REPLACED\' and time < {H[+1h]}", "h": "SELECT first(value) as value FROM :ukpg_g_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "i": "SELECT first(value) as value FROM :topg_podogrev_g_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "j": "SELECT first(value) as value FROM :7ce3bd5a-d084-4f61-b55f-b01f0763c300: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "k": "SELECT first(value) as value FROM :2a443a9a-145a-4b90-961f-74d9fb309b64: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "l": "SELECT first(value) as value FROM :6ae5c658-4b7a-4a65-b93c-be09ea4bb254: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "m": "SELECT first(value) as value FROM :1d0dc052-041a-4738-9b7c-6ec1316c4893: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "n": "SELECT first(value) as value FROM :053cd846-df6c-46eb-8059-fa2d49135913: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "o": "SELECT first(value) as value FROM :30339518-3ead-4b17-b31e-169aa12fb081: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "p": "SELECT first(value) as value FROM :a8be1554-eaa1-406a-8980-783051da4b24: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "q": "SELECT first(value) as value FROM :04cff578-6644-4652-8957-7e58712d332b: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "r": "SELECT first(value) as value FROM :34dcc85f-ae23-4fea-9f2e-b757c8b783f9: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "s": "SELECT first(value) as value FROM :ec9f53fb-da81-4569-8528-d2ff0e61caeb: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "t": "SELECT first(value) as value FROM :4fe259e1-c2d6-4a3f-9068-599c5b9b3f2e: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "u": "SELECT first(value) as value FROM :296d7a9a-2924-485d-9b5a-7e91ddd4aa31: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "v": "SELECT first(value) as value FROM :9a0b23d4-63ab-4556-abb0-caffe8c46e51: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}" }, "cron": "0 12 * * * ? *", "outputTag": "gsn_i_poteri_q_hour", "js": "if(a==null||a.length==0){a=[{value:0}]}if(b==null||b.length==0){b=[{value:0}]}if(c==null||c.length==0){c=[{value:0}]}if(d==null||d.length==0){d=[{value:0}]}if(e==null||e.length==0){e=[{value:0}]}if(f==null||f.length==0){f=[{value:0}]}if(g==null||g.length==0){g=[{value:0}]}if(h==null||h.length==0){h=[{value:0}]}if(i==null||i.length==0){i=[{value:0}]}if(j==null||j.length==0){j=[{value:0}]}if(k==null||k.length==0){k=[{value:0}]}if(l==null||l.length==0){l=[{value:0}]}if(m==null||m.length==0){m=[{value:0}]}if(n==null||n.length==0){n=[{value:0}]}if(o==null||o.length==0){o=[{value:0}]}if(p==null||p.length==0){p=[{value:0}]}if(q==null||q.length==0){q=[{value:0}]}if(r==null||r.length==0){r=[{value:0}]}if(s==null||s.length==0){s=[{value:0}]}if(t==null||t.length==0){t=[{value:0}]}if(u==null||u.length==0){u=[{value:0}]}if(v==null||v.length==0){v=[{value:0}]}return(a[0].value+b[0].value+c[0].value+d[0].value+e[0].value+f[0].value+g[0].value+h[0].value+i[0].value+j[0].value+k[0].value+l[0].value+m[0].value+n[0].value+o[0].value+p[0].value+q[0].value+r[0].value+s[0].value+t[0].value+u[0].value+v[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_PPA_Tvih": { "queries": { "u": "SELECT mean(value) as value FROM :cf86a07c-f163-45de-a6e7-ff0203cab08b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "cb4cd2a0-7110-4eb0-b214-5fc5b687c6ac", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__senom_q_month": { "queries": { "u": "SELECT last(value) as value FROM :valg_q_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {H[+1h]}", "v": "SELECT last(value) as value FROM :turon_q_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {H[+1h]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "senom_q_month", "js": "return(u[0].value-v[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "20_Q_BS": { "queries": { "u": "SELECT first(value) as value FROM :b74c5259-e91b-4af9-88e7-2868dc3d797d: where quality!=\'REPLACED\' and time >= {H[+16m]} and time < {H[+1h]}" }, "cron": "30 18 * * * ? *", "outputTag": "36d1e243-b7e7-476d-a561-ee688f24938a", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__gsn_i_poteri_q_month_accumul_hour": { "queries": { "raw": "select * from :gsn_i_poteri_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :gsn_i_poteri_q_month_accumul_hour: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "0 11 * * * ? *", "outputTag": "gsn_i_poteri_q_month_accumul_hour", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return(cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0)).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__gsn_i_poteri_q_all_accum_sut": { "queries": { "raw": "select last(value) as value from :gsn_q_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[]}", "cum": "select last(value) as value from :gsn_i_poteri_q_all_accum_sut: where quality!=\'REPLACED\' and time = {H[-1d]} and time <{H[]}" }, "cron": "0 11 8 * * ? *", "outputTag": "gsn_i_poteri_q_all_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 226582473;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_PPA_Tvh10": { "queries": { "u": "SELECT mean(value) as value FROM :309b161e-c3ca-40bf-951d-6f035e13e7b3: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "eb161c5c-4835-4d03-879f-3571f5b4e852", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Tvh11": { "queries": { "u": "SELECT mean(value) as value FROM :23f58ea0-6be8-42ee-9043-b7cbaa887bf3: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "3976bbb8-027f-41a3-9c59-1a45ebda62b7", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Tvh12": { "queries": { "u": "SELECT mean(value) as value FROM :37d39a4e-da11-4dd0-bb79-ddceed6b4d3d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "a2b50e12-eb0a-482c-a4b9-307556cb6205", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "06_PPA_Pvh_hour": { "queries": { "u": "SELECT mean(value) as value FROM :954a07e5-02a5-4ffc-b27c-63d506e684c0: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "319a5ce5-3379-42c4-9195-3ba499b6b0ed", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvih11": { "queries": { "u": "SELECT mean(value) as value FROM :f4a7ab56-ffad-4d36-b1ad-eedd0e96a1cc: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "6a9d205a-f32c-436c-b35f-34e2041336ac", "js": "return(parseFloat(u[0].value)*10.19716).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "06_PPA_Tvh_hour": { "queries": { "u": "SELECT mean(value) as value FROM :c5ebd7a2-1f3e-4d8b-bc72-b62c882de547: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "569a5b73-d8a0-4819-8865-18a513cd1c49", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvih10": { "queries": { "u": "SELECT mean(value) as value FROM :962b912c-2fd3-40d2-b888-c7a9dfe89294: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT mean(value) as value FROM :5d7a2682-fcd8-47c1-b4b7-b1ecbb375a7b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "7745ed36-e995-4c0d-a8d9-9d2369adfe8a", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0.1){return(parseFloat(u[0].value)*10.19716).toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Tvh_Sh12_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :Tvh12_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :Tvh12_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :Tvh12_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh_Sh12_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_PPA_Pvih12": { "queries": { "u": "SELECT mean(value) as value FROM :0768b0ae-4784-4584-92b7-16937757aad9: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "19d73a90-38aa-4c4e-9a93-2abd86a68f89", "js": "return(parseFloat(u[0].value)*10.19716).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__gsn_i_poteri_q_year_accum_hour": { "queries": { "raw": "select sum(value) as value from :gsn_i_poteri_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cum": "select * from :gsn_i_poteri_q_year_accum_hour: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 11 8 * * ? *", "outputTag": "gsn_i_poteri_q_year_accum_hour", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==1&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==8&&dd.getDate()==30&&dd.getHours()==8)return 178466.571;else return(cum[0].value+raw[0].value).toFixed(3)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__tp_t_vh_hour": { "queries": { "u": "SELECT mean(value) as value FROM :06ff1970-ab9d-406b-8a9e-52796ec0c605: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "tp_t_vh_hour", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__rash_vms_sut": { "queries": { "u": "SELECT last(value) as value FROM :prih_vms_hour: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "rash_vms_sut", "js": "if(u==null||u.length==0){u=[{value:0}]}return u[0].value.toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__dq_met_hour": { "queries": { "u": "SELECT last(value) as value FROM :5be8207f-3668-4cf6-95bb-bfc4566d4ffd: where quality!=\'REPLACED\' and time < {H[+1s]}", "v": "SELECT first(value) as value FROM :ud_q_met_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}" }, "cron": "0 11 * * * ? *", "outputTag": "dq_met_hour", "js": "return(v[0].value-u[0].value/24).toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__dks_g_sut": { "queries": { "u": "SELECT sum(value) as value FROM :topg_q_kompr_hour: WHERE quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "dks_g_sut", "js": "return(u[0].value*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__poteri_q_sut": { "queries": { "g": "SELECT first(value) as value FROM :9ad4c368-8cfa-4b20-986e-9eb2797eaa03: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "j": "SELECT first(value) as value FROM :7ce3bd5a-d084-4f61-b55f-b01f0763c300: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "k": "SELECT first(value) as value FROM :2a443a9a-145a-4b90-961f-74d9fb309b64: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "l": "SELECT first(value) as value FROM :6ae5c658-4b7a-4a65-b93c-be09ea4bb254: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "m": "SELECT first(value) as value FROM :1d0dc052-041a-4738-9b7c-6ec1316c4893: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "n": "SELECT first(value) as value FROM :053cd846-df6c-46eb-8059-fa2d49135913: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "o": "SELECT first(value) as value FROM :30339518-3ead-4b17-b31e-169aa12fb081: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "p": "SELECT first(value) as value FROM :a8be1554-eaa1-406a-8980-783051da4b24: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "q": "SELECT first(value) as value FROM :04cff578-6644-4652-8957-7e58712d332b: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "r": "SELECT first(value) as value FROM :34dcc85f-ae23-4fea-9f2e-b757c8b783f9: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "s": "SELECT first(value) as value FROM :ec9f53fb-da81-4569-8528-d2ff0e61caeb: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "t": "SELECT first(value) as value FROM :4fe259e1-c2d6-4a3f-9068-599c5b9b3f2e: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "u": "SELECT first(value) as value FROM :296d7a9a-2924-485d-9b5a-7e91ddd4aa31: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "v": "SELECT first(value) as value FROM :9a0b23d4-63ab-4556-abb0-caffe8c46e51: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "poteri_q_sut", "js": "if(g==null||g.length==0){g=[{value:0}]}if(j==null||j.length==0){j=[{value:0}]}if(k==null||k.length==0){k=[{value:0}]}if(l==null||l.length==0){l=[{value:0}]}if(m==null||m.length==0){m=[{value:0}]}if(n==null||n.length==0){n=[{value:0}]}if(o==null||o.length==0){o=[{value:0}]}if(p==null||p.length==0){p=[{value:0}]}if(q==null||q.length==0){q=[{value:0}]}if(r==null||r.length==0){r=[{value:0}]}if(s==null||s.length==0){s=[{value:0}]}if(t==null||t.length==0){t=[{value:0}]}if(u==null||u.length==0){u=[{value:0}]}if(v==null||v.length==0){v=[{value:0}]}return((g[0].value+j[0].value+k[0].value+l[0].value+m[0].value+n[0].value+o[0].value+p[0].value+q[0].value+r[0].value+s[0].value+t[0].value+u[0].value+v[0].value)*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_PPA_Tvh5": { "queries": { "u": "SELECT mean(value) as value FROM :bc7e7620-5c8a-4b6d-bd9d-3a437e0d017d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "3ee5b81e-3594-4df9-82d5-cc7caf25b217", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Tvh4": { "queries": { "u": "SELECT mean(value) as value FROM :55a3e698-1734-4220-a5c1-b0b466fe8cb1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "eb61c166-4aaa-4d88-af54-edea1015cec5", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__val_q_year": { "queries": { "u": "SELECT last(value) as value FROM :gsn_i_poteri_q_year_accum_hour_1000: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "v": "SELECT last(value) as value FROM :tovg_q_year_accum_hour_1000: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}" }, "cron": "0 11 * * * ? *", "outputTag": "val_q_year", "js": "return(u[0].value+v[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__valg_q_month": { "queries": { "u": "SELECT last(value) as value FROM :gsn_i_poteri_q_month_accum_sut: where quality!=\'REPLACED\' and time >= {M<8h>[]} and time < {H[+1h]}", "v": "SELECT last(value) as value FROM :tovg_q_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {H[+1h]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "valg_q_month", "js": "return((u[0].value+v[0].value)/1000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Tvh3": { "queries": { "u": "SELECT mean(value) as value FROM :5012fa92-c0c7-4243-bd64-4bf943086099: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "44f65256-3bc0-4b40-92ec-2f624577ddd3", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skvr51_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :f34c348a-467e-4489-8214-80b8416aca07: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :60bccc2e-335d-4e2f-a01d-604ff512fd6e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skvr51_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__GTEB2_year_accum_sut": { "queries": { "raw": "SELECT sum(value) as value from :10ac5e1c-8927-4739-a319-3e0d03729d65: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cum": "select * from :GTEB2_year_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "GTEB2_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==1&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==9&&dd.getDate()==31&&dd.getHours()==8)return 6297120;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_PPA_Tvh2": { "queries": { "u": "SELECT mean(value) as value FROM :2de35414-6eec-4628-85de-7105aaaab1f9: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "2134b216-8199-443e-b1af-51580a2e38cf", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Tvh1": { "queries": { "u": "SELECT mean(value) as value FROM :3c86abe3-c3a9-403b-a977-0e75ac1c8105: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "6d44e175-b09c-4257-a4e2-1c2239a644dd", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Qsum_Skv1902": { "queries": { "raw": "select * from :66f0a316-4e3d-4be3-909f-4a865f211069: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :5775b78f-0958-4484-bae1-de90700d2d5f: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "0 12 * * * ? *", "outputTag": "5775b78f-0958-4484-bae1-de90700d2d5f", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__sost_gpa7": { "queries": { "u": "SELECT last(value) as value FROM :97b7ad7c-0673-469b-b00b-eefe5007adf6: where quality!=\'REPLACED\' and time >= {H[-1h+5m]} and time < {H[]}" }, "cron": "0 0 * ? * * *", "outputTag": "sost_gpa7", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__sost_gpa6": { "queries": { "u": "SELECT last(value) as value FROM :4821112d-8a66-4f1d-8699-889e8b346c93: where quality!=\'REPLACED\' and time >= {H[-1h+5m]} and time < {H[]}" }, "cron": "0 0 * ? * * *", "outputTag": "sost_gpa6", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__sost_gpa8": { "queries": { "u": "SELECT last(value) as value FROM :037a866c-e43f-46e0-82bc-b88ef518474e: where quality!=\'REPLACED\' and time >= {H[-1h+5m]} and time < {H[]}" }, "cron": "0 0 * ? * * *", "outputTag": "sost_gpa8", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__sn_uptpg_g_sut": { "queries": { "u": "SELECT sum(value) as value FROM :topg_podogrev_g_q_hour: WHERE quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "sn_uptpg_g_sut", "js": "return(u[0].value*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Tvh9": { "queries": { "u": "SELECT mean(value) as value FROM :beca2bd9-06e0-49de-bf38-236741d526c7: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "1844a39b-956f-4ead-9aee-2465258d443e", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_A3_TEG": { "queries": { "u": "SELECT mean(value) as value FROM :36187aed-38e1-47cd-9087-08a368fe9958: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :7cc6289e-a689-4826-9929-21067d5f3e29: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "1e033408-e28b-410b-98da-60b8f72e3752", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Tvh8": { "queries": { "u": "SELECT mean(value) as value FROM :be6ebb87-3aca-4c29-a35a-4ed9c2de9681: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "503160fd-97c0-4016-bf75-bc2ef0039c2f", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Tvh7": { "queries": { "u": "SELECT mean(value) as value FROM :94da6a5c-85b6-4c64-9290-9ef08c1e3ba0: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "4d7901f8-989c-44c2-a6ae-a307eef97438", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__tovg_q_line1_hour": { "queries": { "u": "SELECT first(value) as value FROM :18cec85a-8236-4da4-835e-a777a231c5db: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-5m]}" }, "cron": "0 10 * * * ? *", "outputTag": "tovg_q_line1_hour", "js": "return(u[0].value/1000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Tvh6": { "queries": { "u": "SELECT mean(value) as value FROM :573a68a2-c4d8-4e4a-b682-a5d267bd6645: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "46dc4c03-c4b4-4e8b-87bd-9becf37f80cd", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA7_Ngg": { "queries": { "a": "SELECT mean(value) as value FROM :0cb09832-1da0-4c59-81ee-f328bad45dfa: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :352c180e-0a5f-43f6-9d14-ed69c6844b48: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa7: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "5c4dcc24-deed-47c3-8ef6-1397fa5d218e", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__ping_20": { "queries": { "u": "SELECT last(packets_received) as value FROM :ping: where quality!=\'REPLACED\' and url=\'10.54.39.20\' and time >= {T[-2m]} and time <= {T[]}" }, "cron": "0 * 0 ? * * *", "outputTag": "ping_20", "js": "return u[0].value;", "outputTimeOffset": "T[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__ping_22": { "queries": { "u": "SELECT last(packets_received) as value FROM :ping: where quality!=\'REPLACED\' and url=\'10.54.39.22\' and time >= {T[-2m]} and time <= {T[]}" }, "cron": "0 * 0 ? * * *", "outputTag": "ping_22", "js": "return u[0].value;", "outputTimeOffset": "T[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__ping_21": { "queries": { "u": "SELECT last(packets_received) as value FROM :ping: where quality!=\'REPLACED\' and url=\'10.54.39.21\' and time >= {T[-2m]} and time <= {T[]}" }, "cron": "0 * 0 ? * * *", "outputTag": "ping_21", "js": "return u[0].value;", "outputTimeOffset": "T[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "10_Skv174_OS_Fg": { "queries": { "u": "SELECT sum(value) as value from (SELECT last(value) as value FROM :736575bc-88b0-4ed2-9121-2ede54a2d908: where quality!=\'REPLACED\' and time >= {D<12h>[-1d]} and time < {D<12h>[]} group by time(1h))" }, "cron": "0 0 12 * * ? *", "outputTag": "Skv174_OS_Fg", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "02_TG_Priv_Ttr": { "queries": { "u": "SELECT mean(value) as value from (SELECT last(value) as value FROM :ecb00f98-e2aa-42da-9fff-79ff01560902: where quality!=\'REPLACED\' and time >= {D<12h>[-1d]} and time < {D<12h>[]} group by time(1h))" }, "cron": "0 0 12 * * ? *", "outputTag": "TG_Priv_Ttr", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA1_Pvh": { "queries": { "a": "SELECT mean(value) as value FROM :4fd7cb8b-f0aa-4237-a6dc-cb3ca1f7bce3: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :585193b9-86bb-430f-a929-1a8d1ef63806: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa1: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "e1ecd5dc-2496-44ee-8163-41dc3ff20b1c", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__sverchnormotiv_turon_month": { "queries": { "a": "SELECT last(value) as value FROM :perc_poter_turon: where quality!=\'REPLACED\' and time <= {H[]}", "b": "SELECT last(value) as value FROM :92962909-8c45-452a-9bcf-33da5bae7686: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :turon_q_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}", "d": "SELECT last(value) as value FROM :normotiv_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}", "e": "SELECT last(value) as value FROM :techn_pot_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "sverchnormotiv_turon_month", "js": "if((b[0].value+c[0].value)/100*a[0].value>b[0].value){return 0}else{return(b[0].value-d[0].value+e[0].value).toFixed(3)}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA3_Rc": { "queries": { "a": "SELECT mean(value) as value FROM :8f55ff35-c19f-4892-94a4-b3d74a06e4c0: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :037f69e3-75ff-4042-89b9-db9ebbcd429b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa3: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "1631dfc0-5c98-4584-8ed7-69865cf527cf", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv1902_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :b2e70efe-116b-48cc-a53a-fad07fe16fec: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :e1759e5a-4724-4f6e-ab23-08162cb98a33: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1902_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Pvh4_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :80a7324c-350d-4db2-9e3a-04977577a399: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :80a7324c-350d-4db2-9e3a-04977577a399: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :80a7324c-350d-4db2-9e3a-04977577a399: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh4_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA3_Pvih": { "queries": { "a": "SELECT mean(value) as value FROM :987f06d6-934d-4df5-8847-2b0c62a4e632: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :037f69e3-75ff-4042-89b9-db9ebbcd429b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa3: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "70f7504c-7474-42ac-a902-6cc339dc3072", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Tvh3_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :44f65256-3bc0-4b40-92ec-2f624577ddd3: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :44f65256-3bc0-4b40-92ec-2f624577ddd3: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :44f65256-3bc0-4b40-92ec-2f624577ddd3: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh3_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA8_dP": { "queries": { "a": "SELECT mean(value) as value FROM :e8b6ab7e-f086-4d29-9c56-3089b42735a0: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :a7ad73c0-4421-453f-9bf9-8bf5a4b5ff09: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa8: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "3a388660-2a52-4778-b951-74ab0986bfa6", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__esn_g_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :d286abf9-793a-40b0-afba-9a978b1c2328: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-1m]}" }, "cron": "0 10 * * * ? *", "outputTag": "esn_g_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Ptr_1102": { "queries": { "u": "SELECT mean(value) as value FROM :8892d67c-cbb4-49bc-b65d-d7a9b55f5b37: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e05b98ca-9418-4b3b-b2cd-0b1b9b523c06: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "d0670267-d274-4bb9-964c-b937c90422ec", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__potery_pri_prod_year_accum_month": { "queries": { "raw": "select last(value) as value from :520be118-4b0f-436a-81c7-c6bfe7993a61: where quality!=\'REPLACED\' and time <= {M<12h>[]}", "cum": "select * from :potery_pri_prod_year_accum_month: where quality!=\'REPLACED\' and time = {H[-1M]} and time >= {Y<12h>[-1M]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "potery_pri_prod_year_accum_month", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==1&&dd.getHours()==12)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==12)return(1743.988+raw[0].value).toFixed(3);else return(cum[0].value+raw[0].value).toFixed(3)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__doly_senom_month": { "queries": { "u": "SELECT last(value) as value FROM :senom_q_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {H[+1h]}", "v": "SELECT last(value) as value FROM :valg_q_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {H[+1h]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "doly_senom_month", "js": "return (u[0].value*100/v[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Ptr_1101": { "queries": { "u": "SELECT mean(value) as value FROM :e30f3eba-0a2b-40b5-b7b1-9ede7441e8d9: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :1dfff048-6978-454e-81ed-a1206d24a89d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "fe25e371-43fb-4cd7-96d8-768dbf8d13ef", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA8_Pvh": { "queries": { "a": "SELECT mean(value) as value FROM :b67bacc3-33a4-41f6-955c-fb0a9ace4d6a: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :a7ad73c0-4421-453f-9bf9-8bf5a4b5ff09: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa8: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "a2bc4799-8f78-4d64-819d-f6d70550826c", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Pvh_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :319a5ce5-3379-42c4-9195-3ba499b6b0ed: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :319a5ce5-3379-42c4-9195-3ba499b6b0ed: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :319a5ce5-3379-42c4-9195-3ba499b6b0ed: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__gsn_i_poteri_q_hour_table": { "queries": { "a": "SELECT first(value) as value FROM :topg_q_kompr_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "b": "SELECT first(value) as value FROM :ukpg_kot_g_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "c": "SELECT first(value) as value FROM :vp_prombaza_g_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "d": "SELECT first(value) as value FROM :vgk_kot_g_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "e": "SELECT first(value) as value FROM :esn_g_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "f": "SELECT first(value) as value FROM :esn_rez_g_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "g": "SELECT first(value) as value FROM :9ad4c368-8cfa-4b20-986e-9eb2797eaa03: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "h": "SELECT first(value) as value FROM :ukpg_g_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "i": "SELECT first(value) as value FROM :topg_podogrev_g_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "j": "SELECT first(value) as value FROM :7ce3bd5a-d084-4f61-b55f-b01f0763c300: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "k": "SELECT first(value) as value FROM :2a443a9a-145a-4b90-961f-74d9fb309b64: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "l": "SELECT first(value) as value FROM :6ae5c658-4b7a-4a65-b93c-be09ea4bb254: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "m": "SELECT first(value) as value FROM :1d0dc052-041a-4738-9b7c-6ec1316c4893: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "n": "SELECT first(value) as value FROM :053cd846-df6c-46eb-8059-fa2d49135913: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "o": "SELECT first(value) as value FROM :30339518-3ead-4b17-b31e-169aa12fb081: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "p": "SELECT first(value) as value FROM :a8be1554-eaa1-406a-8980-783051da4b24: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "q": "SELECT first(value) as value FROM :04cff578-6644-4652-8957-7e58712d332b: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "r": "SELECT first(value) as value FROM :34dcc85f-ae23-4fea-9f2e-b757c8b783f9: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "s": "SELECT first(value) as value FROM :ec9f53fb-da81-4569-8528-d2ff0e61caeb: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "t": "SELECT first(value) as value FROM :4fe259e1-c2d6-4a3f-9068-599c5b9b3f2e: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "u": "SELECT first(value) as value FROM :296d7a9a-2924-485d-9b5a-7e91ddd4aa31: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "v": "SELECT first(value) as value FROM :9a0b23d4-63ab-4556-abb0-caffe8c46e51: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}" }, "cron": "0 12 * * * ? *", "outputTag": "gsn_i_poteri_q_hour_table", "js": "if(a==null||a.length==0){a=[{value:0}]}if(b==null||b.length==0){b=[{value:0}]}if(c==null||c.length==0){c=[{value:0}]}if(d==null||d.length==0){d=[{value:0}]}if(e==null||e.length==0){e=[{value:0}]}if(f==null||f.length==0){f=[{value:0}]}if(g==null||g.length==0){g=[{value:0}]}if(h==null||h.length==0){h=[{value:0}]}if(i==null||i.length==0){i=[{value:0}]}if(j==null||j.length==0){j=[{value:0}]}if(k==null||k.length==0){k=[{value:0}]}if(l==null||l.length==0){l=[{value:0}]}if(m==null||m.length==0){m=[{value:0}]}if(n==null||n.length==0){n=[{value:0}]}if(o==null||o.length==0){o=[{value:0}]}if(p==null||p.length==0){p=[{value:0}]}if(q==null||q.length==0){q=[{value:0}]}if(r==null||r.length==0){r=[{value:0}]}if(s==null||s.length==0){s=[{value:0}]}if(t==null||t.length==0){t=[{value:0}]}if(u==null||u.length==0){u=[{value:0}]}if(v==null||v.length==0){v=[{value:0}]}return a[0].value+b[0].value+c[0].value+d[0].value+e[0].value+f[0].value+g[0].value+h[0].value+i[0].value+j[0].value+k[0].value+l[0].value+m[0].value+n[0].value+o[0].value+p[0].value+q[0].value+r[0].value+s[0].value+t[0].value+u[0].value+v[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1301_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :00f4bb5a-f798-4dd2-93a9-973b97167011: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :bdf3675e-f57b-4999-8955-cc34f9849906: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1301_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_MPT_Pvih": { "queries": { "u": "SELECT mean(value) as value FROM :4a414ba0-822b-4d8e-b472-054a5244222d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "dcf15ace-fba5-4e40-8629-9ec15507faa9", "js": "return parseFloat(u[0].value)*10.19716;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Pvh_Sh9_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :Pvh9_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :Pvh9_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :Pvh9_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh_Sh9_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1104": { "queries": { "u": "SELECT mean(value) as value FROM :fd6d6d4e-6adb-46c0-adf9-352eb1ba7be4: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :b839a052-5f60-4a83-88bd-d89b93ffe834: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "c7273717-58e5-45f9-aaa2-ce6e7288a7e3", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pvh_Sh12_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :Pvh12_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :Pvh12_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :Pvh12_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh_Sh12_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1103": { "queries": { "u": "SELECT mean(value) as value FROM :f24a78ef-0498-42e1-b4c4-43dead040e28: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e161f580-a968-494d-b10b-22036b8dc57a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "ae9fc41f-e3f4-4874-a4ec-36beaadf3a2a", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA1_Nst": { "queries": { "u": "SELECT mean(value) as value FROM :585193b9-86bb-430f-a929-1a8d1ef63806: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa1: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "dfdc1c42-814e-4a34-b817-0c58cb96c23f", "js": "if(v[0].value===0){if(u[0].value>3000){return u[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Kot_VGK_year_accum_sut": { "queries": { "raw": "SELECT last(value) as value from :vgk_g_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "cum": "select * from :Kot_VGK_year_accum_sut: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "Kot_VGK_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 88;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_PPA_Pvih1": { "queries": { "u": "SELECT mean(value) as value FROM :3a8e267d-7c89-482a-aad2-ca5aa37ea506: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "84089ec1-5eb2-413d-a78f-4608aaf0dc64", "js": "return(parseFloat(u[0].value)*10.19716).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvih2": { "queries": { "u": "SELECT mean(value) as value FROM :7e545c7b-f51a-454f-a9a7-ac587c2e770a: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "5d976369-960a-4783-8f0c-e808ab2f6389", "js": "return(parseFloat(u[0].value)*10.19716).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA8_Tvh": { "queries": { "a": "SELECT mean(value) as value FROM :92a49062-1aa9-4b97-8770-b8636ff56805: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :a7ad73c0-4421-453f-9bf9-8bf5a4b5ff09: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa8: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "f2ecb85d-d371-49e2-b963-f1ff6e55635c", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvih3": { "queries": { "u": "SELECT mean(value) as value FROM :530f213f-1da6-4377-8c6e-56cb3692e1ad: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "3e1dde3a-08b1-42bb-9c4a-de037180463e", "js": "return(parseFloat(u[0].value)*10.19716).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvih4": { "queries": { "u": "SELECT mean(value) as value FROM :aea8cfc0-4087-4f14-9212-68965010fd49: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "9b6ad75d-e0b1-4e05-9c3f-cf679565bc49", "js": "return(parseFloat(u[0].value)*10.19716).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvih5": { "queries": { "u": "SELECT mean(value) as value FROM :a00558fa-c582-402e-a34c-537e1dbe79ff: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "8a0a25a3-3b2f-43b5-aa71-7a28dc8c98d8", "js": "return(parseFloat(u[0].value)*10.19716).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvih6": { "queries": { "u": "SELECT mean(value) as value FROM :d2e6b8e7-ed84-4179-8775-845674800236: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "0e3bd284-f729-4d65-97d6-766c57c00c40", "js": "return(parseFloat(u[0].value)*10.19716).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvih7": { "queries": { "u": "SELECT mean(value) as value FROM :cfeb2d94-f6f0-41cc-8210-b2850783b57f: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "402341b9-2e1f-46cd-9e1b-3d80bfc5ad53", "js": "return(parseFloat(u[0].value)*10.19716).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvih8": { "queries": { "u": "SELECT mean(value) as value FROM :a3952974-00b3-4dd6-b7d9-65f3553eb61e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT mean(value) as value FROM :f30a99e3-62b3-44af-8899-618a23ef2e32: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "64e0b353-c563-467f-8fa1-98f1b6ce2e27", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return(parseFloat(u[0].value)*10.19716).toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__v_for_podg": { "queries": { "u": "SELECT max(value) as value FROM :fd867dfb-c527-4344-b21e-89a12285a528: WHERE quality!=\'REPLACED\' and time >= {H[-8m]} and time < {H[+1h-8m]}" }, "cron": "0 12 8 * * ? *", "outputTag": "f8750b57-c7bd-4f04-9d0f-eb0899e97fa9", "js": "return u[0].value.toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvih9": { "queries": { "u": "SELECT mean(value) as value FROM :945f8e2e-903b-4869-a411-6d3ecb3b5f11: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "43524c64-502c-43c5-acc5-4a0cdbe403b7", "js": "return(parseFloat(u[0].value)*10.19716).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__temp_nar_voz_10d": { "queries": { "a": "SELECT mean(value) as value FROM :temp_nar_voz_hour: where quality!=\'REPLACED\' and time >= {M<12h+1s>[]} and time < {M<12h+1s>[+10d]}", "b": "SELECT mean(value) as value FROM :temp_nar_voz_hour: where quality!=\'REPLACED\' and time >= {M<12h+1s>[+10d]} and time < {M<12h+1s>[+20d]}", "c": "SELECT mean(value) as value FROM :temp_nar_voz_hour: where quality!=\'REPLACED\' and time >= {M<13h+1s>[+20d]} and time < {M<13h+1s>[+1M]}" }, "cron": "0 0 12 1,11,21 * ? *", "outputTag": "temp_nar_voz_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Tvh12_sum_day": { "queries": { "a": "SELECT mean(value) as value FROM :47438639-a070-407f-b783-ed5d436c929c: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "b": "SELECT mean(value) as value FROM :0ec0e1e6-d291-44f4-88ef-5e16ac033c51: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "c": "SELECT mean(value) as value FROM :b9f9b0c3-cb05-4b9a-afc2-24b177f93afc: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "d": "SELECT mean(value) as value FROM :98acffdf-1ada-429c-b1c8-206376e0df22: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "e": "SELECT mean(value) as value FROM :e0f4e001-20eb-4082-9503-3b22858dd9d1: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "f": "SELECT mean(value) as value FROM :a357b802-0627-408a-b45a-d4d47b28ae4d: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "g": "SELECT mean(value) as value FROM :20d5a78f-e285-4fa1-8841-c5b059a435d8: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "h": "SELECT mean(value) as value FROM :719c2198-b57e-41ea-8535-3d032d3ffab6: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "i": "SELECT mean(value) as value FROM :f50f51ca-2ee6-48b1-a334-f2f5f3c92df5: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "k": "SELECT mean(value) as value FROM :dd58df8b-5b92-4afb-b04b-af52b2437a3f: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "l": "SELECT mean(value) as value FROM :923902be-de2c-46f6-af36-96d8e519a368: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 2 12 * * ? *", "outputTag": "Tvh12_sum_day", "js": "var data=[a,b,c,d,e,f,g,h,i,k,l];var tc=0;var n=0;var tsr=0;data.forEach(function(s){if(s==null)return;else{tc=tc+s[0].value;n=n+1}});return tsr=tc/n;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "20_Pztr_1902": { "queries": { "u": "SELECT mean(value) as value FROM :4991c5e5-23ff-4418-ab0c-8be50437c192: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e1759e5a-4724-4f6e-ab23-08162cb98a33: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "2c2c841e-a130-43da-8316-0f7ac2f1eec8", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA6_Tvh": { "queries": { "a": "SELECT mean(value) as value FROM :f7bf293c-567f-43f9-b527-812061dcbc20: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :bca4aaf0-06aa-4f79-b3af-0baa583c06b2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa6: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "8cb6fa93-3362-4ed8-8110-e4e5a513c896", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__esn_rez_g_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :ea56bdb3-9334-48c9-8c5c-1afe2afa31a7: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-8m]}" }, "cron": "0 10 * * * ? *", "outputTag": "esn_rez_g_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Pvh3_sum_day": { "queries": { "a": "SELECT mean(value) as value FROM :840eea87-82b4-42ba-892c-520fd1520ab4: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "b": "SELECT mean(value) as value FROM :15412641-1336-4311-accb-204716f884f3: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "c": "SELECT mean(value) as value FROM :89d5a322-0dd8-42d4-b9d2-89a2f8ceeabb: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "d": "SELECT mean(value) as value FROM :e36a254a-9515-4be3-ad13-696d0cc17e55: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "e": "SELECT mean(value) as value FROM :311bad92-c9bd-4b35-8881-ad132781cfff: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "f": "SELECT mean(value) as value FROM :259cdce0-5ec0-4b79-8998-414599c91ff7: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "g": "SELECT mean(value) as value FROM :7b625ea5-1599-4ba6-8a92-c89461e2a2ff: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "h": "SELECT mean(value) as value FROM :0dc5c135-c7ec-4d7d-b7a4-ed8719405ef0: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 2 12 * * ? *", "outputTag": "Pvh3_sum_day", "js": "var data=[a,b,c,d,e,f,g,h];var tc=0;var n=0;var tsr=0;data.forEach(function(s){if(s==null)return;else{tc=tc+s[0].value;n=n+1}});return tsr=tc*10.19716/n;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1301": { "queries": { "u": "SELECT mean(value) as value FROM :c1111cd5-63f1-44e5-83ac-41cbd844684c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :bdf3675e-f57b-4999-8955-cc34f9849906: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "8cc78553-5102-45a9-958b-d8b59a88e05c", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1302": { "queries": { "u": "SELECT mean(value) as value FROM :662fa38f-9d02-4095-8dda-60bd21517f9d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :c807253a-7d2d-46f9-86c4-f47a269b7922: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "91ab8313-47d0-4853-b613-d5480714d7e2", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1303": { "queries": { "u": "SELECT mean(value) as value FROM :ff02a474-0876-4950-a7c5-f0168ed11120: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :854c1e56-27b8-44b5-b1f2-3e6383b2c29f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "065b5512-6f69-4cee-a7d5-91cadb90a878", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1304": { "queries": { "u": "SELECT mean(value) as value FROM :d143e0d5-9665-4048-90a8-4ac7d76311be: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :89a92b68-f6dd-4611-88d2-99d5c7972b13: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "d902d097-6fa1-4b41-8ad6-d495ee34687a", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Pvh12_sum_day": { "queries": { "a": "SELECT mean(value) as value FROM :fedfb5b1-67cb-48b9-a4e5-6dec8295333f: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 2 12 * * ? *", "outputTag": "Pvh12_sum_day", "js": "return(parseFloat(a[0].value)*10.19716).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__prihod_gidk_year_accum_hour": { "queries": { "raw": "select * from :prihod_gidk_hour: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}", "cum": "select * from :prihod_gidk_year_accum_hour: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h+24h>[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "prihod_gidk_year_accum_hour", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return(cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0)).toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_A8_Pvih": { "queries": { "u": "SELECT mean(value) as value FROM :f769652e-56be-4172-bd11-473e72dc6974: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :ab5c91b3-b527-4a0e-8344-e3af1a492676: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "694c5d9e-ef32-4a91-9ba3-c5bf2824c238", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "20_Ptr_BS": { "queries": { "u": "SELECT mean(value) as value FROM :cd1c4536-7c0e-4529-8ccb-8bb9000b525e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 23 * * * ? *", "outputTag": "612b1fff-63ad-4e53-8478-77efe587c933", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_A2_Tvih": { "queries": { "u": "SELECT mean(value) as value FROM :948bd209-6dee-445f-ab27-be9b3bf96e69: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :4e4830cb-1ff8-44e8-bb9a-56bdffe6515b: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "f6159d18-6f30-49a9-88f8-bf98dd52389c", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__for_GSN_q_sut": { "queries": { "g": "SELECT first(value) as value FROM :9ad4c368-8cfa-4b20-986e-9eb2797eaa03: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "j": "SELECT first(value) as value FROM :7ce3bd5a-d084-4f61-b55f-b01f0763c300: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "k": "SELECT first(value) as value FROM :2a443a9a-145a-4b90-961f-74d9fb309b64: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "for_GSN_q_sut", "js": "if(g==null||g.length==0){g=[{value:0}]}if(j==null||j.length==0){j=[{value:0}]}if(k==null||k.length==0){k=[{value:0}]}return((g[0].value+j[0].value+k[0].value)*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "_virab_el_en_sut": { "queries": { "a": "SELECT last(value) as value FROM :7be6eafe-0ca8-4f1a-9c86-635468308d81: where quality!=\'REPLACED\' and time <= {H[+0h]}", "b": "SELECT last(value) as value FROM :10ac5e1c-8927-4739-a319-3e0d03729d65: where quality!=\'REPLACED\' and time <= {H[+0h]}", "c": "SELECT last(value) as value FROM :e60a88d2-1241-42ba-b515-982647557387: where quality!=\'REPLACED\' and time <= {H[+0h]}", "d": "SELECT last(value) as value FROM :232216ab-17bd-4c99-9aa5-c831a1216589: where quality!=\'REPLACED\' and time <= {H[+0h]}", "e": "SELECT last(value) as value FROM :034bf46a-f6ac-44d7-93ab-7e8cdd98c3d0: where quality!=\'REPLACED\' and time <= {H[+0h]}", "f": "SELECT last(value) as value FROM :0e471157-554b-43cb-b6a3-17645889f563: where quality!=\'REPLACED\' and time <= {H[+0h]}", "g": "SELECT last(value) as value FROM :b0bb3497-8238-4e4a-96ed-e9c8ae82f160: where quality!=\'REPLACED\' and time <= {H[+0h]}", "h": "SELECT last(value) as value FROM :b035761d-cd77-4731-8504-bb47b99d162d: where quality!=\'REPLACED\' and time <= {H[+0h]}" }, "cron": "0 2 8 * * ? *", "outputTag": "virab_el_en_sut", "js": "return(a==null||a.length==0?0:a[0].value)+(b==null||b.length==0?0:b[0].value)+(c==null||c.length==0?0:c[0].value)+(d==null||d.length==0?0:d[0].value)+(e==null||e.length==0?0:e[0].value)+(f==null||f.length==0?0:f[0].value)+(g==null||g.length==0?0:g[0].value)+(h==null||h.length==0?0:h[0].value);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__tovg_q_year_accum_hour_1000": { "queries": { "raw": "select * from :tovg_q_hour_1000: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :tovg_q_year_accum_hour_1000: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {Y<13h>[]}" }, "cron": "0 12 * * * ? *", "outputTag": "tovg_q_year_accum_hour_1000", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return(cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0)).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 1, "acceptNulls": true }, "17_GPA8_Tvih": { "queries": { "a": "SELECT mean(value) as value FROM :4c3f36df-18ea-4a1c-9639-d2206c1ba3e2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :a7ad73c0-4421-453f-9bf9-8bf5a4b5ff09: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa8: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "2f8dd44f-0ff0-44df-ab27-02aa021dec08", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Pvh1_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :b31b0ee5-fbf4-4351-9a84-bef4ebcfbe32: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :b31b0ee5-fbf4-4351-9a84-bef4ebcfbe32: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :b31b0ee5-fbf4-4351-9a84-bef4ebcfbe32: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh1_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA5_Rc": { "queries": { "a": "SELECT mean(value) as value FROM :810da327-1204-474e-86ee-146cef377714: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :e606c24a-5134-406a-b251-a8ded5121027: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa5: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "3f322775-a749-4289-898f-2688c7838b8d", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__ping_51": { "queries": { "u": "SELECT last(packets_received) as value FROM :ping: where quality!=\'REPLACED\' and url=\'10.54.165.51\' and time >= {T[-2m]} and time <= {T[]}" }, "cron": "0 * 0 ? * * *", "outputTag": "ping_51", "js": "return u[0].value;", "outputTimeOffset": "T[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__ping_50": { "queries": { "u": "SELECT last(packets_received) as value FROM :ping: where quality!=\'REPLACED\' and url=\'10.54.165.50\' and time >= {T[-2m]} and time <= {T[]}" }, "cron": "0 * 0 ? * * *", "outputTag": "ping_50", "js": "return u[0].value;", "outputTimeOffset": "T[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_A2_dP": { "queries": { "u": "SELECT mean(value) as value FROM :b21a45ad-af8c-4b35-a658-82df6c4f4086: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :4e4830cb-1ff8-44e8-bb9a-56bdffe6515b: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "797fd039-39e1-4e80-809b-a92ee723a016", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Ptr_1404": { "queries": { "u": "SELECT mean(value) as value FROM :737ca167-e572-4985-8399-1b6bdfef7222: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :3051b12e-bc8f-4d02-bbc0-48bcee099811: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "b4acf024-179f-4b14-a0e0-6477ed044207", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Psr_GPA14_pered_AVO": { "queries": { "P1": "SELECT last(value) as value FROM :b61a1e26-2f7b-478d-b108-c33bc169140d: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "P2": "SELECT last(value) as value FROM :1ac34fad-26bd-4342-ad4c-8c5c7c649b7b: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "P3": "SELECT last(value) as value FROM :a0998cab-1038-41e7-b223-23d2c43ac86d: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Psr_GPA14_pered_AVO", "js": "var data=[P1,P2,P3];var pc=0;var n=0;var psr=0;data.forEach(function(s){if(s==null)return;else{pc=pc+s[0].value;n=n+1}});return psr=pc/n;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "02_TG_Qsut": { "queries": { "u": "SELECT sum(value) as value from (SELECT last(value) as value FROM :21b7a1a0-2f38-4028-a779-0ad52f1f4ac3: where quality!=\'REPLACED\' and time >= {D<13h+10m>[-1d]} and time <= {D<13h+10m>[]} group by time(1h))" }, "cron": "0 0 12 * * ? *", "outputTag": "TG_Qsut", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Tvh9_sum_day": { "queries": { "a": "SELECT mean(value) as value FROM :f64301bc-10a0-4711-9624-2af4bf3e3862: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "b": "SELECT mean(value) as value FROM :63e888e3-1eed-49b1-9ce4-1f1c1cd9f907: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 2 12 * * ? *", "outputTag": "Tvh9_sum_day", "js": "var data=[a,b];var tc=0;var n=0;var tsr=0;data.forEach(function(s){if(s==null)return;else{tc=tc+s[0].value;n=n+1}});return tsr=tc/n;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__tg_PAO_Gazprom": { "queries": { "u": "SELECT last(value) as value FROM :tovg_q_month: where quality!=\'REPLACED\' and time <= {M<12h>[]}", "v": "SELECT last(value) as value FROM :62f32ff5-c80c-45a0-973f-cb76246a49a5: where quality!=\'REPLACED\' and time < {M<12h>[]}" }, "cron": "0 10 12 1 * ? *", "outputTag": "tg_PAO_Gazprom", "js": "return(u[0].value*v[0].value/100000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Ptr_1403": { "queries": { "u": "SELECT mean(value) as value FROM :64c5fa9b-36c6-49ae-9bc7-c2c6c792d6f9: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :24395e12-d3d1-4385-b5d8-6ec1a00dc311: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "2d6fab3f-5013-4d00-8316-9c6efc2a7dae", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "08_dP": { "queries": { "u": "SELECT mean(value) as value FROM :39a52fdd-770b-4d54-b87f-3d7ad3b3bb82: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "577c84b0-81bc-435b-bdb3-a4ec6575136f", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Ptr_1402": { "queries": { "u": "SELECT mean(value) as value FROM :6d8cb982-387c-4726-af37-b5fdeb5c88a1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :f46c14c8-c7d6-40db-8ff3-ddcc22fa4324: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "4621b79a-e20c-458d-bc06-d3921b3ec14a", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1401": { "queries": { "u": "SELECT mean(value) as value FROM :1054bcd9-8103-41e9-8a33-f2c08cb5be5c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :2115351c-4b88-4841-b75e-d1807e8b425f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "2f3da8d6-764f-4b3f-8f2a-a14e6a951bf9", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__tovg_q_month_accum_hour": { "queries": { "raw": "select last(value) as value from :tovg_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select last(value) as value from :tovg_q_month_accum_hour: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <{H[]}" }, "cron": "0 12 * * * ? *", "outputTag": "tovg_q_month_accum_hour", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getDate()==1&&dd.getHours()==13)return raw[0].value;else return(cum[0].value+raw[0].value).toFixed(3)}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__esn_rez_g_sut": { "queries": { "u": "SELECT sum(value) as value FROM :esn_rez_g_q_hour: WHERE quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "esn_rez_g_sut", "js": "return(u[0].value*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__stn_turon_month": { "queries": { "u": "SELECT last(value) as value FROM :stn_all_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "v": "SELECT last(value) as value FROM :doly_turon_all_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "stn_turon_month", "js": "return(u[0].value*v[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__stn_all_turon_month": { "queries": { "u": "SELECT last(value) as value FROM :stn_all_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "v": "SELECT last(value) as value FROM :doly_turon_all_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "stn_all_turon_month", "js": "return(u[0].value*v[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Tvh9_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :1844a39b-956f-4ead-9aee-2465258d443e: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :1844a39b-956f-4ead-9aee-2465258d443e: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :1844a39b-956f-4ead-9aee-2465258d443e: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh9_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1104": { "queries": { "u": "SELECT mean(value) as value FROM :79ed19d4-903c-4635-bc57-7426cbcdba8e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :b839a052-5f60-4a83-88bd-d89b93ffe834: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "2dfccffe-4609-4ad0-908b-f80ff5ed0b48", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_PPA_Pvih_day": { "queries": { "u": "SELECT mean(value) as value FROM :890cdf73-37da-4680-ba84-c059ea357105: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "fee9e795-5c5e-4c52-a762-21f09e1edbe9", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__sverchnormotiv_senom_month": { "queries": { "a": "SELECT last(value) as value FROM :perc_poter_senom: where quality!=\'REPLACED\' and time <= {H[]}", "b": "SELECT last(value) as value FROM :520be118-4b0f-436a-81c7-c6bfe7993a61: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :senom_q_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}", "d": "SELECT last(value) as value FROM :normotiv_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}", "e": "SELECT last(value) as value FROM :techn_pot_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "sverchnormotiv_senom_month", "js": "if(d[0].value>b[0].value+e[0].value){return 0}else{return(b[0].value-d[0].value+e[0].value).toFixed(3)}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA4_Rc": { "queries": { "a": "SELECT mean(value) as value FROM :c768da40-425a-4452-9093-4c1845307e43: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :e25d1d44-1972-44ed-a1c1-1acf575a4cbd: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa4: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "ee1cda78-6a11-470b-b29c-c853659ca5f8", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_dP_S4": { "queries": { "u": "SELECT mean(value) as value FROM :21a8aeb7-e7cf-40ff-8613-7e2b585ea2e4: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :4ff86215-7430-4274-a130-e9a47ff6662e: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "3dd378e0-c93a-4da4-800a-ba777a26a931", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_dP_S3": { "queries": { "u": "SELECT mean(value) as value FROM :3aac9d7e-e8e8-4ace-aacd-e8853f9bf2c1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :3fa93dc3-7258-47ba-8b80-7097d54bc0f2: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "44af4662-3ebd-40b9-81ea-2e649a1393a8", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_dP_S2": { "queries": { "u": "SELECT mean(value) as value FROM :e0852795-7fcb-49e8-9194-decb859b9994: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :e61ad747-0a17-4959-b13a-b1b1db093570: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "f3ba9a92-c09b-4552-97e2-718f25dbb737", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_dP_S1": { "queries": { "u": "SELECT mean(value) as value FROM :90280afc-fb9d-4eb0-a0ec-87bf08c31ba1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :056bc822-7a64-407a-a89a-938f998b5619: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "55617d89-8b48-4469-9fa9-9499120f9f45", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_dP_S8": { "queries": { "u": "SELECT mean(value) as value FROM :02ece802-381b-4d97-b8f3-8ffcd2f0950a: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :c74b8acc-d559-4035-878f-96e1e85203a8: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "e9926660-c969-4c6e-998f-1650299e3085", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_dP_S7": { "queries": { "u": "SELECT mean(value) as value FROM :916fec03-922f-4f4b-97d4-a2e61d3ec487: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :17489b7e-8b79-4a52-8113-51c9385aac38: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "568b117a-db3d-43f1-9b04-4d632b41fb75", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__normotiv_senom_month": { "queries": { "a": "SELECT last(value) as value FROM :perc_poter_senom: where quality!=\'REPLACED\' and time <= {H[]}", "b": "SELECT last(value) as value FROM :520be118-4b0f-436a-81c7-c6bfe7993a61: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :senom_q_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}", "d": "SELECT last(value) as value FROM :techn_pot_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "normotiv_senom_month", "js": "if((b[0].value+c[0].value)/100*a[0].value>b[0].value+d[0].value){return(b[0].value+d[0].value).toFixed(3)}else{return((b[0].value+c[0].value)/100*a[0].value).toFixed(3)}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_dP_S6": { "queries": { "u": "SELECT mean(value) as value FROM :4bf62228-150d-4532-a747-a5c435b53a22: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :cd4194f5-e9f4-4a4a-a2fa-5b87aed8e131: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "f95bc8a4-1f8c-4c28-a037-45ec602fbe62", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "T_R51": { "queries": { "u": "SELECT mean(value) as value FROM :cbf1d367-c64e-48a2-a538-162f168ac4f7: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :60bccc2e-335d-4e2f-a01d-604ff512fd6e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "fc359868-5c03-4a55-b2b7-d996323dfe78", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA6_Ngg": { "queries": { "a": "SELECT mean(value) as value FROM :eeeceb31-2056-499f-b57d-1b34d05665ad: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :bca4aaf0-06aa-4f79-b3af-0baa583c06b2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa6: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "289c8fed-38ce-418c-8af9-e65aa3246e4f", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_dP_S5": { "queries": { "u": "SELECT mean(value) as value FROM :598a7a52-7364-4345-9731-3f1d51d2579e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :a60881cd-c9f4-473e-aa68-fc9c5119d544: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "0267fd5f-5d8a-4695-9363-f3c716cdab34", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__topg_q_kompr_hour": { "queries": { "u": "SELECT first(value) as value FROM :4e5122cb-e62f-4e9d-abec-e392c6d472c7: where quality!=\'REPLACED\' and time >= {H[10m]} and time < {H[+1h-1m]}" }, "cron": "0 12 * * * ? *", "outputTag": "topg_q_kompr_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__tovg_q_plan_day": { "queries": { "u": "SELECT first(value) as value FROM :valg_q_plan_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {M<12h>[+1M]}", "v": "SELECT first(value) as value FROM :SN_and_poteri_plan_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {M<12h>[+1M]}", "w": "SELECT last(value) as value FROM :760e06e9-ee25-4113-8a94-0fffa37d3f86: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {M<12h>[+1M]}" }, "cron": "0 10 12 * * ? *", "outputTag": "tovg_q_plan_day", "js": "var d=new Date(u[0].time);d=new Date(d.getFullYear(),d.getMonth()+1,0).getDate();return(u[0].value/1000-v[0].value)/(d-w[0].value) ;", "outputTimeOffset": "D<12h>[+1d]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__AE150b_year_accum_sut": { "queries": { "raw": "select last(value) as value from :6179be2d-6df6-433b-8850-f05c7ea20a25: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select last(value) as value from :AE150b_year_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "AE150b_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 26597;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Kot_UKPG_year_accum_sut": { "queries": { "raw": "SELECT last(value) as value from :ukpg_kot_g_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "cum": "select * from :Kot_UKPG_year_accum_sut: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "Kot_UKPG_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 573;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_A4_TEG": { "queries": { "u": "SELECT mean(value) as value FROM :cf2f3e77-c428-414a-8e15-0e54dff47094: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :2004db13-b1d0-4a52-bca9-ede0b0515004: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "82be9bdd-9c1d-4bea-976c-9fdbc90f25d6", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_A3_Tvih": { "queries": { "u": "SELECT mean(value) as value FROM :dfcefcff-cb33-4759-bfa9-1a0176e6d4c7: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :7cc6289e-a689-4826-9929-21067d5f3e29: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "e35d4260-39ef-4c13-b51b-d7ac4d25c6ec", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv1403_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :1b1defea-aa53-475a-85be-22a4179b2c7d: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :24395e12-d3d1-4385-b5d8-6ec1a00dc311: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 30 * * * ? *", "outputTag": "skv1403_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GTEB4_year_accum_sut": { "queries": { "raw": "SELECT sum(value) as value from :232216ab-17bd-4c99-9aa5-c831a1216589: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cum": "select * from :GTEB4_year_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "GTEB4_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==1&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==9&&dd.getDate()==31&&dd.getHours()==8)return 3516470;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1401": { "queries": { "u": "SELECT mean(value) as value FROM :8f906dbf-fdd8-4eef-b1de-38674c944aa3: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :2115351c-4b88-4841-b75e-d1807e8b425f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "5a47c4b0-f81f-4f99-afd3-489e3f4deca3", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1402": { "queries": { "u": "SELECT mean(value) as value FROM :93a375f6-192c-4c26-97ba-e2f6b30656e0: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :f46c14c8-c7d6-40db-8ff3-ddcc22fa4324: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "23731f6a-753c-471e-a658-281917b631fc", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1403": { "queries": { "u": "SELECT mean(value) as value FROM :55e50921-dbcb-412e-bd1f-fcf6d3646df0: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :24395e12-d3d1-4385-b5d8-6ec1a00dc311: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "650211af-9029-42cb-b342-5f891a7d56e4", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Tvh3_sum_day": { "queries": { "a": "SELECT mean(value) as value FROM :1fcdb646-3fc0-40e6-a690-7985b4757d3c: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "b": "SELECT mean(value) as value FROM :26291d2a-b599-4cde-bd5f-59453354cf8e: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "c": "SELECT mean(value) as value FROM :cb9f01c8-f13c-4954-9f2c-90a7d66ba5fa: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "d": "SELECT mean(value) as value FROM :3ae81d7b-82a8-4e07-ac1c-7e83a4717f17: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "e": "SELECT mean(value) as value FROM :4921b610-4f51-4591-98cf-3fe7c740593a: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "f": "SELECT mean(value) as value FROM :8f906dbf-fdd8-4eef-b1de-38674c944aa3: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "i": "SELECT mean(value) as value FROM :55e50921-dbcb-412e-bd1f-fcf6d3646df0: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "j": "SELECT mean(value) as value FROM :93a375f6-192c-4c26-97ba-e2f6b30656e0: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "k": "SELECT mean(value) as value FROM :ef7b56b6-6296-43fd-b8ff-c3ee74e7afe6: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "h": "SELECT mean(value) as value FROM :c2da9b4e-3c49-4c46-81e8-342fd01f6253: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "l": "SELECT mean(value) as value FROM :cafdff5f-cbe3-4aa5-993d-7faad28849ca: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "m": "SELECT mean(value) as value FROM :3cfb4f0c-0f47-48e2-99c9-0b72961fa651: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "n": "SELECT mean(value) as value FROM :be30aa19-a9d2-411f-b850-52ac712b1c76: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "o": "SELECT mean(value) as value FROM :d4814b38-8105-4597-a854-0a15b1a343e3: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "p": "SELECT mean(value) as value FROM :7f2818ad-135c-4342-a028-39870fe11893: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 2 12 * * ? *", "outputTag": "Tvh3_sum_day", "js": "var data=[a,b,c,d,e,f,j,i,k,h,l,m,n,o,p];var tc=0;var n=0;var tsr=0;data.forEach(function(s){if(s==null)return;else{tc=tc+s[0].value;n=n+1}});return tsr=tc/n;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1404": { "queries": { "u": "SELECT mean(value) as value FROM :ef7b56b6-6296-43fd-b8ff-c3ee74e7afe6: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :3051b12e-bc8f-4d02-bbc0-48bcee099811: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "6d25dc81-48ec-4bf3-b7a5-0b7f60869d75", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "20_P645_184": { "queries": { "u": "SELECT mean(value) as value FROM :4e48c990-bf1e-40af-91bd-e61ed633aecb: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :879a6eb4-3c9f-4c80-90bf-195beb4e37b5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "5fb68953-0c49-4aeb-9011-2110a21ab237", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__tovg_q_hour_1000": { "queries": { "u": "SELECT first(value) as value FROM :tovg_q_hour: where quality!=\'REPLACED\' and time = {H[]}" }, "cron": "0 12 * * * ? *", "outputTag": "tovg_q_hour_1000", "js": "return(u[0].value/1000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__esn_year_accum_sut": { "queries": { "raw": "SELECT last(value) as value from :esn_g_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "cum": "select * from :esn_year_accum_sut: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "esn_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 15788236;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__esn_rez_year_accum_sut": { "queries": { "raw": "SELECT last(value) as value from :esn_rez_g_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "cum": "select * from :esn_rez_year_accum_sut: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "esn_rez_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 15788236;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Tsr_GPA14_pered_AVO": { "queries": { "T1": "SELECT last(value) as value FROM :709f1d71-1f8e-41ee-98ac-ad4fba3b536e: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "T2": "SELECT last(value) as value FROM :40303039-381c-4e5b-a5e5-142b989fe1c8: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "T3": "SELECT last(value) as value FROM :cf5b11c0-d130-4758-8a1b-2c22fabf28d2: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Tsr_GPA14_pered_AVO", "js": "var data=[T1,T2,T3];var tc=0;var n=0;var tsr=0;data.forEach(function(s){if(s==null)return;else{tc=tc+s[0].value;n=n+1}});return tsr=tc/n;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "20_Ptr_184": { "queries": { "u": "SELECT mean(value) as value FROM :d10ff0df-c7c4-493d-b4ce-94bcb11a5345: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :879a6eb4-3c9f-4c80-90bf-195beb4e37b5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "6014a1ee-58e0-45ed-9bee-e763cace3d86", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__doly_turon_month": { "queries": { "u": "SELECT last(value) as value FROM :turon_q_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {H[+1h]}", "v": "SELECT last(value) as value FROM :valg_q_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {H[+1h]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "doly_turon_month", "js": "return(u[0].value*100/v[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__doly_senom_all_month": { "queries": { "u": "SELECT last(value) as value FROM :senom_q_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {H[+1h]}", "v": "SELECT last(value) as value FROM :valg_q_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {H[+1h]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "doly_senom_all_month", "js": "return u[0].value*100/v[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__doly_turon_all_month": { "queries": { "u": "SELECT last(value) as value FROM :turon_q_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {H[+1h]}", "v": "SELECT last(value) as value FROM :valg_q_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {H[+1h]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "doly_turon_all_month", "js": "return u[0].value*100/v[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__gsn_i_poteri_q_day_hour_table": { "queries": { "raw": "select * from :gsn_i_poteri_q_hour_table: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :gsn_i_poteri_q_day_hour_table: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {D<9h>[]}" }, "cron": "0 12 * * * ? *", "outputTag": "gsn_i_poteri_q_day_hour_table", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__tovg_q_all_accum_hour_table": { "queries": { "raw": "select last(value) as value from :tovg_q_hour: where quality!=\'REPLACED\' and time >= {H[-1h+1s]} and time < {H[+1s]}", "cum": "select * from :tovg_q_all_accum_hour_table: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <{H[]}" }, "cron": "0 12 * * * ? *", "outputTag": "tovg_q_all_accum_hour_table", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);{if(dd.getFullYear()==2020&&dd.getMonth()==3&&dd.getDate()==16&&dd.getHours()==11)return 296814209.32;else return(cum[0].value+raw[0].value/1000).toFixed(3)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__LOS5_year_accum_sut": { "queries": { "raw": "select last(value) as value from :fb2b00b8-1a26-45de-b93a-29f0c72cdbcb: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select last(value) as value from :LOS5_year_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "LOS5_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 385;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1401_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :4d35b9f7-9f16-4a94-9c6d-7ad952c4297f: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :2115351c-4b88-4841-b75e-d1807e8b425f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 30 * * * ? *", "outputTag": "skv1401_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__q_met_hour": { "queries": { "u": "SELECT first(value) as value FROM :8226fbf2-2922-49ee-9568-9c0630a172b7: where quality!=\'REPLACED\' and time >= {H[0m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}" }, "cron": "0 10 * * * ? *", "outputTag": "q_met_hour", "js": "return(u[0].value*v[0].value/1000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_A1_Pvih": { "queries": { "u": "SELECT mean(value) as value FROM :82ffdc06-2f69-4b5e-b2b7-9aa2026a08a1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :1fa080c1-c29d-4cbe-a98c-60f3c08a0547: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "e11ce113-877a-46fb-9237-3ca6efa62cb3", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Pztr_S1103": { "queries": { "u": "SELECT mean(value) as value FROM :620f6b35-28d2-4d64-be00-227f82df6b92: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e161f580-a968-494d-b10b-22036b8dc57a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "70dd110e-e27d-4cbd-8fb5-f2fc48ebeccc", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1304": { "queries": { "u": "SELECT mean(value) as value FROM :50d909cb-7923-4f5d-b7b2-3652209f2162: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :89a92b68-f6dd-4611-88d2-99d5c7972b13: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "4cd12be5-c9ca-4413-ada7-dc80eb0071f7", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1102": { "queries": { "u": "SELECT mean(value) as value FROM :6b8724e9-9b3a-42aa-a1fa-bec236f7558a: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e05b98ca-9418-4b3b-b2cd-0b1b9b523c06: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "7616c0a8-c73a-486f-99f3-ce9855feacc9", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1303": { "queries": { "u": "SELECT mean(value) as value FROM :1f4a7bc8-6753-438d-89bc-5db0dccfe463: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :854c1e56-27b8-44b5-b1f2-3e6383b2c29f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "b9c6fc0b-ec3b-45a1-9549-7a10b5a687b4", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1101": { "queries": { "u": "SELECT mean(value) as value FROM :7018d35f-adbb-4a45-a496-04b8e1a6efb5: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :1dfff048-6978-454e-81ed-a1206d24a89d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "100fd66f-8942-425b-960a-06ae07fbb057", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1302": { "queries": { "u": "SELECT mean(value) as value FROM :297b681e-2d1b-4788-9b42-5a02c02eabe8: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :c807253a-7d2d-46f9-86c4-f47a269b7922: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "2cfceb52-074b-4bdc-ae30-f2cb2ff60ca9", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1301": { "queries": { "u": "SELECT mean(value) as value FROM :6654601f-9da6-4563-a5e8-a2f85b4d8345: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :bdf3675e-f57b-4999-8955-cc34f9849906: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "41ea7d25-09ae-4030-83e0-70acd5bb9fe8", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__tovg_q_month_accum_hour_1000": { "queries": { "u": "SELECT first(value) as value FROM :tovg_q_month_accum_hour: where quality!=\'REPLACED\' and time = {H[]}" }, "cron": "0 10 * * * ? *", "outputTag": "tovg_q_month_accum_hour_1000", "js": "return(u[0].value/1000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__tovg_q_line4_hour": { "queries": { "u": "SELECT first(value) as value FROM :d8453422-6a61-40a9-a720-2af635e10f76: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-5m]}" }, "cron": "0 10 * * * ? *", "outputTag": "tovg_q_line4_hour", "js": "return(u[0].value/1000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__prih_vms_hour": { "queries": { "a": "SELECT first(value) as value FROM :prih_vms_obsh: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}", "b": "SELECT last(value) as value FROM :af3e1e37-bc02-4fcd-b595-c9feaff84572: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "prih_vms_hour", "js": "if(b==null||b.length==0){b=[{value:0}]}return(a[0].value-b[0].value).toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA7_Pvh": { "queries": { "a": "SELECT mean(value) as value FROM :fe4554e1-d522-4afe-9ea5-dd14d5164764: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :352c180e-0a5f-43f6-9d14-ed69c6844b48: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa7: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "e7c88cbe-7a56-4ed2-bc96-8315ab1b9596", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Tvh_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :569a5b73-d8a0-4819-8865-18a513cd1c49: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :569a5b73-d8a0-4819-8865-18a513cd1c49: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :569a5b73-d8a0-4819-8865-18a513cd1c49: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__mea_ostatok": { "queries": { "u1": "select first(value) as value from :9b95ee43-21ff-49eb-940b-84ff697e80d6: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}", "u2": "select sum(value) as value from :062460b3-f119-48f4-b4cc-5daa8c37226d: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "u3": "select sum(value) as value from :87337865-eaae-44e5-bfc5-53c873e58ecf: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}" }, "cron": "0 10 12 * * ? *", "outputTag": "9b95ee43-21ff-49eb-940b-84ff697e80d6", "js": "return((u1==null||u1.length==0?0:u1[0].value)+(u2==null||u2.length==0?0:u2[0].value)-(u3==null||u3.length==0?0:u3[0].value)).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_A4_dP": { "queries": { "u": "SELECT mean(value) as value FROM :59e7d786-fb7d-4245-8bbd-e15c279e0e5d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :2004db13-b1d0-4a52-bca9-ede0b0515004: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "4516a264-bf08-4dc7-b30b-0babc43b8848", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Ptr_R35": { "queries": { "u": "SELECT mean(value) as value FROM :69deefa4-c1d1-41c2-a009-988e0a9fe46f: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e8c74c2c-2d4c-458c-873f-2c9bad2b45f9: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "4cd86071-337a-4e22-9305-84bcd711455e", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1404_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :a6ccb230-6509-49ac-b1bc-581cb3af1ef2: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :3051b12e-bc8f-4d02-bbc0-48bcee099811: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 30 * * * ? *", "outputTag": "skv1404_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "T_S1101": { "queries": { "u": "SELECT mean(value) as value FROM :1bd334d0-440f-40e3-8369-fb5afdfc6a06: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :1dfff048-6978-454e-81ed-a1206d24a89d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "8607d22a-3c39-4a01-8d8f-e24070e093ca", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__gsn_q_sut": { "queries": { "g": "SELECT last(value) as value FROM :gsn_poter_q_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "j": "SELECT last(value) as value FROM :poteri_q_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "k": "SELECT last(value) as value FROM :topl_gas_kompr_ukptg2: where quality!=\'REPLACED\' and time <= {H[]}", "l": "SELECT last(value) as value FROM :potr_esn_ukptg2: where quality!=\'REPLACED\' and time <= {H[]}", "m": "SELECT last(value) as value FROM :potr_esn_rez_ukptg2: where quality!=\'REPLACED\' and time <= {H[]}", "n": "SELECT last(value) as value FROM :podogr_prod_topl_gas_ukptg2: where quality!=\'REPLACED\' and time <= {H[]}", "o": "SELECT last(value) as value FROM :potr_des_ukptg2: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "gsn_q_sut", "js": "if(g==null||g.length==0){g=[{value:0}]}if(j==null||j.length==0){j=[{value:0}]}if(k==null||k.length==0){k=[{value:0}]}if(l==null||l.length==0){l=[{value:0}]}if(m==null||m.length==0){m=[{value:0}]}if(n==null||n.length==0){n=[{value:0}]}if(o==null||o.length==0){o=[{value:0}]}return(g[0].value+j[0].value+(k[0].value+l[0].value+m[0].value+n[0].value+o[0].value)*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1102": { "queries": { "u": "SELECT mean(value) as value FROM :9939a68d-b8d7-4f44-85bf-a64e63afa9cc: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e05b98ca-9418-4b3b-b2cd-0b1b9b523c06: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "7cfdd727-667c-4bc1-bc3b-9933a3d92388", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1103": { "queries": { "u": "SELECT mean(value) as value FROM :9bf57402-4e48-460f-9af7-8c2fcc230c22: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e161f580-a968-494d-b10b-22036b8dc57a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "69a6bf77-35e8-4f24-8348-5575f8c72609", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1104": { "queries": { "u": "SELECT mean(value) as value FROM :83ad91b0-04f5-4573-b926-191bfa3a53fb: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :b839a052-5f60-4a83-88bd-d89b93ffe834: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "314ed2d8-ee9c-43f9-8710-8c04f73addba", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_A8_TEG": { "queries": { "u": "SELECT mean(value) as value FROM :60834a22-0507-4246-a706-9ef510420bb7: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :ab5c91b3-b527-4a0e-8344-e3af1a492676: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "ad357d1f-55c0-44ef-9a2d-6b1baedc0e32", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "13_CRTEG": { "queries": { "u": "SELECT first(value) as value FROM :a1115bbe-d682-4102-8aad-0814d676b4d0: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-8m]}" }, "cron": "0 12 8 * * ? *", "outputTag": "f64dda93-06a4-4e04-84fa-0627d76210f1", "js": "return u[0].value.toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_R51": { "queries": { "u": "SELECT first(value) as value FROM :60bccc2e-335d-4e2f-a01d-604ff512fd6e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "bad99e45-a1c8-49f0-bc8b-9243d2cfe52a", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__turon_q_month": { "queries": { "u": "SELECT last(value) as value FROM :turon_q_month_accum_hour: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {H[+1h]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "turon_q_month", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Pvh_Sh8_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :Pvh8_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :Pvh8_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :Pvh8_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh_Sh8_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Psr_GPA14_vh": { "queries": { "P1": "SELECT last(value) as value FROM :3214b3a0-47d8-40ba-8e46-c39916b5b91d: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "P2": "SELECT last(value) as value FROM :043e06a2-8ffb-4717-a617-a2ee95de22c3: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "P3": "SELECT last(value) as value FROM :be4b5699-2a26-4186-aa47-8d196226d260: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Psr_GPA14_vh", "js": "var data=[P1,P2,P3];var pc=0;var n=0;var psr=0;data.forEach(function(s){if(s==null)return;else{pc=pc+s[0].value;n=n+1}});return psr=pc/n;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA1_Rc": { "queries": { "a": "SELECT mean(value) as value FROM :fbf7715f-1287-4ce3-9ddd-a1032310d8ea: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :585193b9-86bb-430f-a929-1a8d1ef63806: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa1: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "2520b9ea-2f89-4d2a-ae50-f5f682cd4d83", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA5_Tvh": { "queries": { "a": "SELECT mean(value) as value FROM :69505604-dd32-4aa3-be19-499944151c73: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :e606c24a-5134-406a-b251-a8ded5121027: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa5: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "a52cae22-8ce8-4f16-91e2-72f4fb9be9be", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Ptr_R51": { "queries": { "u": "SELECT mean(value) as value FROM :a4c107c2-bc4e-4c66-9923-9db68f23d05b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :60bccc2e-335d-4e2f-a01d-604ff512fd6e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "b8efd5d4-e356-40f1-82e4-9d0d8fdf7e50", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA6_dP": { "queries": { "a": "SELECT mean(value) as value FROM :a51d8757-cfaa-4a13-b403-2caf9cba9a7d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :bca4aaf0-06aa-4f79-b3af-0baa583c06b2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa6: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "ce2ca25d-4300-4a5b-9b40-a3b51fce3a4a", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA2_Tvih": { "queries": { "a": "SELECT mean(value) as value FROM :1addcd29-ca4d-4b2a-8a4a-2882a29d326e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :c719b842-f713-4af5-8863-4c691ead2070: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa2: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "d2876c9c-2e90-4fff-8c3a-5722be718188", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__sng_q_plan_day": { "queries": { "u": "SELECT first(value) as value FROM :SN_and_poteri_plan_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {M<12h>[+1M]}" }, "cron": "0 10 12 * * ? *", "outputTag": "sng_q_plan_day", "js": "var d=new Date(u[0].time);d=new Date(d.getFullYear(),d.getMonth()+1,0).getDate();return u[0].value/d;", "outputTimeOffset": "D<12h>[+1d]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Tvh_Sh9_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :Tvh9_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :Tvh9_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :Tvh9_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh_Sh9_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "20_T_BS": { "queries": { "u": "SELECT mean(value) as value FROM :3ae81d7b-82a8-4e07-ac1c-7e83a4717f17: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :b74c5259-e91b-4af9-88e7-2868dc3d797d: where quality!=\'REPLACED\' and time >= {H[+21m]} and time < {H[+1h]}" }, "cron": "0 23 * * * ? *", "outputTag": "00949bc5-7f54-4b79-864e-f8a06081b36b", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_VK58_Pvih": { "queries": { "u": "SELECT mean(value) as value FROM :c3e0f513-f39c-4dea-b09a-a04216a061ba: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "caad2ab3-e866-4ee1-8b1f-e56244ebba79", "js": "return(u[0].value*10.197).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Tvh_Sh3_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :Tvh3_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :Tvh3_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :Tvh3_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh_Sh3_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Pvh11_sum_day": { "queries": { "a": "SELECT mean(value) as value FROM :4658a797-d72e-44b6-988b-d978ddde7f45: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 2 12 * * ? *", "outputTag": "Pvh11_sum_day", "js": "return(parseFloat(a[0].value)*10.19716).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__gis_rashod_srednechasovoi": { "queries": { "r": "select mean(value) as value from :91d6289a-ad46-47ca-a413-b3f90e20cbc5: where quality!=\'REPLACED\' and time>={H[]} and time < {H[+1h]}" }, "cron": "0 5/5 * * * ? *", "outputTag": "gis_rashod_srednechasovoi", "js": "return r[0].value;", "outputTimeOffset": "T[]", "reverseTimeOffset": "T[]", "recalculateDepth": 3, "acceptNulls": true }, "__gsn_i_poteri_q_month_accum_sut": { "queries": { "raw": "select last(value) as value from :gsn_q_sut: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select last(value) as value from :gsn_i_poteri_q_month_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "gsn_i_poteri_q_month_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getDate()==2&&dd.getHours()==8)return raw[0].value.toFixed(0);else return(cum[0].value+raw[0].value).toFixed(0)}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_Pvih_S1": { "queries": { "u": "SELECT mean(value) as value FROM :ea54c9bf-81b8-44ab-b3d3-0f8cb831a2a2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :056bc822-7a64-407a-a89a-938f998b5619: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "2142644d-4544-4f9d-a080-644dfb6aa7e8", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__tovg_q_month": { "queries": { "u": "SELECT sum(value) as value FROM :tovg_q_hour: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {H[+1s]}" }, "cron": "0 12 12 * * ? *", "outputTag": "tovg_q_month", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA5_dP": { "queries": { "a": "SELECT mean(value) as value FROM :5c885833-dc74-4cd2-acb5-e3cbbbdf9b67: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :e606c24a-5134-406a-b251-a8ded5121027: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa5: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "c6917611-0877-4f78-91cf-17990f2a0c63", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__tovg_t_vih_hour": { "queries": { "u": "SELECT first(value) as value FROM :6453860d-332d-4693-a7e1-ea2cd20be744: where quality!=\'REPLACED\' and time >= {H[5m]} and time < {H[+1h-1m]}" }, "cron": "0 10 * * * ? *", "outputTag": "tovg_t_vih_hour", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv1304_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :2f0f3cc1-08c2-48fe-95bc-c0cb13fe81ef: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :89a92b68-f6dd-4611-88d2-99d5c7972b13: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1304_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Tvh11_sum_day": { "queries": { "a": "SELECT mean(value) as value FROM :4999d8a7-e1a8-41ce-b860-73b828f280c8: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "b": "SELECT mean(value) as value FROM :fd24a377-f5c1-41aa-9203-644f4a343173: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "c": "SELECT mean(value) as value FROM :041fb809-079f-44aa-bcc6-2f7be045cec5: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "d": "SELECT mean(value) as value FROM :35779e54-4096-4705-8f90-bb38ea08f778: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "e": "SELECT mean(value) as value FROM :118836e1-1db5-4048-b6eb-f7df72c8a1a8: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "f": "SELECT mean(value) as value FROM :44658c50-538c-4113-89de-89a6bac0b1f1: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "g": "SELECT mean(value) as value FROM :Tvh_24t: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 2 12 * * ? *", "outputTag": "Tvh11_sum_day", "js": "var data=[a,b,c,d,e,f,g];var tc=0;var n=0;var tsr=0;data.forEach(function(s){if(s==null)return;else{tc=tc+s[0].value;n=n+1}});if(isNaN(tc/n)) return null;else return tsr=tc/n;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_Pvih_NK58": { "queries": { "u": "SELECT mean(value) as value FROM :0d61af13-8abf-4b8d-8bb2-6e8ab8837888: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "5186cd4e-220a-42a7-805b-e6fe91cdb15a", "js": "return(u[0].value*10.197).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "13_KOG2": { "queries": { "u": "SELECT first(value) as value FROM :950f7ae8-2dd4-49d8-8b98-b90ac68cd0eb: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-8m]}" }, "cron": "0 12 8 * * ? *", "outputTag": "6840d3a6-ce93-411f-b235-32aee96e9b9d", "js": "return u[0].value.toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__tovg_q_line2_hour": { "queries": { "u": "SELECT first(value) as value FROM :ce41e191-7210-4fb6-907a-f25f2e92d94f: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-5m]}" }, "cron": "0 10 * * * ? *", "outputTag": "tovg_q_line2_hour", "js": "return(u[0].value/1000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "13_KOG1": { "queries": { "u": "SELECT first(value) as value FROM :d56b5ad8-8597-4821-8440-107900326729: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-8m]}" }, "cron": "0 12 8 * * ? *", "outputTag": "72113bcb-2409-4957-89f3-b0fd98f588e0", "js": "return u[0].value.toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "20_Pztr_184": { "queries": { "u": "SELECT mean(value) as value FROM :263c264e-8295-4fbc-8857-c178a8087505: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :879a6eb4-3c9f-4c80-90bf-195beb4e37b5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "d0410d54-e3df-4d6d-a2ed-438cd629bc07", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return (u[0].value*10.197).toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__GTEB5_year_accum_sut": { "queries": { "raw": "SELECT sum(value) as value from :034bf46a-f6ac-44d7-93ab-7e8cdd98c3d0: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cum": "select * from :GTEB5_year_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "GTEB5_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==1&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==9&&dd.getDate()==31&&dd.getHours()==8)return 0;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_A3_dP": { "queries": { "u": "SELECT mean(value) as value FROM :9d60d893-8dfc-497e-8474-e3c39790f44f: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :7cc6289e-a689-4826-9929-21067d5f3e29: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "8a6f2d9d-8fc8-4ff9-89b9-8ffca2ef7b19", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__techn_poteri_q_sut": { "queries": { "p": "SELECT first(value) as value FROM :a8be1554-eaa1-406a-8980-783051da4b24: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "q": "SELECT first(value) as value FROM :04cff578-6644-4652-8957-7e58712d332b: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "r": "SELECT first(value) as value FROM :34dcc85f-ae23-4fea-9f2e-b757c8b783f9: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "s": "SELECT first(value) as value FROM :ec9f53fb-da81-4569-8528-d2ff0e61caeb: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "t": "SELECT first(value) as value FROM :4fe259e1-c2d6-4a3f-9068-599c5b9b3f2e: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "u": "SELECT first(value) as value FROM :296d7a9a-2924-485d-9b5a-7e91ddd4aa31: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "v": "SELECT first(value) as value FROM :9a0b23d4-63ab-4556-abb0-caffe8c46e51: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "g": "SELECT first(value) as value FROM :9ad4c368-8cfa-4b20-986e-9eb2797eaa03: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "l": "SELECT first(value) as value FROM :6ae5c658-4b7a-4a65-b93c-be09ea4bb254: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "m": "SELECT first(value) as value FROM :1d0dc052-041a-4738-9b7c-6ec1316c4893: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "n": "SELECT first(value) as value FROM :053cd846-df6c-46eb-8059-fa2d49135913: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "o": "SELECT first(value) as value FROM :30339518-3ead-4b17-b31e-169aa12fb081: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "techn_poteri_q_sut", "js": "if(g==null||g.length==0){g=[{value:0}]}if(l==null||l.length==0){l=[{value:0}]}if(m==null||m.length==0){m=[{value:0}]}if(n==null||n.length==0){n=[{value:0}]}if(o==null||o.length==0){o=[{value:0}]}if(p==null||p.length==0){p=[{value:0}]}if(q==null||q.length==0){q=[{value:0}]}if(r==null||r.length==0){r=[{value:0}]}if(s==null||s.length==0){s=[{value:0}]}if(t==null||t.length==0){t=[{value:0}]}if(u==null||u.length==0){u=[{value:0}]}if(v==null||v.length==0){v=[{value:0}]}return(g[0].value+l[0].value+m[0].value+n[0].value+o[0].value+p[0].value+q[0].value+r[0].value+s[0].value+t[0].value+u[0].value+v[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_A1_Tvih": { "queries": { "u": "SELECT mean(value) as value FROM :c417daa8-6def-4883-9157-ecd5ad231966: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :1fa080c1-c29d-4cbe-a98c-60f3c08a0547: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "265542b7-7605-4d73-9182-fc764ae52f95", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA6_Pvih": { "queries": { "a": "SELECT mean(value) as value FROM :3de0285f-0156-4f3d-9cb2-2f3ca1025cac: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :bca4aaf0-06aa-4f79-b3af-0baa583c06b2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa6: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "fb20f0e0-c675-4920-9385-64606e888c1b", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__normotiv_turon_month": { "queries": { "a": "SELECT last(value) as value FROM :perc_poter_turon: where quality!=\'REPLACED\' and time <= {H[]}", "b": "SELECT last(value) as value FROM :92962909-8c45-452a-9bcf-33da5bae7686: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :turon_q_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}", "d": "SELECT last(value) as value FROM :techn_pot_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "normotiv_turon_month", "js": "if((b[0].value+c[0].value)/100*a[0].value>b[0].value+d[0].value){return(b[0].value+d[0].value).toFixed(3)}else{return((b[0].value+c[0].value)/100*a[0].value).toFixed(3)}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skvr35_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :c524c623-3e2c-45a7-a0fd-27d430b1bf5e: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :e8c74c2c-2d4c-458c-873f-2c9bad2b45f9: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skvr35_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_Pvih_S2": { "queries": { "u": "SELECT mean(value) as value FROM :0ea5f638-8c71-49f1-8a9a-302b08082794: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :e61ad747-0a17-4959-b13a-b1b1db093570: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "ae2a0c97-a73f-4450-838c-da0d2c9ffc79", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_Pvih_S3": { "queries": { "u": "SELECT mean(value) as value FROM :93852ddf-2cb7-49b8-bfad-5645e1320936: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :3fa93dc3-7258-47ba-8b80-7097d54bc0f2: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "6427b77b-fac1-477d-9226-cc40a76f037b", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_Pvih_S4": { "queries": { "u": "SELECT mean(value) as value FROM :11096840-5722-4fb6-a752-fc874d00f58d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :4ff86215-7430-4274-a130-e9a47ff6662e: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "809204c1-0d5e-4d5b-a5f4-fa2526fa6d71", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Tvh8_sum_day": { "queries": { "a": "SELECT mean(value) as value FROM :820a87bf-b192-414a-b905-269de596504f: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "b": "SELECT mean(value) as value FROM :3052dc0c-62cd-4abe-98f0-57d5179729d2: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "c": "SELECT mean(value) as value FROM :30383589-63f6-4ab9-927b-ed0d9f60f711: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "d": "SELECT mean(value) as value FROM :9d8d710c-3c5f-4f3a-a8b7-e4668227f625: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "e": "SELECT mean(value) as value FROM :4a26998a-888d-44d8-abb7-f2e6ace3010f: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "h": "SELECT mean(value) as value FROM :Tvh_3t: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "i": "SELECT mean(value) as value FROM :Tvh_1t: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 2 12 * * ? *", "outputTag": "Tvh8_sum_day", "js": "var data=[a,b,c,d,e,h,i];var tc=0;var n=0;var tsr=0;data.forEach(function(s){if(s==null)return;else{tc=tc+s[0].value;n=n+1}});return tsr=tc/n;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_Pvih_S5": { "queries": { "u": "SELECT mean(value) as value FROM :d31d1845-fc7d-42ec-a95c-94e06eb8547f: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :a60881cd-c9f4-473e-aa68-fc9c5119d544: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "1ef10339-a36c-43ae-b94d-9a06e4559c43", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_Pvih_S6": { "queries": { "u": "SELECT mean(value) as value FROM :18710d3a-c6d0-4e34-9cd6-8d0b1c5db46c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :cd4194f5-e9f4-4a4a-a2fa-5b87aed8e131: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "d55baf31-b622-4383-aaf6-7bbd1f4acce8", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_Pvih_S7": { "queries": { "u": "SELECT mean(value) as value FROM :8882039e-6999-4745-9ecb-9469751ae24b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :17489b7e-8b79-4a52-8113-51c9385aac38: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "640d49dc-3c11-4c37-9d04-34531982fd64", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__DKC_year_accum_sut": { "queries": { "raw": "SELECT last(value) as value from :dks_g_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "cum": "select * from :DKC_year_accum_sut: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "DKC_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 184986559;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_Pvih_S8": { "queries": { "u": "SELECT mean(value) as value FROM :66e05142-775d-4a6f-875e-064d4b50cb66: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :c74b8acc-d559-4035-878f-96e1e85203a8: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "017ed8fd-8034-4dfa-9bdc-594bd2238e2c", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA5_Ngg": { "queries": { "a": "SELECT mean(value) as value FROM :6c636374-77e9-4d78-9554-cddda5828cc3: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :e606c24a-5134-406a-b251-a8ded5121027: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa5: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "516a6f59-a8db-46bd-8128-2122b3ccd16b", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_A7_TEG": { "queries": { "u": "SELECT mean(value) as value FROM :a115a85b-c051-46c8-bfa6-80d76bfa9343: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :7a486a26-b956-4bcd-9880-5a5a9a50737e: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "24463290-3231-4c7e-81c6-744da1b5d717", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA2_Rc": { "queries": { "a": "SELECT mean(value) as value FROM :d83d857c-5ab6-43f3-8148-e1eb7ef3439c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :c719b842-f713-4af5-8863-4c691ead2070: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa2: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "6090f1b9-4541-4089-9f58-18adeddb0374", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA7_Tvih": { "queries": { "a": "SELECT mean(value) as value FROM :47721937-e242-470a-bdd9-2d992e8b2b13: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :352c180e-0a5f-43f6-9d14-ed69c6844b48: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa7: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "1d8f28cc-d3f9-435a-9464-b99bd07fbc73", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Pvh7_sum_day": { "queries": { "a": "SELECT mean(value) as value FROM :b0836bc9-4d43-4d25-967d-892d3adf5d4f: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 2 12 * * ? *", "outputTag": "Pvh7_sum_day", "js": "return(parseFloat(a[0].value)*10.19716).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA7_dP": { "queries": { "a": "SELECT mean(value) as value FROM :a266916b-1a4d-4078-88a8-bd925c72b08e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :352c180e-0a5f-43f6-9d14-ed69c6844b48: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa7: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "f723da0d-2a01-4144-b8a5-1e823b31903c", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__VP_year_accum_sut": { "queries": { "raw": "SELECT last(value) as value from :vp_g_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "cum": "select * from :VP_year_accum_sut: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "VP_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 4515;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA6_Pvh": { "queries": { "a": "SELECT mean(value) as value FROM :cbbb0370-e9f1-4b08-b1a9-f48c70bc7889: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :bca4aaf0-06aa-4f79-b3af-0baa583c06b2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa6: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "a753ad8e-5c9c-46b3-9b05-68c878c7d57f", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Pvh5_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :9b6ecfa4-bdde-4798-83a2-d287db80ed64: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :9b6ecfa4-bdde-4798-83a2-d287db80ed64: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :9b6ecfa4-bdde-4798-83a2-d287db80ed64: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh5_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__q_optim_hour": { "queries": { "u": "SELECT last(value) as value FROM :7b59a76c-5ba3-4751-bf95-f30917fe8c6c: where quality!=\'REPLACED\' and time <= {T[]}" }, "cron": "0 10 * * * ? *", "outputTag": "q_optim_hour", "js": "return(u[0].value*1000/24).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv1303_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :92aaa835-b924-48b3-8886-c08f7d26495a: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :854c1e56-27b8-44b5-b1f2-3e6383b2c29f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1303_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__tovg_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :21b7a1a0-2f38-4028-a779-0ad52f1f4ac3: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-1m]}" }, "cron": "0 12 * * * ? *", "outputTag": "tovg_q_hour", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "_dob_vodi_sut": { "queries": { "a": "SELECT last(value) as value FROM :d6643bce-e8a2-4d4e-94c8-d1d0d22d843a: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}", "b": "SELECT last(value) as value FROM :ec001bab-5388-4120-adc4-35c8aaab8faa: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :1fdbf45c-1093-4914-90b8-e21b735ab0d0: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "dob_vodi_sut", "js": "return(a[0].value+b[0].value+c[0].value).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Esumm_virab_TE_year": { "queries": { "raw": "SELECT last(value) as value from :0846448c-9032-4cfb-9ae7-d55e13f2ed62: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "cum": "select * from :Esumm_virab_TE_year: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "Esumm_virab_TE_year", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 22533.84;else return(cum[0].value+raw[0].value).toFixed(2)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[-35d]", "recalculateDepth": 3, "acceptNulls": true }, "16_A5_Pvih": { "queries": { "u": "SELECT mean(value) as value FROM :9a4c6aa2-b8b6-42c0-8062-11ed6e0789bc: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :b9d83257-254a-49f5-ad31-e15c1d0e2e5f: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "41ae814c-20a9-4a1f-8e43-0f73efb76e5d", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA8_Nst": { "queries": { "u": "SELECT mean(value) as value FROM :a7ad73c0-4421-453f-9bf9-8bf5a4b5ff09: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa8: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "59b6a318-d5de-4d45-b944-337606dff81c", "js": "if(v[0].value===0){if(u[0].value>3000){return u[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_A5_dP": { "queries": { "u": "SELECT mean(value) as value FROM :ecba0d22-3a14-40c9-a0cd-ae1c9a4e5f5e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :b9d83257-254a-49f5-ad31-e15c1d0e2e5f: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "8807ccbb-0bd8-41c3-b6bd-131236a77e84", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA5_Tvih": { "queries": { "a": "SELECT mean(value) as value FROM :9e5228e8-812f-4edb-8819-d50c723bf056: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :e606c24a-5134-406a-b251-a8ded5121027: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa5: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "3d9bc165-659b-4b1e-a408-7c4190255d1b", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__esn_g_sum_sut": { "queries": { "a": "SELECT last(value) as value FROM :esn_g_sut: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "b": "SELECT last(value) as value FROM :esn_rez_g_sut: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}" }, "cron": "0 12 8 * * ? *", "outputTag": "esn_g_sum_sut", "js": "return(a[0].value+b[0].value).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA4_Tvh": { "queries": { "a": "SELECT mean(value) as value FROM :ec708d2b-be9b-402a-bd52-a46ad1d12b24: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :e25d1d44-1972-44ed-a1c1-1acf575a4cbd: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa4: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "b0d7877d-c480-482e-bc91-c3c352ecb29c", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "20_Q_OS": { "queries": { "u": "SELECT first(value) as value FROM :bf23d73c-089d-42f8-a7ee-145a0f858b01: where quality!=\'REPLACED\' and time >= {H[+16m]} and time < {H[+1h]}" }, "cron": "30 18 * * * ? *", "outputTag": "412d6131-5a02-4436-b15b-1f10ce8f5b20", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GPA_Rc_mean": { "queries": { "Rc2": "SELECT last(value) as value FROM :6090f1b9-4541-4089-9f58-18adeddb0374: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "Rc1": "SELECT last(value) as value FROM :2520b9ea-2f89-4d2a-ae50-f5f682cd4d83: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "Rc4": "SELECT last(value) as value FROM :ee1cda78-6a11-470b-b29c-c853659ca5f8: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "Rc3": "SELECT last(value) as value FROM :1631dfc0-5c98-4584-8ed7-69865cf527cf: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "Rc6": "SELECT last(value) as value FROM :00199d18-b196-40e5-b70e-50443dc862e0: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "Rc5": "SELECT last(value) as value FROM :3f322775-a749-4289-898f-2688c7838b8d: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "Rc8": "SELECT last(value) as value FROM :33ca7cd2-e9de-480c-bd1c-e37da5207c43: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "Rc7": "SELECT last(value) as value FROM :895e4f40-7794-4ccc-adf6-74fafef3f96a: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "GPA_Rc_mean", "js": "var data=[Rc1,Rc2,Rc3,Rc4,Rc5,Rc6,Rc7,Rc8];var rc=0;var n=0;var rcm=0;data.forEach(function(s){if(s==null)return;else{rc=rc+s[0].value;n=n+1}});return rcm=rc/n;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__teg_ostatok": { "queries": { "u1": "select first(value) as value from :ae4954fc-83c4-43ff-a71a-48e12fa5878e: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}", "u2": "select sum(value) as value from :c7961c35-9821-4006-bfff-f3ffff1fcdc9: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "u3": "select sum(value) as value from :ab03135d-3965-44e1-bf2e-58bf9cdef2ef: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}" }, "cron": "0 10 12 * * ? *", "outputTag": "ae4954fc-83c4-43ff-a71a-48e12fa5878e", "js": "return((u1==null||u1.length==0?0:u1[0].value)+(u2==null||u2.length==0?0:u2[0].value)-(u3==null||u3.length==0?0:u3[0].value)).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__techn_pot_turon_month": { "queries": { "u": "SELECT last(value) as value FROM :doly_turon_all_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {H[+1h]}", "v": "SELECT last(value) as value FROM :techn_pot_q_month: where quality!=\'REPLACED\' and time >= {M<8h>[]} and time < {H[+1h]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "techn_pot_turon_month", "js": "return(u[0].value*v[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__tovg_q_plan_hour": { "queries": { "u": "SELECT first(value) as value FROM :valg_q_plan_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {M<12h>[+1M]}", "v": "SELECT first(value) as value FROM :SN_and_poteri_plan_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {M<12h>[+1M]}" }, "cron": "0 10 12 * * ? *", "outputTag": "tovg_q_plan_hour", "js": "var d=new Date(u[0].time);d=new Date(d.getFullYear(),d.getMonth()+1,0).getDate();return(u[0].value-v[0].value)/(d*24);", "outputTimeOffset": "D<12h>[+1d]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__prih_vms_util_year": { "queries": { "raw": "select last(value) as value from :rash_vms_sut: where quality!=\'REPLACED\' and time >= {H[-1h+1s]} and time < {H[+1s]}", "cum": "select * from :prih_vms_util_year: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h+24h>[]}", "raw1": "select last(value) as value from :af3e1e37-bc02-4fcd-b595-c9feaff84572: where quality!=\'REPLACED\' and time >= {H[-1h+1s]} and time < {H[+1s]}" }, "cron": "0 12 8 * * ? *", "outputTag": "prih_vms_util_year", "js": "if(raw==null||raw.length==0){raw=[{value:0}]}if(raw1==null||raw1.length==0){raw1=[{value:0}]}if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(cum[0].time);if(dd.getFullYear()==2020&&dd.getMonth()==8&&dd.getDate()==1)return 8886.70;else return(cum[0].value+raw[0].value+raw1[0].value).toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__v_rvs": { "queries": { "u": "SELECT * FROM :3c0537b2-4f5a-4acb-922a-33cdd3944bd0: WHERE quality!=\'REPLACED\' and time >= {H[-1h+10m]} and time < {H[+10m]}" }, "cron": "0 12 8 * * ? *", "outputTag": "d16a8765-34f7-4adf-887e-a4449ecfa46a", "js": "return u[0].value.toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "14_FLOTTWEG_day": { "queries": { "u": "SELECT sum(value) as value from (SELECT mean(value) as value FROM :3699f918-e9b4-4b88-bab1-b5511b3575a2: where quality!=\'REPLACED\' and time >={D<8h>[-1d]} and time < {D<8h>[]} group by time(1h))" }, "cron": "0 0 8 * * ? *", "outputTag": "FLOTTWEG_day", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Tvh7_sum_day": { "queries": { "a": "SELECT mean(value) as value FROM :50f7b7c2-bd65-4f11-8e7a-096ae9871cb5: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "b": "SELECT mean(value) as value FROM :59a9a7a5-9162-44a2-adea-c7a2cc2863fb: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "c": "SELECT mean(value) as value FROM :6079852a-c619-477c-aa19-d18923ba7585: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "d": "SELECT mean(value) as value FROM :ce80b008-036b-457a-ad6f-c28bcf4f2411: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "e": "SELECT mean(value) as value FROM :7a9674d4-f0c8-4c79-ad15-a720c92afc7c: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 2 12 * * ? *", "outputTag": "Tvh7_sum_day", "js": "var data=[a,b,c,d,e];var tc=0;var n=0;var tsr=0;data.forEach(function(s){if(s==null)return;else{tc=tc+s[0].value;n=n+1}});return tsr=tc/n;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA4_Pvih": { "queries": { "a": "SELECT mean(value) as value FROM :299d54f7-923c-4456-932c-5e87f13fd40d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :e25d1d44-1972-44ed-a1c1-1acf575a4cbd: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa4: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "57228a6a-83f1-4194-83e3-c2a2dc70662d", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__v_for_podg_all_accum_sut": { "queries": { "raw": "select last(value) as value from :f8750b57-c7bd-4f04-9d0f-eb0899e97fa9: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select last(value) as value from :v_for_podg_all_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}" }, "cron": "30 12 8 * * ? *", "outputTag": "v_for_podg_all_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 48067;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_TG1": { "queries": { "raw": "select * from :259be5b6-993d-4ca5-bc7a-bb277e71826e: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :7cf6f53d-aded-4f25-825f-77d3e07cb216: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "0 12 * * * ? *", "outputTag": "7cf6f53d-aded-4f25-825f-77d3e07cb216", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Ud_potr_sut": { "queries": { "u": "select last(value) as value from :esn_g_sum_sut: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "v": "select last(value) as value from :virab_el_en_sut: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}" }, "cron": "0 14 8 * * ? *", "outputTag": "Ud_potr_sut", "js": "return u[0].value/v[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__val_q_day": { "queries": { "u": "SELECT sum(value) as value FROM :gsn_i_poteri_q_hour_table: where quality!=\'REPLACED\' and time >= {D<12h>[+1s]} and time < {D<12h>[+1d+1s]}", "v": "SELECT sum(value) as value FROM :tovg_q_hour_1000: where quality!=\'REPLACED\' and time >= {D<12h>[+1s]} and time < {D<12h>[+1d+1s]}" }, "cron": "0 12 * * * ? *", "outputTag": "val_q_day", "js": "return(u[0].value+v[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__val_q_hour_1000": { "queries": { "u": "select last(value) as value from :gsn_i_poteri_q_day_hour_table: where quality!=\'REPLACED\' and time >= {H[-1d-4h+1s]} and time < {H[-4h+1s]}", "v": "select last(value) as value from :tovg_q_hour_1000: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[1s]}" }, "cron": "0 12 * * * ? *", "outputTag": "val_q_hour_1000", "js": "return(u[0].value+v[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_Pvih_NK14": { "queries": { "u": "SELECT mean(value) as value FROM :98666716-61c9-41d3-a067-4e70ced78e8a: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "03334431-3b21-493b-a08f-f2be298ce9d2", "js": "return(u[0].value*10.197).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Pvh_Sh3_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :Pvh3_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :Pvh3_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :Pvh3_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh_Sh3_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Tvh5_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :3ee5b81e-3594-4df9-82d5-cc7caf25b217: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :3ee5b81e-3594-4df9-82d5-cc7caf25b217: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :3ee5b81e-3594-4df9-82d5-cc7caf25b217: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh5_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA7_Nst": { "queries": { "u": "SELECT mean(value) as value FROM :352c180e-0a5f-43f6-9d14-ed69c6844b48: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa7: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "17d34bc2-1356-4e86-b17b-ba8179102030", "js": "if(v[0].value===0){if(u[0].value>3000){return u[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__prihod_ksg_hour": { "queries": { "a": "SELECT first(value) as value FROM :prih_vms_hour: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}", "b": "SELECT last(value) as value FROM :2e75eb4d-9c88-4114-b940-d7a2268b7a48: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}", "c": "SELECT first(value) as value FROM :72113bcb-2409-4957-89f3-b0fd98f588e0: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}", "d": "SELECT first(value) as value FROM :6840d3a6-ce93-411f-b235-32aee96e9b9d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}", "e": "SELECT first(value) as value FROM :f64dda93-06a4-4e04-84fa-0627d76210f1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "prihod_ksg_hour", "js": "if(b==null||b.length==0){b=[{value:0}]}if(c==null||c.length==0){c=[{value:0}]}if(e==null||e.length==0){e=[{value:0}]}return(a[0].value-b[0].value-c[0].value-d[0].value-e[0].value).toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Tvh_Sh11_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :Tvh11_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :Tvh11_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :Tvh11_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh_Sh11_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_R35": { "queries": { "u": "SELECT first(value) as value FROM :e8c74c2c-2d4c-458c-873f-2c9bad2b45f9: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "009c9727-965d-46a4-967a-754f37807606", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__tovg_q_plan_month": { "queries": { "u": "SELECT first(value) as value FROM :valg_q_plan_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {M<12h>[+1M]}", "v": "SELECT first(value) as value FROM :SN_and_poteri_plan_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {M<12h>[+1M]}" }, "cron": "0 10 12 * * ? *", "outputTag": "tovg_q_plan_month", "js": "var d=new Date(u[0].time);d=new Date(d.getFullYear(),d.getMonth()+1,0).getDate();return u[0].value-v[0].value;", "outputTimeOffset": "D<12h>[+1d]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA4_Ngg": { "queries": { "a": "SELECT mean(value) as value FROM :abbc0d85-5915-4e42-a655-350d149c38e5: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :e25d1d44-1972-44ed-a1c1-1acf575a4cbd: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa4: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "5dfec2ab-e6ce-4467-acb4-98cee97a90aa", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__tovg_q_year_accum_hour": { "queries": { "raw": "select sum(value) as value from :tovg_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cum": "select * from :tovg_q_year_accum_hour: where quality!=\'REPLACED\' and time >= {H[-1d]} and time >= {Y<12h>[-1d]}" }, "cron": "0 12 12 * * ? *", "outputTag": "tovg_q_year_accum_hour", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==1&&dd.getHours()==12)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==5&&dd.getDate()==30&&dd.getHours()==12)return 12521627835;else return(cum[0].value+raw[0].value).toFixed(3)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__gsn_i_poteri_q_all_accum_hour": { "queries": { "raw": "select last(value) as value from :gsn_i_poteri_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select last(value) as value from :gsn_i_poteri_q_all_accum_hour: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <{H[]}" }, "cron": "0 11 * * * ? *", "outputTag": "gsn_i_poteri_q_all_accum_hour", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);{if(dd.getFullYear()==2019&&dd.getMonth()==8&&dd.getDate()==30&&dd.getHours()==8)return 178466.571;else return(cum[0].value+raw[0].value).toFixed(3)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_MPT_Tvih": { "queries": { "u": "SELECT mean(value) as value FROM :036df392-dabf-435f-9a53-ae4bf08d996f: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "929f30dd-8d44-4f92-ba6a-5ee8b8a73590", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GTEB6_year_accum_sut": { "queries": { "raw": "SELECT sum(value) as value from :0e471157-554b-43cb-b6a3-17645889f563: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cum": "select * from :GTEB6_year_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "GTEB6_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==1&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==9&&dd.getDate()==31&&dd.getHours()==8)return 3263700;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__v_podg_year_accum_sut": { "queries": { "raw": "select last(value) as value from :f937b5f9-4b46-479a-adf4-700bb83a66aa: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select last(value) as value from :v_podg_year_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}" }, "cron": "30 12 8 * * ? *", "outputTag": "v_podg_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 33317;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__ukpg_g_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :01973d51-ae24-4d7a-9b04-d3cbaaefa2eb: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-1m]}" }, "cron": "0 10 * * * ? *", "outputTag": "ukpg_g_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "20_T_1902": { "queries": { "u": "SELECT mean(value) as value FROM :57b32fd4-b558-4b4a-b142-29cfc1760930: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e1759e5a-4724-4f6e-ab23-08162cb98a33: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "91be822f-1750-47ee-a5fa-9322eacc08b1", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Pvh10_sum_day": { "queries": { "a": "SELECT mean(value) as value FROM :1af8491d-cb14-42af-bbbc-ba1fb591ebff: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 2 12 * * ? *", "outputTag": "Pvh10_sum_day", "js": "return(parseFloat(a[0].value)*10.19716).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "20_P1512_184": { "queries": { "u": "SELECT mean(value) as value FROM :10f27a6c-a5bb-43dc-bcd0-ca1f35bd600b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :879a6eb4-3c9f-4c80-90bf-195beb4e37b5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "8a8b44d3-014d-4b94-8561-666753c2f8e2", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA3_dP": { "queries": { "a": "SELECT mean(value) as value FROM :40da7263-e067-4a9d-8ad2-fe95be382d58: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :037f69e3-75ff-4042-89b9-db9ebbcd429b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa3: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "718eb3ae-1c89-4f12-9c52-d32baf4a1d00", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "10_184t": { "queries": { "u": "SELECT sum(value) as value from (SELECT last(value) as value FROM :9abd3bcf-b1de-46ad-9402-c33b74060d82: where quality!=\'REPLACED\' and time >={D<12h>[-1d]} and time < {D<12h>[]} group by time(1h))" }, "cron": "0 0 12 * * ? *", "outputTag": "Skv184t", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__virab_el_en_all_accum_sut": { "queries": { "raw": "select last(value) as value from :virab_el_en_sut: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select last(value) as value from :virab_el_en_all_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}" }, "cron": "30 10 8 * * ? *", "outputTag": "virab_el_en_all_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 29857780;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S1104": { "queries": { "u": "SELECT first(value) as value FROM :b839a052-5f60-4a83-88bd-d89b93ffe834: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "fce6150f-8be4-437f-ae61-55674d464ec6", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1103": { "queries": { "u": "SELECT first(value) as value FROM :e161f580-a968-494d-b10b-22036b8dc57a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "40a544c5-4723-4947-b351-aa56928013fd", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GTEB8_year_accum_sut": { "queries": { "raw": "SELECT sum(value) as value from :b035761d-cd77-4731-8504-bb47b99d162d: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cum": "select * from :GTEB8_year_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "GTEB8_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==1&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==9&&dd.getDate()==31&&dd.getHours()==8)return 5418510;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Tvh10_sum_day": { "queries": { "a": "SELECT mean(value) as value FROM :2779398d-2706-469a-ace3-a76baafeba67: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "b": "SELECT mean(value) as value FROM :57b32fd4-b558-4b4a-b142-29cfc1760930: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "c": "SELECT mean(value) as value FROM :c2b43f52-5be6-4ffa-af3b-bb169fd428f9: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "d": "SELECT mean(value) as value FROM :7e454b55-8cc1-4449-be0b-8943adb23013: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "e": "SELECT mean(value) as value FROM :eefd2f65-431d-44b3-ad59-d09d4a8c159a: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "f": "SELECT mean(value) as value FROM :Tvh_22t: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 2 12 * * ? *", "outputTag": "Tvh10_sum_day", "js": "var data=[a,b,c,d,e,f];var tc=0;var n=0;var tsr=0;data.forEach(function(s){if(s==null)return;else{tc=tc+s[0].value;n=n+1}});return tsr=tc/n;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S1102": { "queries": { "u": "SELECT first(value) as value FROM :e05b98ca-9418-4b3b-b2cd-0b1b9b523c06: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "6681a99e-3c2e-4478-97f5-095e8caa80ff", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1101": { "queries": { "u": "SELECT first(value) as value FROM :1dfff048-6978-454e-81ed-a1206d24a89d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "f11aaa90-5eed-47e5-8c80-af34740bbeab", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__v_podg_vodi": { "queries": { "u": "SELECT max(value) as value FROM :17cdd6b2-1692-4a2e-9e30-a5a0a2775806: WHERE quality!=\'REPLACED\' and time >= {H[-8m]} and time < {H[+1h-8m]}" }, "cron": "0 12 8 * * ? *", "outputTag": "f937b5f9-4b46-479a-adf4-700bb83a66aa", "js": "return u[0].value.toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA3_Ngg": { "queries": { "a": "SELECT mean(value) as value FROM :2883f04a-4cf7-486b-9bae-b302c731f977: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :037f69e3-75ff-4042-89b9-db9ebbcd429b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa3: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "89a55556-587d-4ed9-8a33-fb11105dc889", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__turon_q_all_accum_hour": { "queries": { "raw": "select last(value) as value from :turon_g_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select last(value) as value from :turon_q_all_accum_hour: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}" }, "cron": "30 20 * * * ? *", "outputTag": "turon_q_all_accum_hour", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);{if(dd.getFullYear()==2019&&dd.getMonth()==9&&dd.getDate()==1&&dd.getHours()==12)return 987014.893;else return(cum[0].value+raw[0].value).toFixed(3)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA5_Pvh": { "queries": { "a": "SELECT mean(value) as value FROM :9081a0b4-6d80-4cec-8f12-d1d12f6271f1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :e606c24a-5134-406a-b251-a8ded5121027: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa5: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "205dff6d-f65f-4d4d-9bbb-19e1b4ca9782", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__valg_q_plan_day_10d": { "queries": { "a": "SELECT mean(value) as value FROM :valg_q_plan_day: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :valg_q_plan_day: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :valg_q_plan_day: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 10 12 1,11,21 * ? *", "outputTag": "valg_q_plan_day_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return(a[0].value/1000).toFixed(0);case 21:return(b[0].value/1000).toFixed(0);case 1:return(c[0].value/1000).toFixed(0);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__val_q_all_accum_hour_table": { "queries": { "raw": "select last(value) as value from :gsn_i_poteri_q_hour_table: where quality!=\'REPLACED\' and time >= {H[-1h+1s]} and time < {H[+1s]}", "cum": "select * from :val_q_all_accum_hour_table: where quality!=\'REPLACED\' and time = {H[-1h]}", "raw1": "select last(value) as value from :tovg_q_hour: where quality!=\'REPLACED\' and time >= {H[-1h+1s]} and time < {H[1s]}" }, "cron": "0 12 * * * ? *", "outputTag": "val_q_all_accum_hour_table", "js": "if(raw==null||raw.length==0){raw=[{value:0}]}if(raw1==null||raw1.length==0){raw1=[{value:0}]}if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(cum[0].time);if(dd.getFullYear()==2020&&dd.getMonth()==3&&dd.getDate()==15&&dd.getHours()==11)return 298065149;else return(cum[0].value+raw[0].value+raw1[0].value/1000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__dob_vodi_all_accum_sut": { "queries": { "raw": "select last(value) as value from :dob_vodi_sut: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select last(value) as value from :dob_vodi_all_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}" }, "cron": "30 12 8 * * ? *", "outputTag": "dob_vodi_all_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 56532;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA5_Pvih": { "queries": { "a": "SELECT mean(value) as value FROM :bdf1e10f-ee1c-416e-a990-89660b37f799: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :e606c24a-5134-406a-b251-a8ded5121027: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa5: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "e95e2048-3d40-4913-b0f2-1c19cdb08eb7", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__valg_q_plan_hour": { "queries": { "u": "SELECT first(value) as value FROM :valg_q_plan_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {M<12h>[+1M]}" }, "cron": "0 10 12 * * ? *", "outputTag": "valg_q_plan_hour", "js": "var d=new Date(u[0].time);d=new Date(d.getFullYear(),d.getMonth()+1,0).getDate();return u[0].value/(d*24);", "outputTimeOffset": "D<12h>[+1d]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "20_Ptr_OS": { "queries": { "u": "SELECT mean(value) as value FROM :295ea2d0-b972-48c5-886c-2abc78449bb4: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :bf23d73c-089d-42f8-a7ee-145a0f858b01: where quality!=\'REPLACED\' and time >= {H[+21m]} and time < {H[+1h]}" }, "cron": "0 23 * * * ? *", "outputTag": "8ecc67e7-7af0-436c-a328-fa9047e32749", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__met_otkl_year_accum_day": { "queries": { "raw": "select * from :met_otkl_day: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :e1af83a3-a953-427f-83d6-9debbde7ffda: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<12h+24h>[]}" }, "cron": "30 20 12 * * ? *", "outputTag": "e1af83a3-a953-427f-83d6-9debbde7ffda", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return (cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0)).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__kol_gpa": { "queries": { "s3": "SELECT last(value) as value FROM :sost_gpa3: where quality!=\'REPLACED\' and time > {H[-1h]} and time <= {H[+0h]}", "s4": "SELECT last(value) as value FROM :sost_gpa4: where quality!=\'REPLACED\' and time > {H[-1h]} and time <= {H[+0h]}", "s5": "SELECT last(value) as value FROM :sost_gpa5: where quality!=\'REPLACED\' and time > {H[-1h]} and time <= {H[+0h]}", "s6": "SELECT last(value) as value FROM :sost_gpa6: where quality!=\'REPLACED\' and time > {H[-1h]} and time <= {H[+0h]}", "s7": "SELECT last(value) as value FROM :sost_gpa7: where quality!=\'REPLACED\' and time > {H[-1h]} and time <= {H[+0h]}", "s8": "SELECT last(value) as value FROM :sost_gpa8: where quality!=\'REPLACED\' and time > {H[-1h]} and time <= {H[+0h]}", "s1": "SELECT last(value) as value FROM :sost_gpa1: where quality!=\'REPLACED\' and time > {H[-1h]} and time <= {H[+0h]}", "s2": "SELECT last(value) as value FROM :sost_gpa2: where quality!=\'REPLACED\' and time > {H[-1h]} and time <= {H[+0h]}" }, "cron": "0 10 * * * ? *", "outputTag": "kol_gpa", "js": "var data=[s1[0].value,s2[0].value,s3[0].value,s4[0].value,s5[0].value,s6[0].value,s7[0].value,s8[0].value];var count=0;data.forEach(function(s){if(s==0)count++});return count;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__techn_pot_q_month": { "queries": { "u": "SELECT sum(value) as value FROM :techn_poteri_q_sut: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}" }, "cron": "0 12 8 1 * ? *", "outputTag": "techn_pot_q_month", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__prih_vms_year_accum_hour": { "queries": { "raw": "select * from :prih_vms_hour: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}", "cum": "select * from :prih_vms_year_accum_hour: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h+24h>[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "prih_vms_year_accum_hour", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return(cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0)).toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1103": { "queries": { "raw": "select * from :40a544c5-4723-4947-b351-aa56928013fd: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :be3da5d9-443b-4a5c-a3ef-d2a231efd340: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 10 * * * ? *", "outputTag": "be3da5d9-443b-4a5c-a3ef-d2a231efd340", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1104": { "queries": { "raw": "select * from :fce6150f-8be4-437f-ae61-55674d464ec6: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :95b278db-bba2-4bae-819b-0fa82108f15b: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 10 * * * ? *", "outputTag": "95b278db-bba2-4bae-819b-0fa82108f15b", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_A8_Tvih": { "queries": { "u": "SELECT mean(value) as value FROM :9657f614-e17f-4086-8b06-560d3dd6cedd: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :ab5c91b3-b527-4a0e-8344-e3af1a492676: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "c1ca4e64-4976-4ef7-a3eb-f9629cbffe0f", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__zakachki_stokov_year_accum_sut": { "queries": { "raw": "select last(value) as value from :dd37a98e-5263-44e8-95a5-29a1ded7bb0a: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select last(value) as value from :zakachki_stokov_year_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "zakachki_stokov_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 66913;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1101": { "queries": { "raw": "select * from :f11aaa90-5eed-47e5-8c80-af34740bbeab: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :e4552fdc-9ac1-47fb-8464-2abb80703bca: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 10 * * * ? *", "outputTag": "e4552fdc-9ac1-47fb-8464-2abb80703bca", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Tsr_GPA58_pered_AVO": { "queries": { "T1": "SELECT last(value) as value FROM :d068f563-3da0-4811-9c57-b6b17c93d52d: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "T2": "SELECT last(value) as value FROM :064f7c03-1247-493a-886e-82bd67fe6e66: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "T3": "SELECT last(value) as value FROM :fa07f2ce-f318-4fd9-a2df-b6314e63cfdd: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Tsr_GPA58_pered_AVO", "js": "var data=[T1,T2,T3];var tc=0;var n=0;var tsr=0;data.forEach(function(s){if(s==null)return;else{tc=tc+s[0].value;n=n+1}});return tsr=tc/n;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1102": { "queries": { "raw": "select * from :6681a99e-3c2e-4478-97f5-095e8caa80ff: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :03a5f4ad-64fd-46eb-a09c-3cdb480d8981: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "03a5f4ad-64fd-46eb-a09c-3cdb480d8981", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__gsn_poter_q_sut": { "queries": { "a": "SELECT first(value) as value FROM :ukpg_kot_g_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "b": "SELECT first(value) as value FROM :vgk_g_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "c": "SELECT first(value) as value FROM :vp_g_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "d": "SELECT first(value) as value FROM :ukpg_g_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "e": "SELECT first(value) as value FROM :dks_g_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "f": "SELECT first(value) as value FROM :esn_g_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "h": "SELECT first(value) as value FROM :esn_rez_g_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "i": "SELECT first(value) as value FROM :sn_uptpg_g_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "gsn_poter_q_sut", "js": "if(a==null||a.length==0){a=[{value:0}]}if(b==null||b.length==0){b=[{value:0}]}if(c==null||c.length==0){c=[{value:0}]}if(d==null||d.length==0){d=[{value:0}]}if(e==null||e.length==0){e=[{value:0}]}if(f==null||f.length==0){f=[{value:0}]}if(h==null||h.length==0){h=[{value:0}]}if(i==null||i.length==0){i=[{value:0}]}return(a[0].value+b[0].value+c[0].value+d[0].value+e[0].value+f[0].value+h[0].value+i[0].value).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_A6_TEG": { "queries": { "u": "SELECT mean(value) as value FROM :66e63127-abb9-4398-b176-2a7ac6892159: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :2ddc067b-1198-4b50-8ac6-86536553d85f: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "d4f18f47-4df5-4274-96ae-5eef2aecbb51", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__val_q_all_accum_sut": { "queries": { "raw": "select last(value) as value from :gsn_q_sut: where quality!=\'REPLACED\' and time > {H[-1d-4h]} and time <= {H[-4h]}", "cum": "select * from :val_q_all_accum_sut: where quality!=\'REPLACED\' and time = {H[-1d]}", "raw1": "select sum(value) as value from :tovg_q_hour: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}" }, "cron": "0 12 12 * * ? *", "outputTag": "val_q_all_accum_sut", "js": "if(raw==null||raw.length==0){raw=[{value:0}]}if(raw1==null||raw1.length==0){raw1=[{value:0}]}if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(cum[0].time);if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1)return 286410769810;else return(cum[0].value+raw[0].value+raw1[0].value).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA3_Tvh": { "queries": { "a": "SELECT mean(value) as value FROM :da5a500b-b9b0-44bd-8e9b-fd238bb9ea30: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :037f69e3-75ff-4042-89b9-db9ebbcd429b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa3: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "190c5ff7-3a37-42fa-bddc-26e07fbeab74", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GTEB7_year_accum_sut": { "queries": { "raw": "SELECT sum(value) as value from :b0bb3497-8238-4e4a-96ed-e9c8ae82f160: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cum": "select * from :GTEB7_year_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "GTEB7_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==1&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==9&&dd.getDate()==31&&dd.getHours()==8)return 5582460;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_A6_dP": { "queries": { "u": "SELECT mean(value) as value FROM :b3976fb4-15f2-49d5-b4a6-47589eaa511f: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :2ddc067b-1198-4b50-8ac6-86536553d85f: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "d7f12311-d3f2-4098-aa38-ebbc86f402f0", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA8_Rc": { "queries": { "a": "SELECT mean(value) as value FROM :7fa8a0fd-f2ea-4996-943c-6f94e5594ff3: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :a7ad73c0-4421-453f-9bf9-8bf5a4b5ff09: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa8: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "33ca7cd2-e9de-480c-bd1c-e37da5207c43", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__tg_ZAO_Gazprom": { "queries": { "u": "SELECT last(value) as value FROM :tovg_q_month: where quality!=\'REPLACED\' and time <= {M<12h>[]}", "v": "SELECT last(value) as value FROM :dc02be7e-548e-4281-8f8c-68fc8b8cae60: where quality!=\'REPLACED\' and time < {M<12h>[]}" }, "cron": "0 10 12 1 * ? *", "outputTag": "tg_ZAO_Gazprom", "js": "return(u[0].value*v[0].value/100000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA6_Nst": { "queries": { "u": "SELECT mean(value) as value FROM :bca4aaf0-06aa-4f79-b3af-0baa583c06b2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa6: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "b0f8d468-375c-46b6-9a0e-e6ef39b7cf9f", "js": "if(v[0].value===0){if(u[0].value>3000){return u[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_A3_Pvih": { "queries": { "u": "SELECT mean(value) as value FROM :a85072bb-1c9f-422a-9bd8-354876eca0d7: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :7cc6289e-a689-4826-9929-21067d5f3e29: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "b934db34-c065-4446-82e5-0d2820a7cca8", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Psr_GPA58_vh": { "queries": { "P1": "SELECT last(value) as value FROM :fef7bda9-2cd6-4775-bd5f-9668675618b8: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "P2": "SELECT last(value) as value FROM :afc73b95-3f34-4438-87a9-18b6e91f6fb8: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "P3": "SELECT last(value) as value FROM :cdfb180e-eb09-4a11-84e4-cf2d6ceca322: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Psr_GPA58_vh", "js": "var data=[P1,P2,P3];var pc=0;var n=0;var psr=0;data.forEach(function(s){if(s==null)return;else{pc=pc+s[0].value;n=n+1}});return psr=pc/n;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1302_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :20c7f4ee-97aa-4b1a-9309-290d48b6c69e: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :c807253a-7d2d-46f9-86c4-f47a269b7922: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1302_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv1102_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :3937ed56-28fb-4cd2-9c46-932274fd386b: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :e05b98ca-9418-4b3b-b2cd-0b1b9b523c06: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1102_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_Tvih_NK58": { "queries": { "u": "SELECT mean(value) as value FROM :cd154946-17b2-4a40-ad62-6ddc30a76d09: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "244c670a-4f6c-4402-b675-f664b9e20446", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_A4_Tvih": { "queries": { "u": "SELECT mean(value) as value FROM :9b0a8d13-01df-479f-9a63-3318bb4c95a6: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :2004db13-b1d0-4a52-bca9-ede0b0515004: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "db159695-8e1b-41c0-987c-008eb7c0ae1c", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Qsum_R51": { "queries": { "raw": "select * from :bad99e45-a1c8-49f0-bc8b-9243d2cfe52a: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :d0269260-6845-47b2-ab9c-e555b382315b: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "d0269260-6845-47b2-ab9c-e555b382315b", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__turon_q_month_accum_hour": { "queries": { "raw": "select * from :turon_g_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :turon_q_month_accum_hour: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "turon_q_month_accum_hour", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return(cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0)).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Tvh10_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :eb161c5c-4835-4d03-879f-3571f5b4e852: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :eb161c5c-4835-4d03-879f-3571f5b4e852: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :eb161c5c-4835-4d03-879f-3571f5b4e852: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh10_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA1_Pvih": { "queries": { "a": "SELECT mean(value) as value FROM :3453e44d-26a7-4b5e-b677-556c0c5006c8: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :585193b9-86bb-430f-a929-1a8d1ef63806: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa1: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "0c5f009c-fb0f-4ac2-a8f2-baec7111838b", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__ukpg_kot_g_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :7e970043-1dda-4df1-bbc6-419cb2459975: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-1m]}" }, "cron": "0 10 * * * ? *", "outputTag": "ukpg_kot_g_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_Pvih_TP": { "queries": { "u": "SELECT mean(value) as value FROM :f238adb5-c213-45cc-b46f-b5812e1f2890: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "6a179b50-a562-4ecc-95d7-297e7b3c3985", "js": "return(u[0].value*10.197).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__vgk_g_sut": { "queries": { "u": "SELECT sum(value) as value FROM :vgk_kot_g_q_hour: WHERE quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "vgk_g_sut", "js": "return(u[0].value*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__ud_q_met_hour": { "queries": { "u": "SELECT first(value) as value FROM :q_met_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "v": "SELECT first(value) as value FROM :val_q_hour_1000: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}" }, "cron": "0 11 * * * ? *", "outputTag": "ud_q_met_hour", "js": "return(u[0].value/v[0].value*1000000).toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Pvh10_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :3c043108-6d05-4b51-be1a-12fa45d5b810: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :3c043108-6d05-4b51-be1a-12fa45d5b810: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :3c043108-6d05-4b51-be1a-12fa45d5b810: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh10_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_A7_Pvih": { "queries": { "u": "SELECT mean(value) as value FROM :722d4279-df7d-4deb-a791-99582e4ae5d4: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :7a486a26-b956-4bcd-9880-5a5a9a50737e: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "2499727e-bd1d-4664-b313-d842fd244f8f", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "10_Skv184_Fg": { "queries": { "u": "SELECT sum(value) as value from (SELECT last(value) as value FROM :92c00be9-2e17-4605-8c96-072b672c6966: where quality!=\'REPLACED\' and time >= {D<12h+10m>[-1d]} and time < {D<12h+10m>[]} group by time(1h))" }, "cron": "0 0 12 * * ? *", "outputTag": "Skv184_Fg", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Pvh9_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :237b46a3-9b5e-477d-851a-69fa93e94c61: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :237b46a3-9b5e-477d-851a-69fa93e94c61: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :237b46a3-9b5e-477d-851a-69fa93e94c61: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh9_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_A8_dP": { "queries": { "u": "SELECT mean(value) as value FROM :671f74ac-133f-4036-9896-6e79e615d315: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :ab5c91b3-b527-4a0e-8344-e3af1a492676: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "c43031f3-3a51-4fca-8158-e87d85b365bc", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Tvh4_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :eb61c166-4aaa-4d88-af54-edea1015cec5: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :eb61c166-4aaa-4d88-af54-edea1015cec5: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :eb61c166-4aaa-4d88-af54-edea1015cec5: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh4_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA2_Ngg": { "queries": { "a": "SELECT mean(value) as value FROM :0677e782-76ff-4b89-ac1e-0a0ae047e358: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :c719b842-f713-4af5-8863-4c691ead2070: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa2: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "e475eb2e-c680-4002-a53a-55caae9b5e53", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1302": { "queries": { "u": "SELECT first(value) as value FROM :c807253a-7d2d-46f9-86c4-f47a269b7922: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "dc62b3aa-46f6-41b3-b9a2-6cd10f47df6a", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__sng_q_plan_hour": { "queries": { "u": "SELECT first(value) as value FROM :SN_and_poteri_plan_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {M<12h>[+1M]}" }, "cron": "0 10 12 * * ? *", "outputTag": "sng_q_plan_hour", "js": "var d=new Date(u[0].time);d=new Date(d.getFullYear(),d.getMonth()+1,0).getDate();return u[0].value/(d*24);", "outputTimeOffset": "D<12h>[+1d]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1301": { "queries": { "u": "SELECT first(value) as value FROM :bdf3675e-f57b-4999-8955-cc34f9849906: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "d3b3dafe-bdd1-401a-82c4-ca0d1ebb5633", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__gsn_i_poteri_q_year_accum_hour_1000": { "queries": { "raw": "select sum(value) as value from :gsn_i_poteri_q_hour_table: where quality!=\'REPLACED\' and time >= {D<12h>[+1s]} and time < {H[+1s]}", "cum": "select last(value) as value from :gsn_i_poteri_q_year_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}" }, "cron": "0 11 * * * ? *", "outputTag": "gsn_i_poteri_q_year_accum_hour_1000", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value/1000}else{return(cum[0].value/1000+raw[0].value).toFixed(3)}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S1304": { "queries": { "u": "SELECT first(value) as value FROM :89a92b68-f6dd-4611-88d2-99d5c7972b13: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "5cd1cf87-ea46-4513-b9dd-e1521f4ca93a", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1303": { "queries": { "u": "SELECT first(value) as value FROM :854c1e56-27b8-44b5-b1f2-3e6383b2c29f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "fcb59eac-d097-434d-b5e5-e53b90749903", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_A6_Pvih": { "queries": { "u": "SELECT mean(value) as value FROM :e16c186e-e863-4c35-ba9a-ec7d56a2ad3f: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :2ddc067b-1198-4b50-8ac6-86536553d85f: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "25dfb3b4-1e50-4ff1-a669-4b95d8906b12", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_A5_TEG": { "queries": { "u": "SELECT mean(value) as value FROM :1e5c2991-9ae7-446d-a182-a9a20186b92e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :b9d83257-254a-49f5-ad31-e15c1d0e2e5f: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "fd75c992-5114-4b77-8305-75b06112bd79", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "20_Pztr_BS": { "queries": { "u": "SELECT mean(value) as value FROM :2d74ee60-f9b3-45c1-b23a-0b40366f6c6d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :b74c5259-e91b-4af9-88e7-2868dc3d797d: where quality!=\'REPLACED\' and time >= {H[+21m]} and time < {H[+1h]}" }, "cron": "0 23 * * * ? *", "outputTag": "de577124-e9da-4690-a326-53187123634b", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA4_Pvh": { "queries": { "a": "SELECT mean(value) as value FROM :efb4292c-5b3b-449f-9722-3af4856e4345: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :e25d1d44-1972-44ed-a1c1-1acf575a4cbd: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa4: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "e7ca5c77-02ff-4e26-b645-7c8a1c46db5b", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA2_Pvih": { "queries": { "a": "SELECT mean(value) as value FROM :cd3973a2-a472-402d-b349-0bf01af11780: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :c719b842-f713-4af5-8863-4c691ead2070: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa2: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "27f56ea1-db70-4523-9f68-af3e85577bb5", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__tovg_q_day": { "queries": { "u": "SELECT sum(value) as value FROM :tovg_q_hour_1000: where quality!=\'REPLACED\' and time >= {D<13h>[]} and time < {D<13h>[+1d]}" }, "cron": "0 12 * * * ? *", "outputTag": "tovg_q_day", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__turon_g_hour": { "queries": { "a": "SELECT first(value) as value FROM :36d1e243-b7e7-476d-a561-ee688f24938a: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "b": "SELECT first(value) as value FROM :412d6131-5a02-4436-b15b-1f10ce8f5b20: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "c": "SELECT first(value) as value FROM :cd9319cd-0478-4f20-9c10-d5355a575b03: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "d": "SELECT first(value) as value FROM :66f0a316-4e3d-4be3-909f-4a865f211069: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "e": "SELECT first(value) as value FROM :009c9727-965d-46a4-967a-754f37807606: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "f": "SELECT first(value) as value FROM :bad99e45-a1c8-49f0-bc8b-9243d2cfe52a: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "g": "SELECT first(value) as value FROM :0918df29-8e22-4215-8819-518655cdbb9c: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "h": "SELECT first(value) as value FROM :4b5e16a9-849c-413f-8c57-1c400ab595ff: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "i": "SELECT first(value) as value FROM :60bb5d91-6e59-4802-a071-1e668c2da0df: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "j": "SELECT first(value) as value FROM :7498faa1-a822-4893-ade3-6821e656c28e: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "k": "SELECT first(value) as value FROM :f11aaa90-5eed-47e5-8c80-af34740bbeab: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "l": "SELECT first(value) as value FROM :6681a99e-3c2e-4478-97f5-095e8caa80ff: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "m": "SELECT first(value) as value FROM :40a544c5-4723-4947-b351-aa56928013fd: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "n": "SELECT first(value) as value FROM :fce6150f-8be4-437f-ae61-55674d464ec6: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "o": "SELECT first(value) as value FROM :dc62b3aa-46f6-41b3-b9a2-6cd10f47df6a: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "p": "SELECT first(value) as value FROM :5cd1cf87-ea46-4513-b9dd-e1521f4ca93a: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "q": "SELECT first(value) as value FROM :fcb59eac-d097-434d-b5e5-e53b90749903: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "r": "SELECT first(value) as value FROM :d3b3dafe-bdd1-401a-82c4-ca0d1ebb5633: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "s": "SELECT first(value) as value FROM :skv801_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "t": "SELECT first(value) as value FROM :skv802_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "u": "SELECT first(value) as value FROM :skv1001_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "v": "SELECT first(value) as value FROM :skv1002_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "w": "SELECT first(value) as value FROM :skv1003_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "x": "SELECT first(value) as value FROM :skv1501_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "y": "SELECT first(value) as value FROM :skv1502_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "z": "SELECT first(value) as value FROM :skv1503_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "aa": "SELECT first(value) as value FROM :skv501_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "ab": "SELECT first(value) as value FROM :skv502_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "ac": "SELECT first(value) as value FROM :skv503_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "ad": "SELECT first(value) as value FROM :skv701_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "ae": "SELECT first(value) as value FROM :skv702_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "af": "SELECT first(value) as value FROM :skv703_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "ag": "SELECT first(value) as value FROM :skv1801_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "ah": "SELECT first(value) as value FROM :skv1802_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "aj": "SELECT first(value) as value FROM :skv1803_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "ak": "SELECT first(value) as value FROM :skv1701_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "al": "SELECT first(value) as value FROM :skv1702_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "am": "SELECT first(value) as value FROM :skv1703_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "an": "SELECT first(value) as value FROM :skv901_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "ao": "SELECT first(value) as value FROM :skv902_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "ap": "SELECT first(value) as value FROM :skv3_01_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "ar": "SELECT first(value) as value FROM :skv3_02_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "as": "SELECT first(value) as value FROM :skv1_01_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "at": "SELECT first(value) as value FROM :skv1_02_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "au": "SELECT first(value) as value FROM :skv1_03_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "av": "SELECT first(value) as value FROM :skv1201_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "aw": "SELECT first(value) as value FROM :skv1202_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "ax": "SELECT first(value) as value FROM :skv4101_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "ay": "SELECT first(value) as value FROM :skv4102_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "az": "SELECT first(value) as value FROM :skv4103_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "ba": "SELECT first(value) as value FROM :skv4001_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bb": "SELECT first(value) as value FROM :skv4002_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bc": "SELECT first(value) as value FROM :skv4003_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bd": "SELECT first(value) as value FROM :skv4004_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "be": "SELECT first(value) as value FROM :skv3901_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bf": "SELECT first(value) as value FROM :skv3902_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bg": "SELECT first(value) as value FROM :skv3903_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bh": "SELECT first(value) as value FROM :skv3904_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bj": "SELECT first(value) as value FROM :skv1601_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bk": "SELECT first(value) as value FROM :skv1602_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bl": "SELECT first(value) as value FROM :skv1603_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bm": "SELECT first(value) as value FROM :skv6_01_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bn": "SELECT first(value) as value FROM :skv6_02_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bo": "SELECT first(value) as value FROM :skv2201_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bp": "SELECT first(value) as value FROM :skv2202_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bq": "SELECT first(value) as value FROM :skv2203_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "br": "SELECT first(value) as value FROM :skv2401_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bs": "SELECT first(value) as value FROM :skv2402_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bt": "SELECT first(value) as value FROM :skv2601_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bu": "SELECT first(value) as value FROM :skv2602_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bv": "SELECT first(value) as value FROM :skv3601_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bw": "SELECT first(value) as value FROM :skv3602_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bx": "SELECT first(value) as value FROM :skv3603_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "by": "SELECT first(value) as value FROM :skv3801_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "bz": "SELECT first(value) as value FROM :skv3802_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "ca": "SELECT first(value) as value FROM :skv2_01_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cb": "SELECT first(value) as value FROM :skv2_02_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cc": "SELECT first(value) as value FROM :skv2_03_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cd": "SELECT first(value) as value FROM :skv2_04_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "ce": "SELECT first(value) as value FROM :skv1901_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cf": "SELECT first(value) as value FROM :skv1903_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "ch": "SELECT first(value) as value FROM :skv2801_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cj": "SELECT first(value) as value FROM :skv2802_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "ck": "SELECT first(value) as value FROM :skv3001_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cl": "SELECT first(value) as value FROM :skv3002_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cm": "SELECT first(value) as value FROM :skv3003_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cn": "SELECT first(value) as value FROM :skv2701_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "co": "SELECT first(value) as value FROM :skv2702_gas_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "turon_g_hour", "js": "return((a==null||a.length==0?0:a[0].value)+(b==null||b.length==0?0:b[0].value)+(c==null||c.length==0?0:c[0].value)+(d==null||d.length==0?0:d[0].value)+(e==null||e.length==0?0:e[0].value)+(f==null||f.length==0?0:f[0].value)+(g==null||g.length==0?0:g[0].value)+(h==null||h.length==0?0:h[0].value)+(i==null||i.length==0?0:i[0].value)+(j==null||j.length==0?0:j[0].value)+(k==null||k.length==0?0:k[0].value)+(l==null||l.length==0?0:l[0].value)+(m==null||m.length==0?0:m[0].value)+(n==null||n.length==0?0:n[0].value)+(o==null||o.length==0?0:o[0].value)+(p==null||p.length==0?0:p[0].value)+(q==null||q.length==0?0:q[0].value)+(r==null||r.length==0?0:r[0].value)+(s==null||s.length==0?0:s[0].value)+(t==null||t.length==0?0:t[0].value)+(u==null||u.length==0?0:u[0].value)+(v==null||v.length==0?0:v[0].value)+(w==null||w.length==0?0:w[0].value)+(x==null||x.length==0?0:x[0].value)+(y==null||y.length==0?0:y[0].value)+(z==null||z.length==0?0:z[0].value)+(aa==null||aa.length==0?0:aa[0].value)+(ab==null||ab.length==0?0:ab[0].value)+(ac==null||ac.length==0?0:ac[0].value)+(ad==null||ad.length==0?0:ad[0].value)+(ae==null||ae.length==0?0:ae[0].value)+(af==null||af.length==0?0:af[0].value)+(ag==null||ag.length==0?0:ag[0].value)+(ah==null||ah.length==0?0:ah[0].value)+(aj==null||aj.length==0?0:aj[0].value)+(ak==null||ak.length==0?0:ak[0].value)+(al==null||al.length==0?0:al[0].value)+(am==null||am.length==0?0:am[0].value)+(an==null||an.length==0?0:an[0].value)+(ao==null||ao.length==0?0:ao[0].value)+(ap==null||ap.length==0?0:ap[0].value)+(ar==null||ar.length==0?0:ar[0].value)+(as==null||as.length==0?0:as[0].value)+(at==null||at.length==0?0:at[0].value)+(au==null||au.length==0?0:au[0].value)+(av==null||av.length==0?0:av[0].value)+(aw==null||aw.length==0?0:aw[0].value)+(ax==null||ax.length==0?0:ax[0].value)+(ay==null||ay.length==0?0:ay[0].value)+(az==null||az.length==0?0:az[0].value)+(ba==null||ba.length==0?0:ba[0].value)+(bb==null||bb.length==0?0:bb[0].value)+(bc==null||bc.length==0?0:bc[0].value)+(bd==null||bd.length==0?0:bd[0].value)+(be==null||be.length==0?0:be[0].value)+(bf==null||bf.length==0?0:bf[0].value)+(bg==null||bg.length==0?0:bg[0].value)+(bh==null||bh.length==0?0:bh[0].value)+(bj==null||bj.length==0?0:bj[0].value)+(bk==null||bk.length==0?0:bk[0].value)+(bl==null||bl.length==0?0:bl[0].value)+(bm==null||bm.length==0?0:bm[0].value)+(bn==null||bn.length==0?0:bn[0].value)+(bo==null||bo.length==0?0:bo[0].value)+(bp==null||bp.length==0?0:bp[0].value)+(bq==null||bq.length==0?0:bq[0].value)+(br==null||br.length==0?0:br[0].value)+(bs==null||bs.length==0?0:bs[0].value)+(bt==null||bt.length==0?0:bt[0].value)+(bu==null||bu.length==0?0:bu[0].value)+(bv==null||bv.length==0?0:bv[0].value)+(bw==null||bw.length==0?0:bw[0].value)+(bx==null||bx.length==0?0:bx[0].value)+(by==null||by.length==0?0:by[0].value)+(bz==null||bz.length==0?0:bz[0].value)+(ca==null||ca.length==0?0:ca[0].value)+(cb==null||cb.length==0?0:cb[0].value)+(cc==null||cc.length==0?0:cc[0].value)+(cd==null||cd.length==0?0:cd[0].value)+(ce==null||ce.length==0?0:ce[0].value)+(cf==null||cf.length==0?0:cf[0].value)+(ch==null||ch.length==0?0:ch[0].value)+(cj==null||cj.length==0?0:cj[0].value)+(ck==null||ck.length==0?0:ck[0].value)+(cl==null||cl.length==0?0:cl[0].value)+(cm==null||cm.length==0?0:cm[0].value)+(cn==null||cn.length==0?0:cn[0].value)+(co==null||co.length==0?0:co[0].value)).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Tvh_Sh10_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :Tvh10_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :Tvh10_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :Tvh10_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh_Sh10_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pvh_Sh11_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :Pvh11_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :Pvh11_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :Pvh11_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh_Sh11_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_PPA_Pvh1": { "queries": { "u": "SELECT mean(value) as value FROM :8aea1b89-2545-4ba7-934d-133d132607dc: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "b31b0ee5-fbf4-4351-9a84-bef4ebcfbe32", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__zakachki_stokov_sut": { "queries": { "u": "SELECT max(value) as value FROM :fe94f297-10e8-453f-8ad6-86ff57690ef0: WHERE quality!=\'REPLACED\' and time >= {H[-8m]} and time < {H[+1h-8m]}" }, "cron": "0 12 8 * * ? *", "outputTag": "dd37a98e-5263-44e8-95a5-29a1ded7bb0a", "js": "return u[0].value.toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Pvh8_sum_day": { "queries": { "a": "SELECT mean(value) as value FROM :409d191d-594a-4ab0-a984-65ea5f6865c5: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 2 12 * * ? *", "outputTag": "Pvh8_sum_day", "js": "return(parseFloat(a[0].value)*10.19716).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_PPA_Pvh7": { "queries": { "u": "SELECT mean(value) as value FROM :9f7a7482-d27a-477a-979a-55fbc3e8b468: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "ae0c57f8-51c1-4cf5-a002-3b0f4c3aff6d", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__techn_pot_senom_month": { "queries": { "u": "SELECT last(value) as value FROM :doly_senom_all_month: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {H[+1h]}", "v": "SELECT last(value) as value FROM :techn_pot_q_month: where quality!=\'REPLACED\' and time >= {M<8h>[]} and time < {H[+1h]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "techn_pot_senom_month", "js": "return(u[0].value*v[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvh6": { "queries": { "u": "SELECT mean(value) as value FROM :ec98d0ed-ec49-4c81-94b5-ca098a59a609: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "c904e0fa-ae5d-45ae-a58b-d67bbc7d2916", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvh9": { "queries": { "u": "SELECT mean(value) as value FROM :eb2d3684-3110-453f-a9c8-f184f6e6f60e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "237b46a3-9b5e-477d-851a-69fa93e94c61", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA2_Tvh": { "queries": { "a": "SELECT mean(value) as value FROM :acb94c7e-d9e9-4b27-8a4c-7a31c672c599: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :c719b842-f713-4af5-8863-4c691ead2070: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa2: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "ff88fd22-2ab8-4fd4-b8ed-8e0476bb4a35", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Qsum_Skv174_OS": { "queries": { "raw": "select * from :412d6131-5a02-4436-b15b-1f10ce8f5b20: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :54605611-a0bf-416d-8fcf-0994a6691c3c: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "0 18 * * * ? *", "outputTag": "54605611-a0bf-416d-8fcf-0994a6691c3c", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_PPA_Pvh8": { "queries": { "u": "SELECT mean(value) as value FROM :f30a99e3-62b3-44af-8899-618a23ef2e32: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "6a1d2c51-8d78-490e-9b2c-da737bd41407", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvh3": { "queries": { "u": "SELECT mean(value) as value FROM :b11c30d4-a511-4346-834d-2c41f741fe57: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "cd966be4-7cb4-4c86-88b2-4dacd3489f1d", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvh2": { "queries": { "u": "SELECT mean(value) as value FROM :22ec3009-4bce-4483-ab3d-03c4658920c2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "af24fab5-f42f-4f59-ae7f-5d1f4defd92a", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvh5": { "queries": { "u": "SELECT mean(value) as value FROM :43cc7162-394c-4d68-ad81-605ac0ccae29: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "9b6ecfa4-bdde-4798-83a2-d287db80ed64", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvh4": { "queries": { "u": "SELECT mean(value) as value FROM :260f8e58-b665-4a7d-abcd-ef6fce1ae4a0: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "80a7324c-350d-4db2-9e3a-04977577a399", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv184_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :e8f1dfe9-70f2-499e-b164-736dbddd1a4c: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :879a6eb4-3c9f-4c80-90bf-195beb4e37b5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv184_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_Tvih_S1": { "queries": { "u": "SELECT mean(value) as value FROM :6e46041b-a5fb-4c5a-9a70-d9cfa231c6b0: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :056bc822-7a64-407a-a89a-938f998b5619: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "43b95de3-28d9-4f7f-834e-9fab0dcea381", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__gsn_i_poteri_q_day_hour": { "queries": { "raw": "select * from :gsn_i_poteri_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :gsn_i_poteri_q_day_hour: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {D<13h>[]}" }, "cron": "0 11 * * * ? *", "outputTag": "gsn_i_poteri_q_day_hour", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return(cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0)).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_Tvih_S3": { "queries": { "u": "SELECT mean(value) as value FROM :9beb2e15-dc72-48ee-b69a-ea9e1c584a3f: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :3fa93dc3-7258-47ba-8b80-7097d54bc0f2: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "3ee7b471-8a90-421a-83c3-c776c556a549", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_Tvih_S2": { "queries": { "u": "SELECT mean(value) as value FROM :3663af5a-b885-4b7c-a318-7d69e21a0b98: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :e61ad747-0a17-4959-b13a-b1b1db093570: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "1758e153-ef6e-4e15-9a05-b09fea984141", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_Tvih_S5": { "queries": { "u": "SELECT mean(value) as value FROM :3adbaebc-8f4c-4e20-a06e-9cffd376218b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :a60881cd-c9f4-473e-aa68-fc9c5119d544: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "17841739-07b3-40c8-aa41-cb55575a335b", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_Tvih_S4": { "queries": { "u": "SELECT mean(value) as value FROM :f699f23b-d7b9-49bf-8dc1-4993e9797171: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :4ff86215-7430-4274-a130-e9a47ff6662e: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "c29f6407-7f92-4022-8619-3ad426e6806e", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_Tvih_S7": { "queries": { "u": "SELECT mean(value) as value FROM :21f06101-a3a1-4cfc-bc12-19d7ad9a650f: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :17489b7e-8b79-4a52-8113-51c9385aac38: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "eb7e65f4-fb2f-48db-aa31-b301858202e3", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_Tvih_S6": { "queries": { "u": "SELECT mean(value) as value FROM :2fb0b7a5-ef7e-4956-bbdc-b6e5ba83e97f: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :cd4194f5-e9f4-4a4a-a2fa-5b87aed8e131: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "296fa54c-084a-4545-a2e8-b21b6394d635", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Pvh6_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :c904e0fa-ae5d-45ae-a58b-d67bbc7d2916: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :c904e0fa-ae5d-45ae-a58b-d67bbc7d2916: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :c904e0fa-ae5d-45ae-a58b-d67bbc7d2916: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh6_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__v_vodi_TN_year_accum_sut": { "queries": { "raw": "select last(value) as value from :731f0349-6a41-42a3-bb72-65390e8d6631: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select last(value) as value from :v_vodi_TN_year_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "v_vodi_TN_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 14750;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_Tvih_S8": { "queries": { "u": "SELECT mean(value) as value FROM :0a25273c-968c-4727-ab05-e3af7d4a7f8b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :c74b8acc-d559-4035-878f-96e1e85203a8: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "2a50f6fd-ff9e-4a18-80bd-3a6e7f7bcc47", "js": "if(v[0].value===0){return u[0].value}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__gsn_i_poteri_q_all_accum_hour_table": { "queries": { "raw": "select last(value) as value from :gsn_i_poteri_q_hour_table: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select last(value) as value from :gsn_i_poteri_q_all_accum_hour_table: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <{H[]}" }, "cron": "0 11 * * * ? *", "outputTag": "gsn_i_poteri_q_all_accum_hour_table", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);{if(dd.getFullYear()==2020&&dd.getMonth()==3&&dd.getDate()==15&&dd.getHours()==8)return 286318.164;else return(cum[0].value+raw[0].value).toFixed(3)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pvh_Sh7_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :Pvh7_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :Pvh7_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :Pvh7_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh_Sh7_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Tvh1_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :6d44e175-b09c-4257-a4e2-1c2239a644dd: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :6d44e175-b09c-4257-a4e2-1c2239a644dd: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :6d44e175-b09c-4257-a4e2-1c2239a644dd: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh1_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__sn_vz13_year_sut": { "queries": { "raw": "SELECT last(value) as value from :efda6c78-d81d-4457-b494-9fc1b3fe8582: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "cum": "select * from :sn_vz13_year_sut: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "sn_vz13_year_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 0;else return(cum[0].value+raw[0].value).toFixed(1)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "20_Q_1902": { "queries": { "u": "SELECT first(value) as value FROM :e1759e5a-4724-4f6e-ab23-08162cb98a33: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "66f0a316-4e3d-4be3-909f-4a865f211069", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA4_dP": { "queries": { "a": "SELECT mean(value) as value FROM :edc3a314-0131-4b34-b636-8f85de61794b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :e25d1d44-1972-44ed-a1c1-1acf575a4cbd: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa4: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "aa65fbc1-81e2-4c01-8fc7-6b934d66a3b9", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_Tvih_NK14": { "queries": { "u": "SELECT mean(value) as value FROM :eac1ddd5-3bb3-4524-9587-c123e4424c2c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "673b3221-8ac9-4f11-b6fd-641e5d440163", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__v_och_stokov_year": { "queries": { "a": "select (last(value)- first(value)) as value from :d32a9df2-c696-4745-94c9-ca8c45a20983: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+1s]}", "ad": "select last(value) as value from :b63a17a3-3d1b-47c8-af8e-9afb04021436: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[+1s]}", "e": "select (last(value)- first(value)) as value from :9c0ff94a-1fff-4f46-8a2e-e797ecd94a67: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+1s]}", "f": "select (last(value)- first(value)) as value from :f27ecdf2-811c-4718-8f2b-11531d3ed9f5: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+1s]}", "ld": "select last(value) as value from :8f40ad93-4f6c-4a72-ad18-4908c9d0d22f: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[+1s]}", "raw": "select last(value) as value from :prih_vms_hour: where quality!=\'REPLACED\' and time >= {H[-1h+1s]} and time < {H[+1s]}", "cum": "select * from :v_och_stokov_year: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h+24h>[]}", "v_uchet_vms": "select last(value) as value from :v_uchet_vms: where quality!=\'REPLACED\' and time >= {H[-1h+1s]} and time < {H[+1s]}", "raw1": "select last(value) as value from :af3e1e37-bc02-4fcd-b595-c9feaff84572: where quality!=\'REPLACED\' and time >= {H[-1h+1s]} and time < {H[+1s]}", "l": "select (last(value)- first(value)) as value from :c28a6554-12fe-4770-833a-6f42754e26d8: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+1s]}", "fd": "select last(value) as value from :0e6d0fd5-3ef7-4eb9-9911-60b902f7f9db: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[+1s]}", "ed": "select last(value) as value from :13e61480-2598-430e-b5c0-55f193a4030a: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[+1s]}" }, "cron": "0 12 8 * * ? *", "outputTag": "v_och_stokov_year", "js": "if(f==null||f.length==0){f=[{value:0}]}if(fd==null||fd.length==0){fd=[{value:0}]}if(l==null||l.length==0){l=[{value:0}]}if(ld==null||ld.length==0){ld=[{value:0}]}if(a==null||a.length==0){a=[{value:0}]}if(ad==null||ad.length==0){ad=[{value:0}]}if(e==null||e.length==0){e=[{value:0}]}if(ed==null||ed.length==0){ed=[{value:0}]}if(raw==null||raw.length==0){raw=[{value:0}]}if(raw1==null||raw1.length==0){raw1=[{value:0}]}if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(cum[0].time);if(dd.getFullYear()==2019&&dd.getMonth()==8&&dd.getDate()==30)return 59808;else{if(v_uchet_vms!=null&&v_uchet_vms.length==1&&v_uchet_vms[0].value==1)return(cum[0].value+f[0].value+fd[0].value+l[0].value+ld[0].value+a[0].value+ad[0].value+e[0].value+ed[0].value+raw[0].value+raw1[0].value).toFixed(2);else{if(f[0].value+fd[0].value<1e-10&&l[0].value+ld[0].value>1e-10)return(cum[0].value+f[0].value+fd[0].value+l[0].value+ld[0].value+a[0].value+ad[0].value+e[0].value+ed[0].value+raw[0].value+raw1[0].value).toFixed(2);else return(cum[0].value+f[0].value+fd[0].value+l[0].value+ld[0].value+a[0].value+ad[0].value+e[0].value+ed[0].value).toFixed(2)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_A7_dP": { "queries": { "u": "SELECT mean(value) as value FROM :946da94b-54cf-463b-b3e7-ee3fe9dccd5a: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :7a486a26-b956-4bcd-9880-5a5a9a50737e: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "bd04af63-94c4-48bb-8633-00f695f75dd6", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Tvh_Sh8_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :Tvh8_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :Tvh8_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :Tvh8_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh_Sh8_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA3_Tvih": { "queries": { "a": "SELECT mean(value) as value FROM :a47d08db-304d-4df4-9c0a-a59c4277840b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :037f69e3-75ff-4042-89b9-db9ebbcd429b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa3: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "5bc40f4b-2128-4fd9-945e-d819b41c075c", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvh10": { "queries": { "u": "SELECT mean(value) as value FROM :740f087b-8c12-4501-9f59-aea9cddc8a99: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "3c043108-6d05-4b51-be1a-12fa45d5b810", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvh11": { "queries": { "u": "SELECT mean(value) as value FROM :172781f7-c897-443c-b089-9953c75d4027: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "ec0f9af8-11d0-4a75-bbee-bf0e50015be5", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__kol_skv_10d": { "queries": { "a": "SELECT last(value) as value FROM :0f56ea50-726e-4c1b-bc92-99f2e3965a6c: where quality!=\'REPLACED\' and time < {M<13h>[+10d]}", "b": "SELECT last(value) as value FROM :0f56ea50-726e-4c1b-bc92-99f2e3965a6c: where quality!=\'REPLACED\' and time < {M<13h>[+20d]}", "c": "SELECT last(value) as value FROM :0f56ea50-726e-4c1b-bc92-99f2e3965a6c: where quality!=\'REPLACED\' and time < {M<13h>[+1M]}" }, "cron": "0 0 12 1,11,21 * ? *", "outputTag": "kol_skv_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(0);case 21:return b[0].value.toFixed(0);case 1:return c[0].value.toFixed(0);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_PPA_Pvh12": { "queries": { "u": "SELECT mean(value) as value FROM :efa18eae-64e5-4d97-8dee-27e70c2788f2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "f9f05ab4-f585-4b19-95d2-8e9229561e48", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA5_Nst": { "queries": { "u": "SELECT mean(value) as value FROM :e606c24a-5134-406a-b251-a8ded5121027: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa5: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "f2e88e04-1af2-4968-96c3-8e06f7a82350", "js": "if(v[0].value===0){if(u[0].value>3000){return u[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA1_Ngg": { "queries": { "a": "SELECT mean(value) as value FROM :68af5dd7-8cee-4861-bdae-64ed59a52437: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :585193b9-86bb-430f-a929-1a8d1ef63806: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa1: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "c5598fe9-50e9-47be-8e6a-64d010a1d68d", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "T_R35": { "queries": { "u": "SELECT mean(value) as value FROM :b9f9b0c3-cb05-4b9a-afc2-24b177f93afc: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e8c74c2c-2d4c-458c-873f-2c9bad2b45f9: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "202e54eb-361a-4f4d-a33f-c104bd418d39", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA6_Rc": { "queries": { "a": "SELECT mean(value) as value FROM :909ce3ba-9636-4959-8e4b-f8a2d0638b6a: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :bca4aaf0-06aa-4f79-b3af-0baa583c06b2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa6: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "00199d18-b196-40e5-b70e-50443dc862e0", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__ukpg_kot_g_sut": { "queries": { "u": "SELECT sum(value) as value FROM :ukpg_kot_g_q_hour: WHERE quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "ukpg_kot_g_sut", "js": "return(u[0].value*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__met_ukpg_ostatok": { "queries": { "u4": "select last(value) as value from :fcbe0260-82cd-4088-a299-9b9e8a2574ec: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "u1": "select last(value) as value from :5f7730e4-24e0-476d-b9bc-caa5a761ca03: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}", "u2": "select sum(value) as value from :179be9df-4c7e-4d90-8a81-de43c8034511: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "u3": "select last(value) as value from :a4c08d92-3699-4616-9f94-e0255f83a5b7: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}", "u5": "select last(value) as value from :proch_rash_ukpg: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}" }, "cron": "0 10 12 * * ? *", "outputTag": "5f7730e4-24e0-476d-b9bc-caa5a761ca03", "js": "return((u1==null||u1.length==0?0:u1[0].value)+(u2==null||u2.length==0?0:u2[0].value)-(u3==null||u3.length==0?0:u3[0].value)-(u4==null||u4.length==0?0:u4[0].value)-(u5==null||u5.length==0?0:u5[0].value)).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__gsn_i_poteri_q_year_accum_sut": { "queries": { "raw": "select sum(value) as value from :gsn_q_sut: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1d]}", "cum": "select * from :gsn_i_poteri_q_year_accum_sut: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 11 8 * * ? *", "outputTag": "gsn_i_poteri_q_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 202524522;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_A7_Tvih": { "queries": { "u": "SELECT mean(value) as value FROM :b430febf-d982-459b-844b-2da18e38c574: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :7a486a26-b956-4bcd-9880-5a5a9a50737e: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "3594b72c-0632-42d5-acf2-28dd1db15508", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_Tvih_TP": { "queries": { "u": "SELECT mean(value) as value FROM :888a0755-40a2-409a-92d3-594670123ab1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "0b44a298-18bc-4a7f-ad1d-61c0ad9f924f", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "20_T1512_184": { "queries": { "u": "SELECT mean(value) as value FROM :da37cbe2-c597-4b68-a4b5-2da1f4a52847: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :879a6eb4-3c9f-4c80-90bf-195beb4e37b5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "893116da-c112-414b-80da-983709d926c2", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "02_TG_Pvih": { "queries": { "u": "SELECT mean(value) as value from (SELECT last(value) as value FROM :a2d8a7c3-59f0-4ff8-91cc-5a2309215363: where quality!=\'REPLACED\' and time >= {D<12h>[-1d]} and time < {D<12h>[]} group by time(1h))" }, "cron": "0 0 12 * * ? *", "outputTag": "TG_Pvih_02", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__UKPG_year_accum_sut": { "queries": { "raw": "SELECT last(value) as value from :ukpg_g_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "cum": "select * from :UKPG_year_accum_sut: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "UKPG_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 818809;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Ersh80C_year_accum_sut": { "queries": { "raw": "select last(value) as value from :7d7f1f8b-5b8f-4c96-b63f-532c233f29a6: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select last(value) as value from :Ersh80C_year_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "Ersh80C_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 0;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Pvh3_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :cd966be4-7cb4-4c86-88b2-4dacd3489f1d: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :cd966be4-7cb4-4c86-88b2-4dacd3489f1d: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :cd966be4-7cb4-4c86-88b2-4dacd3489f1d: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh3_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__met_rashod_po_norme_day": { "queries": { "a": "SELECT sum(value) as value FROM :gsn_q_sut: where quality!=\'REPLACED\' and time >= {H[-1d-4h+1s]} and time < {H[-4h+1s]}", "b": "SELECT sum(value) as value FROM :tovg_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "c": "SELECT last(value) as value FROM :5be8207f-3668-4cf6-95bb-bfc4566d4ffd: where quality!=\'REPLACED\' and time < {H[+1s]}" }, "cron": "0 30 12 * * ? *", "outputTag": "met_rashod_po_norme_day", "js": "return(a[0].value/1000+b[0].value/1000)*c[0].value/1000000;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__dob_vodi_skv3_year_plan": { "queries": { "raw": "SELECT sum(value) as value from :1fdbf45c-1093-4914-90b8-e21b735ab0d0: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cum": "select * from :dob_vodi_skv3_year_plan: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "dob_vodi_skv3_year_plan", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==1&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==9&&dd.getDate()==31&&dd.getHours()==8)return 14504;else return(cum[0].value+raw[0].value).toFixed(1)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_Pvih_VK14": { "queries": { "u": "SELECT mean(value) as value FROM :b61a1e26-2f7b-478d-b108-c33bc169140d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "1a683a1e-0a4a-4d7e-8121-5a872346c6f8", "js": "return(u[0].value*10.197).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_A5_Tvih": { "queries": { "u": "SELECT mean(value) as value FROM :0a5fb8c2-e37d-493b-bbe9-3aca5a89d5e7: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :b9d83257-254a-49f5-ad31-e15c1d0e2e5f: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "585e8a7c-2cc2-4731-961e-65df60831931", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA8_Pvih": { "queries": { "a": "SELECT mean(value) as value FROM :5175138b-eb13-4d5e-b322-641ee46006ba: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :a7ad73c0-4421-453f-9bf9-8bf5a4b5ff09: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa8: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "38c37c49-9078-49a7-a213-65c8ce8196ec", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_A2_Pvih": { "queries": { "u": "SELECT mean(value) as value FROM :490a483c-0561-4c4b-bd7e-b9fb4390c440: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :4e4830cb-1ff8-44e8-bb9a-56bdffe6515b: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "2e485bdc-332f-4b47-9274-58093ce4b58c", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA8_Ngg": { "queries": { "a": "SELECT mean(value) as value FROM :0213dad5-b4ba-4839-8f1a-d59a5a48bd0c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :a7ad73c0-4421-453f-9bf9-8bf5a4b5ff09: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa8: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "6f30176a-ca7c-48f6-80be-0b1bd0e86338", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Tvh2_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :2134b216-8199-443e-b1af-51580a2e38cf: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :2134b216-8199-443e-b1af-51580a2e38cf: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :2134b216-8199-443e-b1af-51580a2e38cf: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh2_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__esn_g_sut": { "queries": { "u": "SELECT sum(value) as value FROM :esn_g_q_hour: WHERE quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "esn_g_sut", "js": "return(u[0].value*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__gsn_i_poteri_q_month_accum_hour": { "queries": { "raw": "select last(value) as value from :gsn_i_poteri_q_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select last(value) as value from :gsn_i_poteri_q_month_accum_hour: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <{H[]}" }, "cron": "0 11 * * * ? *", "outputTag": "gsn_i_poteri_q_month_accum_hour", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getDate()==1&&dd.getHours()==9)return raw[0].value.toFixed(3);else return(cum[0].value+raw[0].value).toFixed(3)}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__rezerv_q_skv": { "queries": { "u": "SELECT last(value) as value FROM :q_optim_hour: where quality!=\'REPLACED\' and time <= {T[]}", "v": "SELECT last(value) as value FROM :7540b5fc-c21c-44a5-a7de-e07b40032027: where quality!=\'REPLACED\' and time <= {T[]}" }, "cron": "0 10 * * * ? *", "outputTag": "rezerv_q_skv", "js": "return(u[0].value-v[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__gsn_q_sut_1000": { "queries": { "u": "SELECT first(value) as value FROM :gsn_q_sut: where quality!=\'REPLACED\' and time = {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "gsn_q_sut_1000", "js": "return(u[0].value/1000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Qsum_Skv174_BS": { "queries": { "raw": "select * from :36d1e243-b7e7-476d-a561-ee688f24938a: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :b51abac5-1c54-4711-a1b9-eea0a9fefe56: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "0 18 * * * ? *", "outputTag": "b51abac5-1c54-4711-a1b9-eea0a9fefe56", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__gsn_poter_q_year_accum_month": { "queries": { "raw": "select sum(value) as value from :gsn_poter_q_sut: where quality!=\'REPLACED\' and time >= {M<8h>[-1M+1s]} and time < {M<8h>[+1s]}", "cum": "select * from :gsn_poter_q_year_accum_month: where quality!=\'REPLACED\' and time = {H[-1M]} and time >= {Y<8h>[-1M]}" }, "cron": "0 11 8 1 * ? *", "outputTag": "gsn_poter_q_year_accum_month", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==1&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==9&&dd.getDate()==1&&dd.getHours()==8)return(177886397+raw[0].value).toFixed(0);else return((cum[0].value+raw[0].value)/1000).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1302": { "queries": { "u": "SELECT mean(value) as value FROM :0e63b840-d1ff-4d3a-948c-c84bddaae889: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :c807253a-7d2d-46f9-86c4-f47a269b7922: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "f8c7a748-accc-42be-9f86-e54909a2ac72", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1303": { "queries": { "u": "SELECT mean(value) as value FROM :d2860c43-1683-41fb-8ef1-02c9effa29d9: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :854c1e56-27b8-44b5-b1f2-3e6383b2c29f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "badcdfac-9b00-4146-a26d-22155163b687", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1304": { "queries": { "u": "SELECT mean(value) as value FROM :a665f3f7-5579-4aa2-890c-9b133e7699d9: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :89a92b68-f6dd-4611-88d2-99d5c7972b13: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "2ac1085b-b9fd-4b38-908d-e45a91a80ff0", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Tvh7_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :4d7901f8-989c-44c2-a6ae-a307eef97438: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :4d7901f8-989c-44c2-a6ae-a307eef97438: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :4d7901f8-989c-44c2-a6ae-a307eef97438: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh7_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__GPA_Rc_max": { "queries": { "Rc2": "SELECT max(value) as value FROM :6090f1b9-4541-4089-9f58-18adeddb0374: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "Rc1": "SELECT max(value) as value FROM :2520b9ea-2f89-4d2a-ae50-f5f682cd4d83: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "Rc4": "SELECT max(value) as value FROM :ee1cda78-6a11-470b-b29c-c853659ca5f8: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "Rc3": "SELECT max(value) as value FROM :1631dfc0-5c98-4584-8ed7-69865cf527cf: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "Rc6": "SELECT max(value) as value FROM :00199d18-b196-40e5-b70e-50443dc862e0: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "Rc5": "SELECT max(value) as value FROM :3f322775-a749-4289-898f-2688c7838b8d: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "Rc8": "SELECT max(value) as value FROM :33ca7cd2-e9de-480c-bd1c-e37da5207c43: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "Rc7": "SELECT max(value) as value FROM :895e4f40-7794-4ccc-adf6-74fafef3f96a: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "GPA_Rc_max", "js": "if(Rc1==null||Rc1.length==0){Rc1=[{value:0}]};if(Rc2==null||Rc2.length==0){Rc2=[{value:0}]};if(Rc3==null||Rc3.length==0){Rc3=[{value:0}]};if(Rc4==null||Rc4.length==0){Rc4=[{value:0}]};if(Rc5==null||Rc5.length==0){Rc5=[{value:0}]};if(Rc6==null||Rc6.length==0){Rc6=[{value:0}]};if(Rc7==null||Rc7.length==0){Rc7=[{value:0}]};if(Rc8==null||Rc8.length==0){Rc8=[{value:0}]};var data=[Rc1,Rc2,Rc3,Rc4,Rc5,Rc6,Rc7,Rc8];var m=null;data.forEach(function(s){if(m<s[0].value){m=s[0].value}});return m;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__prih_vms_all_accum_hour": { "queries": { "raw": "select last(value) as value from :prih_vms_hour: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}", "cum": "select last(value) as value from :prih_vms_all_accum_hour: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "prih_vms_all_accum_hour", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);{if(dd.getFullYear()==2019&&dd.getMonth()==9&&dd.getDate()==1)return 98633.98;else return(cum[0].value+raw[0].value).toFixed(2)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA3_Pvh": { "queries": { "a": "SELECT mean(value) as value FROM :195ec045-56bc-4998-b19c-45bfdc0f30e8: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :037f69e3-75ff-4042-89b9-db9ebbcd429b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa3: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "ddc21430-0b38-417f-a98d-86bd40f57d9b", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "20_T_184": { "queries": { "u": "SELECT mean(value) as value FROM :ea168eac-6cb9-4c68-be53-2949874aa374: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :879a6eb4-3c9f-4c80-90bf-195beb4e37b5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "afd27e27-86a5-4bdc-b4b1-e86d52a91c87", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Pvh8_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :6a1d2c51-8d78-490e-9b2c-da737bd41407: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :6a1d2c51-8d78-490e-9b2c-da737bd41407: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :6a1d2c51-8d78-490e-9b2c-da737bd41407: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh8_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S1404": { "queries": { "u": "SELECT first(value) as value FROM :3051b12e-bc8f-4d02-bbc0-48bcee099811: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "7498faa1-a822-4893-ade3-6821e656c28e", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "20_T_OS": { "queries": { "u": "SELECT mean(value) as value FROM :4921b610-4f51-4591-98cf-3fe7c740593a: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :bf23d73c-089d-42f8-a7ee-145a0f858b01: where quality!=\'REPLACED\' and time >= {H[+21m]} and time < {H[+1h]}" }, "cron": "0 23 * * * ? *", "outputTag": "bdaca3b6-dd3d-459f-b36d-9d957fd7919a", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S1401": { "queries": { "u": "SELECT first(value) as value FROM :2115351c-4b88-4841-b75e-d1807e8b425f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "0918df29-8e22-4215-8819-518655cdbb9c", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1403": { "queries": { "u": "SELECT first(value) as value FROM :24395e12-d3d1-4385-b5d8-6ec1a00dc311: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "60bb5d91-6e59-4802-a071-1e668c2da0df", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1402": { "queries": { "u": "SELECT first(value) as value FROM :f46c14c8-c7d6-40db-8ff3-ddcc22fa4324: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "4b5e16a9-849c-413f-8c57-1c400ab595ff", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA4_Tvih": { "queries": { "a": "SELECT mean(value) as value FROM :42bd76f2-512d-4d23-94f7-34e0dd26035c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :e25d1d44-1972-44ed-a1c1-1acf575a4cbd: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa4: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "245e7d79-ed70-4817-9197-5f9f1b0fbad2", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA1_Tvh": { "queries": { "a": "SELECT mean(value) as value FROM :33bacb73-95fc-441c-9e5f-eb89b5adda1d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :585193b9-86bb-430f-a929-1a8d1ef63806: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa1: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "cef61134-a2b3-4d40-b5ac-942f515f96b8", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "20_Q_184": { "queries": { "u": "SELECT first(value) as value FROM :879a6eb4-3c9f-4c80-90bf-195beb4e37b5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "cd9319cd-0478-4f20-9c10-d5355a575b03", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__tp_p_vh_hour": { "queries": { "u": "SELECT mean(value) as value FROM :dc7da3e1-d194-484d-892c-9788cb163da9: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "tp_p_vh_hour", "js": "return(u[0].value*10.197).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__dob_vodi_skv1_year_plan": { "queries": { "raw": "SELECT sum(value) as value from :d6643bce-e8a2-4d4e-94c8-d1d0d22d843a: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cum": "select * from :dob_vodi_skv1_year_plan: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "dob_vodi_skv1_year_plan", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==1&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==9&&dd.getDate()==31&&dd.getHours()==8)return 23729;else return(cum[0].value+raw[0].value).toFixed(1)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA4_Nst": { "queries": { "u": "SELECT mean(value) as value FROM :e25d1d44-1972-44ed-a1c1-1acf575a4cbd: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa4: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "e316690f-1c52-4b08-8499-bc3fa645299b", "js": "if(v[0].value===0){if(u[0].value>3000){return u[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__tg_AO_Gazprom": { "queries": { "u": "SELECT last(value) as value FROM :tovg_q_month: where quality!=\'REPLACED\' and time <= {M<12h>[]}", "v": "SELECT last(value) as value FROM :57e1a1e9-0db8-472f-9a46-3d24cd250c93: where quality!=\'REPLACED\' and time < {M<12h>[]}" }, "cron": "0 10 12 1 * ? *", "outputTag": "tg_AO_Gazprom", "js": "return(u[0].value*v[0].value/100000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_A1_TEG": { "queries": { "u": "SELECT mean(value) as value FROM :f99011ee-0da6-4d41-8c16-4975ecc8f3b9: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :1fa080c1-c29d-4cbe-a98c-60f3c08a0547: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "88afa39f-cc8a-49f7-ae07-0197d9073a27", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Qsum_Skv1402": { "queries": { "raw": "select * from :4b5e16a9-849c-413f-8c57-1c400ab595ff: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :0c264861-eb90-41ef-8b01-b7e6d3daa467: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 10 * * * ? *", "outputTag": "0c264861-eb90-41ef-8b01-b7e6d3daa467", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1101_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :bb537417-752f-4d5e-a613-1fc3cf73998e: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :1dfff048-6978-454e-81ed-a1206d24a89d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1101_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1403": { "queries": { "raw": "select * from :60bb5d91-6e59-4802-a071-1e668c2da0df: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :6f9a96d8-6325-40e3-a31a-a1140d87ff89: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 10 * * * ? *", "outputTag": "6f9a96d8-6325-40e3-a31a-a1140d87ff89", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1301": { "queries": { "u": "SELECT mean(value) as value FROM :fb88c049-13a4-4731-9206-884ef65f0fe2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :bdf3675e-f57b-4999-8955-cc34f9849906: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "f8f3c507-31f1-425d-bf05-e4fac8563092", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1401": { "queries": { "raw": "select * from :0918df29-8e22-4215-8819-518655cdbb9c: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :7168234c-c7c1-4206-95a6-7a239bb641e4: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 10 * * * ? *", "outputTag": "7168234c-c7c1-4206-95a6-7a239bb641e4", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_Q_SN": { "queries": { "u": "SELECT first(value) as value FROM :c1663cfb-866a-44d6-ba20-e9ee8c20f29a: where quality!=\'REPLACED\' and time >= {H[+8m]} and time < {H[+1h+8m]}" }, "cron": "30 10 * * * ? *", "outputTag": "cf31c3d1-8de7-43bf-b696-f064282b5daf", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__gsn_i_poteri_q_month_accumul_hour_table": { "queries": { "raw": "select sum(value) as value from :gsn_i_poteri_q_hour_table: where quality!=\'REPLACED\' and time >= {D<12h>[+1s]} and time < {H[+1s]}", "cum": "select last(value) as value from :gsn_i_poteri_q_month_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}" }, "cron": "0 11 * * * ? *", "outputTag": "gsn_i_poteri_q_month_accumul_hour_table", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value/1000}else{return(cum[0].value/1000+raw[0].value).toFixed(3)}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Pvh9_sum_day": { "queries": { "a": "SELECT mean(value) as value FROM :d7cea52b-1d15-4d4f-8596-5586b052cced: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 2 12 * * ? *", "outputTag": "Pvh9_sum_day", "js": "return(parseFloat(a[0].value)*10.19716).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1401": { "queries": { "u": "SELECT mean(value) as value FROM :ea471728-9427-4e70-afc5-0a276a768f2d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :2115351c-4b88-4841-b75e-d1807e8b425f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "4e90c553-69a2-485d-9078-f42d2c079a71", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1402": { "queries": { "u": "SELECT mean(value) as value FROM :97a36b31-ca93-41e6-a434-c8f9720cbaa8: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :f46c14c8-c7d6-40db-8ff3-ddcc22fa4324: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "da0674ef-f182-4ee6-a192-44586b69daa3", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1403": { "queries": { "u": "SELECT mean(value) as value FROM :bdb106cb-1cd8-4774-80d3-5c1c0e1cc074: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :24395e12-d3d1-4385-b5d8-6ec1a00dc311: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "58d2d3a0-a45c-4ce6-8fab-7ba6de20a807", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__prih_vms_obsh": { "queries": { "a": "SELECT first(value) as value FROM :b0ea5ae1-4a5c-454f-999d-4d163d8e5104: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-5m]}" }, "cron": "0 12 8 * * ? *", "outputTag": "prih_vms_obsh", "js": "return a[0].value.toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Qsum_Skv1404": { "queries": { "raw": "select * from :7498faa1-a822-4893-ade3-6821e656c28e: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :00c22191-293d-43c6-a0b0-8a148cb3417d: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 10 * * * ? *", "outputTag": "00c22191-293d-43c6-a0b0-8a148cb3417d", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1404": { "queries": { "u": "SELECT mean(value) as value FROM :6d673aef-1309-4687-abad-8a8daf8f2daf: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :3051b12e-bc8f-4d02-bbc0-48bcee099811: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "8fb45d48-6cf9-4ca4-9892-b1c64cc4e2be", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__vp_g_sut": { "queries": { "u": "SELECT sum(value) as value FROM :vp_prombaza_g_q_hour: WHERE quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "vp_g_sut", "js": "return(u[0].value*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Tvh8_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :503160fd-97c0-4016-bf75-bc2ef0039c2f: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :503160fd-97c0-4016-bf75-bc2ef0039c2f: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :503160fd-97c0-4016-bf75-bc2ef0039c2f: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh8_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__techn_poteri_q_year_accum_month": { "queries": { "raw": "select sum(value) as value from :techn_poteri_q_sut: where quality!=\'REPLACED\' and time >= {M<8h>[-1M+1s]} and time < {M<8h>[+1s]}", "cum": "select * from :techn_poteri_q_year_accum_month: where quality!=\'REPLACED\' and time = {H[-1M]} and time >= {Y<8h>[-1M]}" }, "cron": "0 12 8 1 * ? *", "outputTag": "techn_poteri_q_year_accum_month", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==1&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==8&&dd.getDate()==1&&dd.getHours()==8)return 580.174;else return(cum[0].value+raw[0].value).toFixed(3)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__p_line1_m": { "queries": { "u": "SELECT last(value) as value FROM :a97ea398-b2a9-4ffa-a526-ec56f337eb62: where quality!=\'REPLACED\' and time >= {H[-1h+5m]} and time < {H[]}" }, "cron": "0 3 * ? * * *", "outputTag": "p_line1_m", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA3_Nst": { "queries": { "u": "SELECT mean(value) as value FROM :037f69e3-75ff-4042-89b9-db9ebbcd429b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa3: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "18fb6429-aad5-496c-b13e-f4660a9fb5fe", "js": "if(v[0].value===0){if(u[0].value>3000){return u[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__FLOTTWEG_year_accum_sut": { "queries": { "raw": "select last(value) as value from :40e4903d-53b4-4680-9443-ba21661f901e: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select last(value) as value from :FLOTTWEG_year_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "FLOTTWEG_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 39727;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA2_dP": { "queries": { "a": "SELECT mean(value) as value FROM :0ba1807a-794e-406f-8963-d1ab9c07c28d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :c719b842-f713-4af5-8863-4c691ead2070: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa2: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "e08a8b62-bcd6-4838-9c41-5fe4d65679f5", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__val_q_all_accum_hour": { "queries": { "raw": "select sum(value) as value from :gsn_i_poteri_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d-4h+1s]} and time < {H[-4h+1s]}", "cum": "select * from :val_q_all_accum_hour: where quality!=\'REPLACED\' and time = {H[-1d]}", "raw1": "select sum(value) as value from :tovg_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[1s]}" }, "cron": "0 12 12 * * ? *", "outputTag": "val_q_all_accum_hour", "js": "if(raw==null||raw.length==0){raw=[{value:0}]}if(raw1==null||raw1.length==0){raw1=[{value:0}]}if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(cum[0].time);if(dd.getFullYear()==2019&&dd.getMonth()==8&&dd.getDate()==30)return 284073556015;else return(cum[0].value+raw[0].value*1000+raw1[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_Qtg": { "queries": { "u": "SELECT first(value) as value FROM :a3b1ecd0-157b-4c2d-a79b-6a7f9c4cc636: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 8 * * * ? *", "outputTag": "259be5b6-993d-4ca5-bc7a-bb277e71826e", "js": "return u[0].value/1000;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__v_och_stokov_sut": { "queries": { "a": "select (last(value)- first(value)) as value from :d32a9df2-c696-4745-94c9-ca8c45a20983: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+1s]}", "ad": "select last(value) as value from :b63a17a3-3d1b-47c8-af8e-9afb04021436: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[+1s]}", "e": "select (last(value)- first(value)) as value from :9c0ff94a-1fff-4f46-8a2e-e797ecd94a67: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+1s]}", "f": "select (last(value)- first(value)) as value from :f27ecdf2-811c-4718-8f2b-11531d3ed9f5: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+1s]}", "ld": "select last(value) as value from :8f40ad93-4f6c-4a72-ad18-4908c9d0d22f: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[+1s]}", "raw": "select last(value) as value from :prih_vms_hour: where quality!=\'REPLACED\' and time >= {H[-1h+1s]} and time < {H[+1s]}", "v_uchet_vms": "select last(value) as value from :v_uchet_vms: where quality!=\'REPLACED\' and time >= {H[-1h+1s]} and time < {H[+1s]}", "raw1": "select last(value) as value from :af3e1e37-bc02-4fcd-b595-c9feaff84572: where quality!=\'REPLACED\' and time >= {H[-1h+1s]} and time < {H[+1s]}", "l": "select (last(value)- first(value)) as value from :c28a6554-12fe-4770-833a-6f42754e26d8: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+1s]}", "fd": "select last(value) as value from :0e6d0fd5-3ef7-4eb9-9911-60b902f7f9db: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[+1s]}", "ed": "select last(value) as value from :13e61480-2598-430e-b5c0-55f193a4030a: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[+1s]}" }, "cron": "0 12 8 * * ? *", "outputTag": "v_och_stokov_sut", "js": "if(f==null||f.length==0){f=[{value:0}]}if(fd==null||fd.length==0){fd=[{value:0}]}if(l==null||l.length==0){l=[{value:0}]}if(ld==null||ld.length==0){ld=[{value:0}]}if(a==null||a.length==0){a=[{value:0}]}if(ad==null||ad.length==0){ad=[{value:0}]}if(e==null||e.length==0){e=[{value:0}]}if(ed==null||ed.length==0){ed=[{value:0}]}if(raw==null||raw.length==0){raw=[{value:0}]}if(raw1==null||raw1.length==0){raw1=[{value:0}]}var res=f[0].value+fd[0].value+l[0].value+ld[0].value+a[0].value+ad[0].value+e[0].value+ed[0].value;if(v_uchet_vms!=null&&v_uchet_vms.length==1&&v_uchet_vms[0].value==1)return(res+raw[0].value+raw1[0].value).toFixed(2);else{if(f[0].value+fd[0].value<1e-10&&l[0].value+ld[0].value>1e-10)return(res+raw[0].value+raw1[0].value).toFixed(2);else return res.toFixed(2)}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_R51": { "queries": { "u": "SELECT mean(value) as value FROM :94f38dbe-697f-4ece-8dc7-297b95566f9f: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :60bccc2e-335d-4e2f-a01d-604ff512fd6e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "88714638-f8dd-4fa4-beb3-585e569d3b08", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Tvh_Sh7_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :Tvh7_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :Tvh7_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :Tvh7_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh_Sh7_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_R35": { "queries": { "raw": "select * from :009c9727-965d-46a4-967a-754f37807606: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :c610c9f2-f714-4656-a363-f1897d7ac155: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "c610c9f2-f714-4656-a363-f1897d7ac155", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1104_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :5fd7e991-5656-4697-b9d3-ca7e4d01d2a2: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :b839a052-5f60-4a83-88bd-d89b93ffe834: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1104_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__tovg_p_vih_hour": { "queries": { "u": "SELECT first(value) as value FROM :a2d8a7c3-59f0-4ff8-91cc-5a2309215363: where quality!=\'REPLACED\' and time >= {H[5m]} and time < {H[+1h-1m]}" }, "cron": "0 10 * * * ? *", "outputTag": "tovg_p_vih_hour", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__sost_gpa1": { "queries": { "u": "SELECT last(value) as value FROM :f1cf9f62-9ed3-4f11-bcd1-8cecbe9124c3: where quality!=\'REPLACED\' and time >= {H[-1h+5m]} and time < {H[]}" }, "cron": "0 0 * ? * * *", "outputTag": "sost_gpa1", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__tovg_q_all_accum_hour": { "queries": { "raw": "select sum(value) as value from :tovg_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cum": "select * from :tovg_q_all_accum_hour: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}" }, "cron": "0 12 12 * * ? *", "outputTag": "tovg_q_all_accum_hour", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);{if(dd.getFullYear()==2019&&dd.getMonth()==6&&dd.getDate()==1&&dd.getHours()==12)return 277226309077;else return(cum[0].value+raw[0].value).toFixed(3)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__sost_gpa3": { "queries": { "u": "SELECT last(value) as value FROM :6a4c8e8b-1674-4e4f-b0cf-48ff9ee0bdaa: where quality!=\'REPLACED\' and time >= {H[-1h+5m]} and time < {H[]}" }, "cron": "0 0 * ? * * *", "outputTag": "sost_gpa3", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GTEB3_year_accum_sut": { "queries": { "raw": "SELECT sum(value) as value from :e60a88d2-1241-42ba-b515-982647557387: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cum": "select * from :GTEB3_year_accum_sut: where quality!=\'REPLACED\' and time >= {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "GTEB3_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==1&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==9&&dd.getDate()==31&&dd.getHours()==8)return 5603080;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__sost_gpa2": { "queries": { "u": "SELECT last(value) as value FROM :d7f6ef16-eb7f-42ad-90b5-43c77e6e2005: where quality!=\'REPLACED\' and time >= {H[-1h+5m]} and time < {H[]}" }, "cron": "0 0 * ? * * *", "outputTag": "sost_gpa2", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__sost_gpa5": { "queries": { "u": "SELECT last(value) as value FROM :5729ffdd-9157-491b-a350-ea085a7f3b06: where quality!=\'REPLACED\' and time >= {H[-1h+5m]} and time < {H[]}" }, "cron": "0 0 * ? * * *", "outputTag": "sost_gpa5", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__sost_gpa4": { "queries": { "u": "SELECT last(value) as value FROM :a9536f4d-95be-4031-b027-4e676f78798d: where quality!=\'REPLACED\' and time >= {H[-1h+5m]} and time < {H[]}" }, "cron": "0 0 * ? * * *", "outputTag": "sost_gpa4", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__ukpg_g_sut": { "queries": { "u": "SELECT sum(value) as value FROM :ukpg_g_q_hour: WHERE quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}" }, "cron": "0 12 8 * * ? *", "outputTag": "ukpg_g_sut", "js": "return(u[0].value*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__met_ppum_ostatok": { "queries": { "u1": "select last(value) as value from :f20dafa2-eb3e-4324-9a52-ec322bc9c4aa: where quality!=\'REPLACED\' and time >= {H[-1d]} and time <{H[]}", "u2": "select last(value) as value from :fcbe0260-82cd-4088-a299-9b9e8a2574ec: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "u3": "select last(value) as value from :d7042d1a-7cf2-4b7c-856d-1aca06b4339d: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "u4": "select last(value) as value from :bf3ee392-d899-4cf8-92a6-0d261e4243e9: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 10 12 * * ? *", "outputTag": "f20dafa2-eb3e-4324-9a52-ec322bc9c4aa", "js": "return((u1==null||u1.length==0?0:u1[0].value)+(u2==null||u2.length==0?0:u2[0].value)-(u3==null||u3.length==0?0:u3[0].value)-(u4==null||u4.length==0?0:u4[0].value)).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "20_Ptr_1902": { "queries": { "u": "SELECT mean(value) as value FROM :fde180f9-fff8-4f50-be16-869e62635780: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e1759e5a-4724-4f6e-ab23-08162cb98a33: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "c8e196b8-249d-4796-a5f1-3f253a2ddee6", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__topg_podogrev_g_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :dbcdf887-fe8e-46ec-9dfb-152bf86bbd09: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-1m]}" }, "cron": "0 10 * * * ? *", "outputTag": "topg_podogrev_g_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_A2_TEG": { "queries": { "u": "SELECT mean(value) as value FROM :08a5cdd3-34e9-4ce4-a4e2-1a463cdeee77: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :4e4830cb-1ff8-44e8-bb9a-56bdffe6515b: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "e3c6d02b-1bfd-4c2d-bc8b-274fddbd0212", "js": "if(v[0].value==0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA1_dP": { "queries": { "a": "SELECT mean(value) as value FROM :64d7ec88-c1f8-45ad-96fb-2c8c856c01ee: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :585193b9-86bb-430f-a929-1a8d1ef63806: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa1: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "543ef3be-e05e-4a1a-a041-2c47ff7e6727", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__sn_uptpg_year_accum_sut": { "queries": { "raw": "SELECT last(value) as value from :sn_uptpg_g_sut: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "cum": "select * from :sn_uptpg_year_accum_sut: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "sn_uptpg_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==10&&dd.getDate()==1&&dd.getHours()==8)return 334257;else return(cum[0].value+raw[0].value).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pvh_Sh10_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :Pvh10_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :Pvh10_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :Pvh10_sum_day: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh_Sh10_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__prihod_gidk_hour": { "queries": { "a": "SELECT last(value) as value FROM :2e75eb4d-9c88-4114-b940-d7a2268b7a48: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}", "b": "SELECT first(value) as value FROM :prihod_ksg_hour: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}", "c": "SELECT first(value) as value FROM :72113bcb-2409-4957-89f3-b0fd98f588e0: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}", "d": "SELECT first(value) as value FROM :6840d3a6-ce93-411f-b235-32aee96e9b9d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}", "e": "SELECT last(value) as value FROM :cd899a3c-9a26-48b9-ba8c-756f854ab89b: where quality!=\'REPLACED\' and time < {H[+1h]} and time <= {H[+1h]}", "f": "SELECT first(value) as value FROM :f64dda93-06a4-4e04-84fa-0627d76210f1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time <= {H[]}", "g": "SELECT last(value) as value FROM :d7429d92-b315-4ed2-bce1-cb9b1ccf1227: where quality!=\'REPLACED\' and time <= {H[+1h]}" }, "cron": "0 12 8 * * ? *", "outputTag": "prihod_gidk_hour", "js": "if(a==null||a.length==0){a=[{value:0}]}if(e==null||e.length==0){e=[{value:0}]}if(g==null||g.length==0){g=[{value:0}]}return(a[0].value+b[0].value+c[0].value+d[0].value)*(100-e[0].value)/100+f[0].value*g[0].value/100;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA2_Pvh": { "queries": { "a": "SELECT mean(value) as value FROM :6cab3f4e-803a-48ae-9296-649f564716a9: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :c719b842-f713-4af5-8863-4c691ead2070: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa2: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "2af31aad-403c-4568-842a-e0924a18c42e", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__v_vodi_TN": { "queries": { "u": "SELECT last(value) as value FROM :f8750b57-c7bd-4f04-9d0f-eb0899e97fa9: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "v": "SELECT last(value) as value FROM :f937b5f9-4b46-479a-adf4-700bb83a66aa: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}" }, "cron": "0 12 8 * * ? *", "outputTag": "731f0349-6a41-42a3-bb72-65390e8d6631", "js": "return(u[0].value-v[0].value).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_A4_Pvih": { "queries": { "u": "SELECT mean(value) as value FROM :1f13ab83-953e-43a4-b7c5-9235b15b2c71: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :2004db13-b1d0-4a52-bca9-ede0b0515004: where quality!=\'REPLACED\' and time < {H[-1h]}" }, "cron": "0 2 * * * ? *", "outputTag": "ed9d6dba-2434-44d2-94b9-8028ae9a432c", "js": "if(v[0].value===0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__q_plan_met_hour": { "queries": { "c": "SELECT last(value) as value FROM :5be8207f-3668-4cf6-95bb-bfc4566d4ffd: where quality!=\'REPLACED\' and time < {H[+1s]}", "v": "SELECT first(value) as value FROM :val_q_hour_1000: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}" }, "cron": "0 10 * * * ? *", "outputTag": "q_plan_met_hour", "js": "return(v[0].value*c[0].value/1000000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__dob_vodi_skv2_year_plan": { "queries": { "raw": "SELECT sum(value) as value from :ec001bab-5388-4120-adc4-35c8aaab8faa: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "cum": "select * from :dob_vodi_skv2_year_plan: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "dob_vodi_skv2_year_plan", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==1&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2019&&dd.getMonth()==9&&dd.getDate()==31&&dd.getHours()==8)return 18299;else return(cum[0].value+raw[0].value).toFixed(1)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Pvh11_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :ec0f9af8-11d0-4a75-bbee-bf0e50015be5: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :ec0f9af8-11d0-4a75-bbee-bf0e50015be5: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :ec0f9af8-11d0-4a75-bbee-bf0e50015be5: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh11_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Psr_GPA58_pered_AVO": { "queries": { "P1": "SELECT last(value) as value FROM :c3e0f513-f39c-4dea-b09a-a04216a061ba: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "P2": "SELECT last(value) as value FROM :dec0ccca-b650-4021-97ee-092ffda9277a: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}", "P3": "SELECT last(value) as value FROM :6885762b-1b22-4db1-a1e5-8f491298ba8d: where quality!=\'REPLACED\' and time>{H[-1h]} and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Psr_GPA58_pered_AVO", "js": "var data=[P1,P2,P3];var pc=0;var n=0;var psr=0;data.forEach(function(s){if(s==null)return;else{pc=pc+s[0].value;n=n+1}});return psr=pc/n;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_SN": { "queries": { "raw": "select * from :cf31c3d1-8de7-43bf-b696-f064282b5daf: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :28549e7c-48d3-4c2f-a562-202a5c7e3281: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "0 12 * * * ? *", "outputTag": "28549e7c-48d3-4c2f-a562-202a5c7e3281", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__tovg_t_tr_hour": { "queries": { "u": "SELECT first(value) as value FROM :ecb00f98-e2aa-42da-9fff-79ff01560902: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-5m]}" }, "cron": "0 10 * * * ? *", "outputTag": "tovg_t_tr_hour", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_VK58_Tvih": { "queries": { "u": "SELECT mean(value) as value FROM :d068f563-3da0-4811-9c57-b6b17c93d52d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "b87ce016-c2e1-420d-9c47-87d181e80eb4", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Tvh11_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :3976bbb8-027f-41a3-9c59-1a45ebda62b7: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :3976bbb8-027f-41a3-9c59-1a45ebda62b7: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :3976bbb8-027f-41a3-9c59-1a45ebda62b7: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh11_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__vgk_kot_g_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :5c23b083-2012-4f3d-b832-ad7de8fff8a5: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-1m]}" }, "cron": "0 10 * * * ? *", "outputTag": "vgk_kot_g_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__dq_ud_met_hour": { "queries": { "u": "SELECT last(value) as value FROM :q_met_hour: where quality!=\'REPLACED\' and time < {H[+1s]}", "v": "SELECT first(value) as value FROM :q_plan_met_hour: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}" }, "cron": "0 11 * * * ? *", "outputTag": "dq_ud_met_hour", "js": "return(u[0].value-v[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__met_otkl_day": { "queries": { "a": "SELECT sum(value) as value FROM :met_rashod_po_norme_day: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "b": "SELECT sum(value) as value FROM :d7042d1a-7cf2-4b7c-856d-1aca06b4339d: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "c": "SELECT sum(value) as value FROM :a4c08d92-3699-4616-9f94-e0255f83a5b7: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 30 12 * * ? *", "outputTag": "met_otkl_day", "js": "return b[0].value+c[0].value-a[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Pztr_R35": { "queries": { "u": "SELECT mean(value) as value FROM :1109bfb9-6d10-4774-88c9-b2c4dfea2702: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e8c74c2c-2d4c-458c-873f-2c9bad2b45f9: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "e9250946-fd72-4838-9bee-7113dc28219c", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA7_Rc": { "queries": { "a": "SELECT mean(value) as value FROM :d73ea2bd-32d5-47d1-8e7c-ac211d2877b3: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :352c180e-0a5f-43f6-9d14-ed69c6844b48: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa7: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "895e4f40-7794-4ccc-adf6-74fafef3f96a", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "20_T645_184": { "queries": { "u": "SELECT mean(value) as value FROM :ab55a765-9f76-4bd5-8213-f139302b090a: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :879a6eb4-3c9f-4c80-90bf-195beb4e37b5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "a245ab19-0bfa-4c56-8938-685c4c9fb96e", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1402_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :25563c59-f921-4c0c-a6c1-4ca589583d0b: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :f46c14c8-c7d6-40db-8ff3-ddcc22fa4324: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 30 * * * ? *", "outputTag": "skv1402_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Pvh2_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :af24fab5-f42f-4f59-ae7f-5d1f4defd92a: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :af24fab5-f42f-4f59-ae7f-5d1f4defd92a: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :af24fab5-f42f-4f59-ae7f-5d1f4defd92a: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh2_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "17_GPA6_Tvih": { "queries": { "a": "SELECT mean(value) as value FROM :d196d5f6-02b1-44b5-8d0e-45d32a20fce2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :bca4aaf0-06aa-4f79-b3af-0baa583c06b2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa6: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "f13567d5-5996-48df-8ee4-144965215e2c", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__tovg_q_line3_hour": { "queries": { "u": "SELECT first(value) as value FROM :5bedb36b-ca47-4067-9904-a8adeba32db4: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-5m]}" }, "cron": "0 10 * * * ? *", "outputTag": "tovg_q_line3_hour", "js": "return(u[0].value/1000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__gsn_i_poteri_q_day_table": { "queries": { "u": "select last(value) as value from :gsn_i_poteri_q_day_hour_table: where quality!=\'REPLACED\' and time < {H[+1s]}" }, "cron": "0 12 0,1,2,3,4,5,6,7,8,13,14,15,16,17,18,19,20,21,22,23 * * ? *", "outputTag": "gsn_i_poteri_q_day_table", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Pvh_PPA_mean_month": { "queries": { "u": "SELECT mean(value) as value FROM :319a5ce5-3379-42c4-9195-3ba499b6b0ed: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {H[+1h]}" }, "cron": "0 2 12 1 * ? *", "outputTag": "06e9d7e0-0a11-4399-ae07-4256d6878104", "js": "return u[0].value.toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__v_vodi_TN_sut": { "queries": { "i_vh": "SELECT (last(value)- first(value)) as value FROM :ff4b341c-dcb2-4fe6-b861-53a5f944b368: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+1s]}", "i_d": "SELECT last(value) as value FROM :312bd18a-1aac-4f37-a3c6-c416a24b3d1d: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[+1s]}", "te_vh": "SELECT (last(value)- first(value)) as value FROM :530bd530-ac6d-4065-abc0-7cce6354bbda: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+1s]}", "te_d": "SELECT last(value) as value FROM :612551f9-bc18-4e27-8ad2-9db913211ce5: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[+1s]}" }, "cron": "0 12 8 * * ? *", "outputTag": "v_vodi_TN_sut", "js": "if(i_vh==null||i_vh.length==0){i_vh=[{value:0}]}if(i_d==null||i_d.length==0){i_d=[{value:0}]}if(te_vh==null||te_vh.length==0){te_vh=[{value:0}]}if(te_d==null||te_d.length==0){te_d=[{value:0}]}return(i_vh[0].value+i_d[0].value-te_vh[0].value-te_d[0].value).toFixed(0)", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S701": { "queries": { "u": "SELECT mean(value) as value FROM :2562b254-9db4-47b8-b98d-8572cdfdf6e7: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :b94e09f5-788a-4196-ad32-0a196970628d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv701_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S702": { "queries": { "u": "SELECT mean(value) as value FROM :21552756-7b8a-47c2-9ab3-6f239e170bb6: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :61bf4f6c-4fc8-490d-bb3d-68a7f2baeac6: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv702_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S703": { "queries": { "u": "SELECT mean(value) as value FROM :2f0d223e-3afb-4cc3-bfcc-972c49be4563: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e351b838-c398-411e-b9d7-c977c8fa96dc: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv703_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S801": { "queries": { "u": "SELECT mean(value) as value FROM :14cc2c3e-815d-4a93-98f3-5b65474c41d1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :225de99f-3e3b-45d4-bc84-a79daaf08c74: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv801_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S802": { "queries": { "u": "SELECT mean(value) as value FROM :91824850-d2c7-4c8d-bf31-1045cc0d6c99: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :031cc313-dadd-48bf-b978-af07b77b96df: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv802_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1001": { "queries": { "u": "SELECT mean(value) as value FROM :bf3e62d6-41a3-4c3c-8774-150880b28a34: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :6161c0c5-aa63-4403-91d9-243fda9a0a59: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1001_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1002": { "queries": { "u": "SELECT mean(value) as value FROM :07e2ee3f-e6aa-4d5b-9da5-559a6779e615: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :1ee3d59c-0a91-438c-b526-862ddcdad292: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1002_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1003": { "queries": { "u": "SELECT mean(value) as value FROM :0f764c61-cc32-4a15-bc92-c115b836cc5c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :fdf29eb5-84e0-4410-a96a-84fbda4b3b27: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1003_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_701": { "queries": { "u": "SELECT mean(value) as value FROM :7fc0cc47-9721-4cea-8d2a-48d31188a254: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :b94e09f5-788a-4196-ad32-0a196970628d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv701_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_702": { "queries": { "u": "SELECT mean(value) as value FROM :22fc97f9-e7d1-4cf5-abfb-64776db08098: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :61bf4f6c-4fc8-490d-bb3d-68a7f2baeac6: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv702_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_703": { "queries": { "u": "SELECT mean(value) as value FROM :d73cb861-2a91-4586-a409-6965bf0b68fe: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e351b838-c398-411e-b9d7-c977c8fa96dc: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv703_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_801": { "queries": { "u": "SELECT mean(value) as value FROM :4cd0ce2e-af6a-4d98-898f-4860d3056a0f: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :225de99f-3e3b-45d4-bc84-a79daaf08c74: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv801_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_802": { "queries": { "u": "SELECT mean(value) as value FROM :e6d7baec-f1aa-4ac7-b559-e25a9e7bf095: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :031cc313-dadd-48bf-b978-af07b77b96df: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv802_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1001": { "queries": { "u": "SELECT mean(value) as value FROM :18b484b3-f8f5-4fb5-81e7-c10b93357996: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :6161c0c5-aa63-4403-91d9-243fda9a0a59: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1001_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1002": { "queries": { "u": "SELECT mean(value) as value FROM :47419dbf-137a-4655-845a-e85ebfe7ff52: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :1ee3d59c-0a91-438c-b526-862ddcdad292: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1002_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1003": { "queries": { "u": "SELECT mean(value) as value FROM :56f3b6a2-e84e-4dc8-80d5-258057bb4b11: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :fdf29eb5-84e0-4410-a96a-84fbda4b3b27: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1003_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S701": { "queries": { "u": "SELECT mean(value) as value FROM :cd43df63-1375-437a-b0bd-88b33b594e59: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :b94e09f5-788a-4196-ad32-0a196970628d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv701_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S702": { "queries": { "u": "SELECT mean(value) as value FROM :fbd73776-5ea5-48a8-8030-c96a76100abe: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :61bf4f6c-4fc8-490d-bb3d-68a7f2baeac6: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv702_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S703": { "queries": { "u": "SELECT mean(value) as value FROM :b75981af-ff75-4aec-8a1d-2b6cfc384d6d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e351b838-c398-411e-b9d7-c977c8fa96dc: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv703_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S801": { "queries": { "u": "SELECT mean(value) as value FROM :e5a5552b-c047-40c2-aa77-f92f4839c10c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :225de99f-3e3b-45d4-bc84-a79daaf08c74: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv801_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S802": { "queries": { "u": "SELECT mean(value) as value FROM :f49b052f-fa2b-4920-a072-30bffb3d4965: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :031cc313-dadd-48bf-b978-af07b77b96df: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv802_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1001": { "queries": { "u": "SELECT mean(value) as value FROM :df995670-d826-4be5-8e2c-3ecddf53d7a0: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :6161c0c5-aa63-4403-91d9-243fda9a0a59: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1001_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1002": { "queries": { "u": "SELECT mean(value) as value FROM :993d73a5-018d-4117-9517-b0893a0dedab: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :1ee3d59c-0a91-438c-b526-862ddcdad292: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1002_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "T_S1003": { "queries": { "u": "SELECT mean(value) as value FROM :16287389-e6e3-4143-82cc-0ade73249435: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :fdf29eb5-84e0-4410-a96a-84fbda4b3b27: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1003_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S701": { "queries": { "u": "SELECT first(value) as value FROM :b94e09f5-788a-4196-ad32-0a196970628d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv701_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S702": { "queries": { "u": "SELECT first(value) as value FROM :61bf4f6c-4fc8-490d-bb3d-68a7f2baeac6: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv702_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S703": { "queries": { "u": "SELECT first(value) as value FROM :e351b838-c398-411e-b9d7-c977c8fa96dc: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv703_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S801": { "queries": { "u": "SELECT first(value) as value FROM :225de99f-3e3b-45d4-bc84-a79daaf08c74: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv801_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S802": { "queries": { "u": "SELECT first(value) as value FROM :031cc313-dadd-48bf-b978-af07b77b96df: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv802_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1001": { "queries": { "u": "SELECT first(value) as value FROM :6161c0c5-aa63-4403-91d9-243fda9a0a59: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1001_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1002": { "queries": { "u": "SELECT first(value) as value FROM :1ee3d59c-0a91-438c-b526-862ddcdad292: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1002_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1003": { "queries": { "u": "SELECT first(value) as value FROM :fdf29eb5-84e0-4410-a96a-84fbda4b3b27: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1003_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv701_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :1aa2bcf2-288a-40ff-b499-75c611428709: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :b94e09f5-788a-4196-ad32-0a196970628d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv701_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv702_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :dc5ead1d-d092-4749-ad15-29983f91d509: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :61bf4f6c-4fc8-490d-bb3d-68a7f2baeac6: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv702_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv703_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :bfad4b49-3afd-475c-abbd-4de4dfcb6ff3: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :e351b838-c398-411e-b9d7-c977c8fa96dc: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv703_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv801_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :feb57edf-e1f7-4ddb-900f-01ed8910ecf4: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :225de99f-3e3b-45d4-bc84-a79daaf08c74: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv801_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv802_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :18378882-5eff-4f84-bb88-5d1eda9d32f2: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :031cc313-dadd-48bf-b978-af07b77b96df: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv802_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1001_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :534801e2-6cd9-4222-96ff-d1f91c2659ef: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :6161c0c5-aa63-4403-91d9-243fda9a0a59: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1001_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1002_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :febc7dad-ab30-4f3c-aefe-046af6f5e0bc: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :1ee3d59c-0a91-438c-b526-862ddcdad292: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1002_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1003_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :fc0a3847-5716-42b5-8830-039d9cbeba66: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :fdf29eb5-84e0-4410-a96a-84fbda4b3b27: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1003_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv701": { "queries": { "raw": "select * from :b94e09f5-788a-4196-ad32-0a196970628d: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv701_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv701_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv702": { "queries": { "raw": "select * from :61bf4f6c-4fc8-490d-bb3d-68a7f2baeac6: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv702_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv702_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv703": { "queries": { "raw": "select * from :e351b838-c398-411e-b9d7-c977c8fa96dc: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv703_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv703_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv801": { "queries": { "raw": "select * from :225de99f-3e3b-45d4-bc84-a79daaf08c74: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv801_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv801_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv802": { "queries": { "raw": "select * from :031cc313-dadd-48bf-b978-af07b77b96df: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv802_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv802_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1001": { "queries": { "raw": "select * from :6161c0c5-aa63-4403-91d9-243fda9a0a59: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1001_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1001_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1002": { "queries": { "raw": "select * from :1ee3d59c-0a91-438c-b526-862ddcdad292: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1002_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1002_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1003": { "queries": { "raw": "select * from :fdf29eb5-84e0-4410-a96a-84fbda4b3b27: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1003_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1003_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S1501": { "queries": { "u": "SELECT first(value) as value FROM :13533f8c-0417-4a8c-a46e-6f6cd3593651: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1501_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1502": { "queries": { "u": "SELECT first(value) as value FROM :745b5109-2bdd-43b3-99b9-4e0d197037a0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1502_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1503": { "queries": { "u": "SELECT first(value) as value FROM :465375e3-e53b-42de-a815-8509bb5104f5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1503_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv1501_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :8313d3f9-5b20-4ae0-a982-acd2aa605687: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :13533f8c-0417-4a8c-a46e-6f6cd3593651: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1501_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1502_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :a4d2ef06-204c-4a7b-ad2b-ab8ac4b9d5c5: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :745b5109-2bdd-43b3-99b9-4e0d197037a0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1502_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1503_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :b22f8cb5-930a-4c2e-87bf-8a01fd4bf891: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :465375e3-e53b-42de-a815-8509bb5104f5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1503_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1501": { "queries": { "raw": "select * from :13533f8c-0417-4a8c-a46e-6f6cd3593651: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1501_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1501_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1502": { "queries": { "raw": "select * from :745b5109-2bdd-43b3-99b9-4e0d197037a0: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1502_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1502_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1503": { "queries": { "raw": "select * from :465375e3-e53b-42de-a815-8509bb5104f5: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1503_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1503_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1501": { "queries": { "u": "SELECT mean(value) as value FROM :c2da9b4e-3c49-4c46-81e8-342fd01f6253: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :13533f8c-0417-4a8c-a46e-6f6cd3593651: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1501_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1502": { "queries": { "u": "SELECT mean(value) as value FROM :cafdff5f-cbe3-4aa5-993d-7faad28849ca: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :745b5109-2bdd-43b3-99b9-4e0d197037a0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1502_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "T_S1503": { "queries": { "u": "SELECT mean(value) as value FROM :3cfb4f0c-0f47-48e2-99c9-0b72961fa651: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :465375e3-e53b-42de-a815-8509bb5104f5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1503_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Ptr_1501": { "queries": { "u": "SELECT mean(value) as value FROM :553ce8b1-6c0a-4c24-82c6-be04339e02fa: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :13533f8c-0417-4a8c-a46e-6f6cd3593651: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1501_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1502": { "queries": { "u": "SELECT mean(value) as value FROM :72eaf149-6343-49bb-bbf8-b5081b0aab30: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :745b5109-2bdd-43b3-99b9-4e0d197037a0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1502_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1503": { "queries": { "u": "SELECT mean(value) as value FROM :7f030afc-2a5b-402f-95c1-001839bae31c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :465375e3-e53b-42de-a815-8509bb5104f5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1503_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1501": { "queries": { "u": "SELECT mean(value) as value FROM :d72fbbd8-e866-4d29-a517-76206a0590e7: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :13533f8c-0417-4a8c-a46e-6f6cd3593651: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1501_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1502": { "queries": { "u": "SELECT mean(value) as value FROM :9dfc67be-2eb8-4e37-97ad-76b291a86105: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :745b5109-2bdd-43b3-99b9-4e0d197037a0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1502_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1503": { "queries": { "u": "SELECT mean(value) as value FROM :e8d658f4-626d-44fc-8cbe-3a0df56fb090: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :465375e3-e53b-42de-a815-8509bb5104f5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1503_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S501": { "queries": { "u": "SELECT mean(value) as value FROM :12dd3bc9-b944-4202-b421-e3a177cc698e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :8a178d6d-f88d-41b2-8b9f-424216a470ba: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv501_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S501": { "queries": { "u": "SELECT mean(value) as value FROM :5921ac6e-2ed9-4b6e-ab50-d27838102524: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :8a178d6d-f88d-41b2-8b9f-424216a470ba: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv501_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S501": { "queries": { "u": "SELECT mean(value) as value FROM :6079852a-c619-477c-aa19-d18923ba7585: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :8a178d6d-f88d-41b2-8b9f-424216a470ba: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv501_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Qsum_Skv501": { "queries": { "raw": "select * from :8a178d6d-f88d-41b2-8b9f-424216a470ba: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv501_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv501_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv501_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :8202b80a-ee28-4742-8010-94ace56e1ad9: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :8a178d6d-f88d-41b2-8b9f-424216a470ba: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv501_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S501": { "queries": { "u": "SELECT first(value) as value FROM :8a178d6d-f88d-41b2-8b9f-424216a470ba: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv501_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Ptr_S502": { "queries": { "u": "SELECT mean(value) as value FROM :be552ab3-a452-4e89-8b31-46c8fb1bb776: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :a2b13939-0015-4f0a-9f47-296d489512a7: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv502_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S502": { "queries": { "u": "SELECT mean(value) as value FROM :08622577-1d1b-49ca-9bbb-f7219084cabd: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :a2b13939-0015-4f0a-9f47-296d489512a7: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv502_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S502": { "queries": { "u": "SELECT mean(value) as value FROM :ce80b008-036b-457a-ad6f-c28bcf4f2411: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :a2b13939-0015-4f0a-9f47-296d489512a7: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv502_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Qsum_Skv502": { "queries": { "raw": "select * from :a2b13939-0015-4f0a-9f47-296d489512a7: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv502_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv502_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv502_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :0cc5f8a1-9dad-4fad-8ce0-dd8c1a2b92d1: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :a2b13939-0015-4f0a-9f47-296d489512a7: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv502_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S502": { "queries": { "u": "SELECT first(value) as value FROM :a2b13939-0015-4f0a-9f47-296d489512a7: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv502_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Ptr_S503": { "queries": { "u": "SELECT mean(value) as value FROM :fd61ce20-bc47-441e-b228-25ca3fb736b7: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e5fbb315-dcbf-4e03-bdb8-46288e5c2bb9: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv503_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S503": { "queries": { "u": "SELECT mean(value) as value FROM :912e5f1e-f8b1-4f13-8c2e-fca7e829aada: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e5fbb315-dcbf-4e03-bdb8-46288e5c2bb9: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv503_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S503": { "queries": { "u": "SELECT mean(value) as value FROM :7a9674d4-f0c8-4c79-ad15-a720c92afc7c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e5fbb315-dcbf-4e03-bdb8-46288e5c2bb9: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv503_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Qsum_Skv503": { "queries": { "raw": "select * from :e5fbb315-dcbf-4e03-bdb8-46288e5c2bb9: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv503_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv503_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv503_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :1489f1cd-5b61-4f3e-84db-626f58a9474c: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :e5fbb315-dcbf-4e03-bdb8-46288e5c2bb9: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv503_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S503": { "queries": { "u": "SELECT first(value) as value FROM :e5fbb315-dcbf-4e03-bdb8-46288e5c2bb9: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv503_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Pztr_S1801": { "queries": { "u": "SELECT mean(value) as value FROM :74ed0b7a-334c-4ae5-94a5-5508ef3eb032: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :192020d4-dfb0-4348-b772-56c59a573032: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1801_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1802": { "queries": { "u": "SELECT mean(value) as value FROM :1ac52b20-ff05-4a81-9323-da626f84c202: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :7e130262-cc7f-4b5c-aa14-3cb13b7a33eb: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1802_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1803": { "queries": { "u": "SELECT mean(value) as value FROM :7e4088e6-21b1-4c00-ab75-47c9abcd9ab3: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :6eea7583-031f-458e-b9d7-2376a7cd07e0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1803_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1801": { "queries": { "u": "SELECT mean(value) as value FROM :8b71eb4b-507c-4c23-b337-8582354c8cc5: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :192020d4-dfb0-4348-b772-56c59a573032: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1801_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1802": { "queries": { "u": "SELECT mean(value) as value FROM :da2a0484-e40f-4270-96a3-ec4ee8528b44: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :7e130262-cc7f-4b5c-aa14-3cb13b7a33eb: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1802_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1803": { "queries": { "u": "SELECT mean(value) as value FROM :c66cbd2f-491a-424a-be47-c6160355d398: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :6eea7583-031f-458e-b9d7-2376a7cd07e0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1803_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1801": { "queries": { "u": "SELECT mean(value) as value FROM :23f601b3-5868-404f-94af-ce644d8693a5: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :192020d4-dfb0-4348-b772-56c59a573032: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1801_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1802": { "queries": { "u": "SELECT mean(value) as value FROM :03734994-c1a5-40b2-aa13-0894b245caa5: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :7e130262-cc7f-4b5c-aa14-3cb13b7a33eb: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1802_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1803": { "queries": { "u": "SELECT mean(value) as value FROM :f701b6f2-0e3f-4347-aea9-f36488b1ba13: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :6eea7583-031f-458e-b9d7-2376a7cd07e0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1803_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S1801": { "queries": { "u": "SELECT first(value) as value FROM :192020d4-dfb0-4348-b772-56c59a573032: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1801_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1802": { "queries": { "u": "SELECT first(value) as value FROM :7e130262-cc7f-4b5c-aa14-3cb13b7a33eb: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1802_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1803": { "queries": { "u": "SELECT first(value) as value FROM :6eea7583-031f-458e-b9d7-2376a7cd07e0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1803_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv1801_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :5142722b-0408-4348-b364-32ed0d832f0e: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :192020d4-dfb0-4348-b772-56c59a573032: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1801_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1802_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :d0c266f3-9512-42d9-b090-08d7f80c67aa: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :7e130262-cc7f-4b5c-aa14-3cb13b7a33eb: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1802_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1803_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :2c7a071d-f1c9-47eb-8c0f-e97d4a16ca8c: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :6eea7583-031f-458e-b9d7-2376a7cd07e0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1803_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1801": { "queries": { "raw": "select * from :192020d4-dfb0-4348-b772-56c59a573032: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1801_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1801_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1802": { "queries": { "raw": "select * from :7e130262-cc7f-4b5c-aa14-3cb13b7a33eb: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1802_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1802_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1803": { "queries": { "raw": "select * from :6eea7583-031f-458e-b9d7-2376a7cd07e0: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1803_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1803_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "_DELETE_ME_21b7a1a0-2f38-4028-a779-0ad52f1f4ac3_calc": { "queries": { "a": "SELECT first(value) as value FROM :18cec85a-8236-4da4-835e-a777a231c5db: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-5m]}", "b": "SELECT first(value) as value FROM :ce41e191-7210-4fb6-907a-f25f2e92d94f: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-5m]}", "c": "SELECT first(value) as value FROM :5bedb36b-ca47-4067-9904-a8adeba32db4: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-5m]}", "d": "SELECT first(value) as value FROM :d8453422-6a61-40a9-a720-2af635e10f76: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-5m]}", "e": "SELECT first(value) as value FROM :cbcb24f8-a3c7-463c-b677-a26dd593d0c3: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-5m]}", "f": "SELECT first(value) as value FROM :1fc99fe2-20fa-413f-b5ee-abdf5c5e7a03: where quality!=\'REPLACED\' and time >= {H[8m]} and time < {H[+1h-5m]}" }, "cron": "0 10 * * * ? *", "outputTag": "21b7a1a0-2f38-4028-a779-0ad52f1f4ac3", "js": "return(a[0].value+b[0].value+c[0].value+d[0].value-e[0].value-f[0].value);", "outputTimeOffset": "T[]", "reverseTimeOffset": "T[]", "recalculateDepth": 1, "acceptNulls": false }, "__stn_senom_month": { "queries": { "u": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}", "v": "SELECT last(value) as value FROM :stn_all_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "stn_senom_month", "js": "return(u[0].value*v[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Esumm_virab_TE_month": { "queries": { "u": "SELECT sum(value) as value FROM :0846448c-9032-4cfb-9ae7-d55e13f2ed62: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}" }, "cron": "0 12 8 1 * ? *", "outputTag": "Esumm_virab_TE_month", "js": "return(u[0].value/1000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__virab_TE_senom_month": { "queries": { "u": "SELECT last(value) as value FROM :Esumm_virab_TE_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "v": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "virab_TE_senom_month", "js": "return(u[0].value*v[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__virab_TE_turon_month": { "queries": { "u": "SELECT last(value) as value FROM :Esumm_virab_TE_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "v": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "virab_TE_turon_month", "js": "return(u[0].value*v[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Esumm_virab_EE_month": { "queries": { "u": "SELECT sum(value) as value FROM :virab_el_en_sut: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}" }, "cron": "0 2 8 1 * ? *", "outputTag": "Esumm_virab_EE_month", "js": "return(u[0].value/1000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__virab_EE_senom_month": { "queries": { "u": "SELECT last(value) as value FROM :Esumm_virab_EE_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "v": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "virab_EE_senom_month", "js": "return(u[0].value*v[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__virab_EE_turon_month": { "queries": { "u": "SELECT last(value) as value FROM :Esumm_virab_EE_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "v": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "virab_EE_turon_month", "js": "return(u[0].value*v[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__TG_komr_month": { "queries": { "u": "SELECT sum(value) as value FROM :dks_g_sut: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}" }, "cron": "0 12 8 1 * ? *", "outputTag": "TG_komr_month", "js": "return(u[0].value/1000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__TG_komr_senom_month": { "queries": { "u": "SELECT last(value) as value FROM :TG_komr_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "v": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "TG_komr_senom_month", "js": "return(u[0].value*v[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__TG_komr_turon_month": { "queries": { "u": "SELECT last(value) as value FROM :TG_komr_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "v": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "TG_komr_turon_month", "js": "return(u[0].value*v[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__ESN_q_month": { "queries": { "u": "SELECT sum(value) as value FROM :esn_g_sum_sut: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}" }, "cron": "0 12 8 1 * ? *", "outputTag": "ESN_q_month", "js": "return(u[0].value/1000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__ESN_q_senom_month": { "queries": { "u": "SELECT last(value) as value FROM :ESN_q_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "v": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "ESN_q_senom_month", "js": "return(u[0].value*v[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__ESN_q_turon_month": { "queries": { "u": "SELECT last(value) as value FROM :ESN_q_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "v": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "ESN_q_turon_month", "js": "return(u[0].value*v[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__potr_TE_month": { "queries": { "a": "SELECT sum(value) as value FROM :ukpg_kot_g_sut: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "b": "SELECT sum(value) as value FROM :vgk_g_sut: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT sum(value) as value FROM :vp_g_sut: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}" }, "cron": "0 12 8 1 * ? *", "outputTag": "potr_TE_month", "js": "return((a[0].value+b[0].value+c[0].value)/1000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__podogr_month": { "queries": { "a": "SELECT sum(value) as value FROM :sn_uptpg_g_sut: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "b": "SELECT sum(value) as value FROM :ukpg_g_sut: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT sum(value) as value FROM :adb19927-25cf-4042-b66f-6d7eec3169c2: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}" }, "cron": "0 12 8 1 * ? *", "outputTag": "podogr_month", "js": "return((a[0].value+b[0].value)/1000-c[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__NTEG_month": { "queries": { "a": "SELECT sum(value) as value FROM :ukpg_g_sut: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "b": "SELECT sum(value) as value FROM :adb19927-25cf-4042-b66f-6d7eec3169c2: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}" }, "cron": "0 12 8 1 * ? *", "outputTag": "NTEG_month", "js": "return(a[0].value/1000-b[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__TN_virab_TE_senom_month": { "queries": { "a": "SELECT last(value) as value FROM :potr_TE_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "b": "SELECT last(value) as value FROM :podogr_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "TN_virab_TE_senom_month", "js": "return((a[0].value+b[0].value)*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__TN_virab_TE_turon_month": { "queries": { "a": "SELECT last(value) as value FROM :potr_TE_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "b": "SELECT last(value) as value FROM :podogr_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "TN_virab_TE_turon_month", "js": "return((a[0].value+b[0].value)*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__potr_TE_senom_month": { "queries": { "a": "SELECT last(value) as value FROM :potr_TE_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "potr_TE_senom_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__potr_TE_turon_month": { "queries": { "a": "SELECT last(value) as value FROM :potr_TE_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "potr_TE_turon_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__podogr_senom_month": { "queries": { "b": "SELECT last(value) as value FROM :podogr_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "podogr_senom_month", "js": "return(b[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__podogr_turon_month": { "queries": { "b": "SELECT last(value) as value FROM :podogr_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "podogr_turon_month", "js": "return(b[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__NTEG_senom_month": { "queries": { "a": "SELECT last(value) as value FROM :NTEG_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "NTEG_senom_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__NTEG_turon_month": { "queries": { "a": "SELECT last(value) as value FROM :NTEG_month: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "NTEG_turon_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Podogr_TG_senom_month": { "queries": { "a": "SELECT sum(value) as value FROM :sn_uptpg_g_sut: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "Podogr_TG_senom_month", "js": "return(a[0].value*c[0].value/100000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Podogr_TG_turon_month": { "queries": { "a": "SELECT sum(value) as value FROM :sn_uptpg_g_sut: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "Podogr_TG_turon_month", "js": "return(a[0].value*c[0].value/100000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__TN_EF_senom_month": { "queries": { "a": "SELECT sum(value) as value FROM :adb19927-25cf-4042-b66f-6d7eec3169c2: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "TN_EF_senom_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__TN_EF_turon_month": { "queries": { "a": "SELECT sum(value) as value FROM :adb19927-25cf-4042-b66f-6d7eec3169c2: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "TN_EF_turon_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Sil_PG_senom_month": { "queries": { "a": "SELECT sum(value) as value FROM :7ce3bd5a-d084-4f61-b55f-b01f0763c300: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "Sil_PG_senom_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Sil_PG_turon_month": { "queries": { "a": "SELECT sum(value) as value FROM :7ce3bd5a-d084-4f61-b55f-b01f0763c300: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "Sil_PG_turon_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Proch_TN_senom_month": { "queries": { "a": "SELECT sum(value) as value FROM :2a443a9a-145a-4b90-961f-74d9fb309b64: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "Proch_TN_senom_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Proch_TN_turon_month": { "queries": { "a": "SELECT sum(value) as value FROM :2a443a9a-145a-4b90-961f-74d9fb309b64: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "Proch_TN_turon_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Opor_senom_month": { "queries": { "a": "SELECT sum(value) as value FROM :6ae5c658-4b7a-4a65-b93c-be09ea4bb254: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "Opor_senom_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Opor_turon_month": { "queries": { "a": "SELECT sum(value) as value FROM :6ae5c658-4b7a-4a65-b93c-be09ea4bb254: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "Opor_turon_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Produv_TO_senom_month": { "queries": { "a": "SELECT sum(value) as value FROM :04cff578-6644-4652-8957-7e58712d332b: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "Produv_TO_senom_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Produv_TO_turon_month": { "queries": { "a": "SELECT sum(value) as value FROM :04cff578-6644-4652-8957-7e58712d332b: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "Produv_TO_turon_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Vitesn_senom_month": { "queries": { "a": "SELECT sum(value) as value FROM :34dcc85f-ae23-4fea-9f2e-b757c8b783f9: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "Vitesn_senom_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Vitesn_turon_month": { "queries": { "a": "SELECT sum(value) as value FROM :34dcc85f-ae23-4fea-9f2e-b757c8b783f9: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "Vitesn_turon_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Vivetr_senom_month": { "queries": { "a": "SELECT sum(value) as value FROM :ec9f53fb-da81-4569-8528-d2ff0e61caeb: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "Vivetr_senom_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Vivetr_turon_month": { "queries": { "a": "SELECT sum(value) as value FROM :ec9f53fb-da81-4569-8528-d2ff0e61caeb: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "Vivetr_turon_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Otbor_prob_senom_month": { "queries": { "a": "SELECT sum(value) as value FROM :4fe259e1-c2d6-4a3f-9068-599c5b9b3f2e: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "Otbor_prob_senom_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Otbor_prob_turon_month": { "queries": { "a": "SELECT sum(value) as value FROM :4fe259e1-c2d6-4a3f-9068-599c5b9b3f2e: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "Otbor_prob_turon_month", "js": "return(a[0].value*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Proch_pot_senom_month": { "queries": { "a": "SELECT sum(value) as value FROM :296d7a9a-2924-485d-9b5a-7e91ddd4aa31: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "b": "SELECT sum(value) as value FROM :9a0b23d4-63ab-4556-abb0-caffe8c46e51: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_senom_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 11 12 1 * ? *", "outputTag": "Proch_pot_senom_month", "js": "return((a[0].value+b[0].value)*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Proch_pot_turon_month": { "queries": { "a": "SELECT sum(value) as value FROM :296d7a9a-2924-485d-9b5a-7e91ddd4aa31: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "b": "SELECT sum(value) as value FROM :9a0b23d4-63ab-4556-abb0-caffe8c46e51: where quality!=\'REPLACED\' and time > {M<8h>[-1M]} and time <= {H[]}", "c": "SELECT last(value) as value FROM :doly_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M]} and time <= {H[]}" }, "cron": "0 19 12 1 * ? *", "outputTag": "Proch_pot_turon_month", "js": "return((a[0].value+b[0].value)*c[0].value/100).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Pztr_S1701": { "queries": { "u": "SELECT mean(value) as value FROM :493115d1-84ac-434f-8740-4d43efc9b66e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :766ae519-25cf-439e-be2f-676c85aa4c85: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1701_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1702": { "queries": { "u": "SELECT mean(value) as value FROM :8a452ec7-8cfc-4cab-85c4-fd505dd55fb1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :292b9ff5-1f62-45c0-8abe-f488e18807a8: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1702_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1703": { "queries": { "u": "SELECT mean(value) as value FROM :c13b561f-9d7b-45b3-ac94-bd1b9c756efc: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :70e37733-6a5d-47a3-9332-6fbe2e20cb2e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1703_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1701": { "queries": { "u": "SELECT mean(value) as value FROM :b2b4c2aa-3e19-45b4-b33b-24226cd2e442: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :766ae519-25cf-439e-be2f-676c85aa4c85: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1701_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1702": { "queries": { "u": "SELECT mean(value) as value FROM :887ff155-ef94-4727-bae8-56606602ff94: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :292b9ff5-1f62-45c0-8abe-f488e18807a8: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1702_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_1703": { "queries": { "u": "SELECT mean(value) as value FROM :15677ed2-b06d-45b0-82af-94326e59f515: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :70e37733-6a5d-47a3-9332-6fbe2e20cb2e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1703_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1701": { "queries": { "u": "SELECT mean(value) as value FROM :be30aa19-a9d2-411f-b850-52ac712b1c76: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :766ae519-25cf-439e-be2f-676c85aa4c85: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1701_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1702": { "queries": { "u": "SELECT mean(value) as value FROM :d4814b38-8105-4597-a854-0a15b1a343e3: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :292b9ff5-1f62-45c0-8abe-f488e18807a8: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1702_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1703": { "queries": { "u": "SELECT mean(value) as value FROM :7f2818ad-135c-4342-a028-39870fe11893: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :70e37733-6a5d-47a3-9332-6fbe2e20cb2e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1703_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S1701": { "queries": { "u": "SELECT first(value) as value FROM :766ae519-25cf-439e-be2f-676c85aa4c85: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1701_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1702": { "queries": { "u": "SELECT first(value) as value FROM :292b9ff5-1f62-45c0-8abe-f488e18807a8: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1702_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1703": { "queries": { "u": "SELECT first(value) as value FROM :70e37733-6a5d-47a3-9332-6fbe2e20cb2e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1703_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv1701_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :b8e8a7bf-3578-485a-931f-bb4b107d069e: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :766ae519-25cf-439e-be2f-676c85aa4c85: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1701_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1702_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :00264de7-a693-4410-8fbb-5abbea90f805: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :292b9ff5-1f62-45c0-8abe-f488e18807a8: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1702_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1703_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :b537bcd0-a5de-4acd-8cdf-fbd9c6c3cf03: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :70e37733-6a5d-47a3-9332-6fbe2e20cb2e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1703_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1701": { "queries": { "raw": "select * from :766ae519-25cf-439e-be2f-676c85aa4c85: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1701_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1701_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1702": { "queries": { "raw": "select * from :292b9ff5-1f62-45c0-8abe-f488e18807a8: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1702_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1702_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1703": { "queries": { "raw": "select * from :70e37733-6a5d-47a3-9332-6fbe2e20cb2e: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1703_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1703_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S901": { "queries": { "u": "SELECT mean(value) as value FROM :eea8f768-462e-4337-b122-1a7846a1dbb1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :d1d606b6-9b34-4801-a538-12ec95d3263c: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv901_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S902": { "queries": { "u": "SELECT mean(value) as value FROM :9b1464b5-890a-455b-8399-8fdcabdd4514: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :b8e71a84-ea5a-43c8-931e-29850e033371: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv902_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S901": { "queries": { "u": "SELECT mean(value) as value FROM :a8812913-2d1b-4b3f-bc9b-9fb15ee6e394: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :d1d606b6-9b34-4801-a538-12ec95d3263c: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv901_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S902": { "queries": { "u": "SELECT mean(value) as value FROM :7e9b8596-1afe-4acb-89c0-13715238e1db: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :b8e71a84-ea5a-43c8-931e-29850e033371: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv902_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S901": { "queries": { "u": "SELECT mean(value) as value FROM :60d3dfa6-e255-475d-b303-1406c60f3150: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :d1d606b6-9b34-4801-a538-12ec95d3263c: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv901_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S902": { "queries": { "u": "SELECT mean(value) as value FROM :88ced2fc-1b6f-4ae4-b40a-09ead95fd8a9: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :b8e71a84-ea5a-43c8-931e-29850e033371: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv902_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S901": { "queries": { "u": "SELECT first(value) as value FROM :d1d606b6-9b34-4801-a538-12ec95d3263c: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv901_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S902": { "queries": { "u": "SELECT first(value) as value FROM :b8e71a84-ea5a-43c8-931e-29850e033371: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv902_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv901_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :cd392943-8d5d-43be-9037-6d045c346cc6: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :d1d606b6-9b34-4801-a538-12ec95d3263c: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv901_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv902_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :f0d756cc-17c5-4c61-8131-24fd9158b8c1: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :b8e71a84-ea5a-43c8-931e-29850e033371: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv902_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv901": { "queries": { "raw": "select * from :d1d606b6-9b34-4801-a538-12ec95d3263c: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv901_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv901_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv902": { "queries": { "raw": "select * from :b8e71a84-ea5a-43c8-931e-29850e033371: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv902_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv902_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1_01": { "queries": { "u": "SELECT mean(value) as value FROM :fee37879-d29b-4486-a6f1-5b41bae42e6f: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :ee3cd844-2672-40e3-b926-026c951b2c2d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1_01_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1_02": { "queries": { "u": "SELECT mean(value) as value FROM :1154542c-c152-4e17-92da-8498c9afb868: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :4f5b5739-678a-4181-8aaf-f617010d8fe2: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1_02_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1_03": { "queries": { "u": "SELECT mean(value) as value FROM :f017937d-0dc2-4b10-a5e2-359b44490a6c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :71f3d3b7-64c9-4b13-83c9-0bffb75f66c8: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1_03_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S1_01": { "queries": { "u": "SELECT mean(value) as value FROM :4b8a2efc-24ac-4c51-b10d-3b826c98f555: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :ee3cd844-2672-40e3-b926-026c951b2c2d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1_01_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S1_02": { "queries": { "u": "SELECT mean(value) as value FROM :7cd23383-288d-4d3c-a00a-bbd4972a1e30: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :4f5b5739-678a-4181-8aaf-f617010d8fe2: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1_02_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S1_03": { "queries": { "u": "SELECT mean(value) as value FROM :3ebc178d-9514-4c69-a8aa-6c271a0ab6da: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :71f3d3b7-64c9-4b13-83c9-0bffb75f66c8: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1_03_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1_01": { "queries": { "u": "SELECT mean(value) as value FROM :cbee3823-7b00-48db-9134-4822f44fe882: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :ee3cd844-2672-40e3-b926-026c951b2c2d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1_01_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1_02": { "queries": { "u": "SELECT mean(value) as value FROM :5312ca60-7a9e-44cb-b6d6-cbd1c1e04c16: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :4f5b5739-678a-4181-8aaf-f617010d8fe2: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1_02_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1_03": { "queries": { "u": "SELECT mean(value) as value FROM :7860df8c-4028-4db2-af1f-f642713b9601: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :71f3d3b7-64c9-4b13-83c9-0bffb75f66c8: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1_03_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S1_01": { "queries": { "u": "SELECT first(value) as value FROM :ee3cd844-2672-40e3-b926-026c951b2c2d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1_01_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1_02": { "queries": { "u": "SELECT first(value) as value FROM :4f5b5739-678a-4181-8aaf-f617010d8fe2: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1_02_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1_03": { "queries": { "u": "SELECT first(value) as value FROM :71f3d3b7-64c9-4b13-83c9-0bffb75f66c8: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1_03_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv1_01_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :6142e83a-f077-4479-80ef-188bf5c957b2: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :ee3cd844-2672-40e3-b926-026c951b2c2d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1_01_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1_02_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :17f7e7a7-38c3-46f6-86cd-12bbbccaad11: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :4f5b5739-678a-4181-8aaf-f617010d8fe2: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1_02_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1_03_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :9c1adfe7-122c-4d6b-a2ac-748858519821: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :71f3d3b7-64c9-4b13-83c9-0bffb75f66c8: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1_03_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1_01": { "queries": { "raw": "select * from :ee3cd844-2672-40e3-b926-026c951b2c2d: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1_01_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1_01_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1_02": { "queries": { "raw": "select * from :4f5b5739-678a-4181-8aaf-f617010d8fe2: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1_02_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1_02_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1_03": { "queries": { "raw": "select * from :71f3d3b7-64c9-4b13-83c9-0bffb75f66c8: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1_03_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1_03_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S3_01": { "queries": { "u": "SELECT mean(value) as value FROM :59d5f090-ffcf-454d-951a-28e699c543e8: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :2695785f-4e60-4571-b4f2-2590c1975813: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3_01_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S3_02": { "queries": { "u": "SELECT mean(value) as value FROM :f210f565-1648-4c98-96d7-23e0d77bccad: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :f5d5a119-7fad-4dd8-97a0-33bf24be29dd: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3_02_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_3_01": { "queries": { "u": "SELECT mean(value) as value FROM :6704afe0-588b-48ca-83c6-457638c31d62: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :2695785f-4e60-4571-b4f2-2590c1975813: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3_01_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_3_02": { "queries": { "u": "SELECT mean(value) as value FROM :8811c2f8-ed0e-4a11-9098-44474f23fa2c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :f5d5a119-7fad-4dd8-97a0-33bf24be29dd: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3_02_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S3_01": { "queries": { "u": "SELECT mean(value) as value FROM :becf88a1-c790-45d6-aa78-795a6d16190b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :2695785f-4e60-4571-b4f2-2590c1975813: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3_01_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S3_02": { "queries": { "u": "SELECT mean(value) as value FROM :ff66d3ba-be2d-4b01-8841-9084c0757fc2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :f5d5a119-7fad-4dd8-97a0-33bf24be29dd: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3_02_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S3_01": { "queries": { "u": "SELECT first(value) as value FROM :2695785f-4e60-4571-b4f2-2590c1975813: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3_01_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S3_02": { "queries": { "u": "SELECT first(value) as value FROM :f5d5a119-7fad-4dd8-97a0-33bf24be29dd: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3_02_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv3_01_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :bae55e09-16b0-4823-b2a4-c6bb4debccbf: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :2695785f-4e60-4571-b4f2-2590c1975813: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv3_01_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv3_02_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :3d5eac14-8eb7-493e-866f-921a26725c74: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :f5d5a119-7fad-4dd8-97a0-33bf24be29dd: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv3_02_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv3_01": { "queries": { "raw": "select * from :2695785f-4e60-4571-b4f2-2590c1975813: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv3_01_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3_01_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv3_02": { "queries": { "raw": "select * from :f5d5a119-7fad-4dd8-97a0-33bf24be29dd: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv3_02_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3_02_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S4101": { "queries": { "u": "SELECT mean(value) as value FROM :b903e1a2-c044-4ffc-852f-9e4ef38adf72: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :fe8d6e73-8e2e-4d26-8c31-72634cfe643a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4101_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 40, "acceptNulls": true }, "Pztr_S4102": { "queries": { "u": "SELECT mean(value) as value FROM :9f152921-dde7-4789-8def-cd41b744067d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :f7924aa3-c6c5-46e0-b0bd-06c9b1b1f341: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4102_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S4103": { "queries": { "u": "SELECT mean(value) as value FROM :a3cebf3d-747e-44be-88e2-7d909f99f51d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :79f8478e-02b7-4226-b2af-99b4748af4dc: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4103_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S4101": { "queries": { "u": "SELECT mean(value) as value FROM :6554198c-9cf4-4902-af4c-2d3bdb15077f: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :fe8d6e73-8e2e-4d26-8c31-72634cfe643a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4101_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_4102": { "queries": { "u": "SELECT mean(value) as value FROM :61cf593a-3359-4376-9a73-bd9bd6f6023c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :f7924aa3-c6c5-46e0-b0bd-06c9b1b1f341: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4102_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_4103": { "queries": { "u": "SELECT mean(value) as value FROM :805c7e9c-7bfd-401e-805a-9f3030e38897: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :79f8478e-02b7-4226-b2af-99b4748af4dc: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4103_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S4101": { "queries": { "u": "SELECT mean(value) as value FROM :3a376dff-eae9-4bb3-84a9-5d7cf6c176db: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :fe8d6e73-8e2e-4d26-8c31-72634cfe643a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4101_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S4102": { "queries": { "u": "SELECT mean(value) as value FROM :84529cc8-7275-4e61-9ee0-17379f0af79a: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :f7924aa3-c6c5-46e0-b0bd-06c9b1b1f341: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4102_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S4103": { "queries": { "u": "SELECT mean(value) as value FROM :2e68a145-dce4-4d04-8712-25252632b619: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :79f8478e-02b7-4226-b2af-99b4748af4dc: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4103_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S4101": { "queries": { "u": "SELECT first(value) as value FROM :fe8d6e73-8e2e-4d26-8c31-72634cfe643a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv4101_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S4102": { "queries": { "u": "SELECT first(value) as value FROM :f7924aa3-c6c5-46e0-b0bd-06c9b1b1f341: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv4102_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S4103": { "queries": { "u": "SELECT first(value) as value FROM :79f8478e-02b7-4226-b2af-99b4748af4dc: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv4103_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv4101_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :93fa3430-a217-4479-9f2d-2eb16084f4b5: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :fe8d6e73-8e2e-4d26-8c31-72634cfe643a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv4101_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv4102_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :e52b75b7-ea62-4a10-be0c-ab2217d274a3: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :f7924aa3-c6c5-46e0-b0bd-06c9b1b1f341: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv4102_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv4103_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :85493daa-0909-4b2d-a452-2524fb2e88d9: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :79f8478e-02b7-4226-b2af-99b4748af4dc: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv4103_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv4101": { "queries": { "raw": "select * from :fe8d6e73-8e2e-4d26-8c31-72634cfe643a: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv4101_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv4101_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv4102": { "queries": { "raw": "select * from :f7924aa3-c6c5-46e0-b0bd-06c9b1b1f341: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv4102_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv4102_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv4103": { "queries": { "raw": "select * from :79f8478e-02b7-4226-b2af-99b4748af4dc: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv4103_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv4103_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1201": { "queries": { "u": "SELECT mean(value) as value FROM :1cb0ae5c-6bb8-4800-a01c-c16531159002: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :559e2263-0612-4496-8ac4-9c76b350356e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1201_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1202": { "queries": { "u": "SELECT mean(value) as value FROM :a03af8df-2045-4f89-a45f-c8d3b76ae882: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :39421b1b-8787-4c3a-a2c8-69800bf8abee: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1202_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S1201": { "queries": { "u": "SELECT mean(value) as value FROM :f6a698af-dfa7-4eab-a989-6aded5c2f4c1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :559e2263-0612-4496-8ac4-9c76b350356e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1201_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S1202": { "queries": { "u": "SELECT mean(value) as value FROM :bc07f665-90be-4826-a6a8-64d955ca4fd7: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :39421b1b-8787-4c3a-a2c8-69800bf8abee: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1202_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1201": { "queries": { "u": "SELECT mean(value) as value FROM :0585c7a4-ffab-4a7f-b2e3-d399bc980e27: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :559e2263-0612-4496-8ac4-9c76b350356e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1201_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1202": { "queries": { "u": "SELECT mean(value) as value FROM :8d8b88f2-9e68-4af8-a283-356d2fc7eaf4: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :39421b1b-8787-4c3a-a2c8-69800bf8abee: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1202_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S1201": { "queries": { "u": "SELECT first(value) as value FROM :559e2263-0612-4496-8ac4-9c76b350356e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1201_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1202": { "queries": { "u": "SELECT first(value) as value FROM :39421b1b-8787-4c3a-a2c8-69800bf8abee: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1202_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv1201_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :035bc903-4a2d-467e-b137-a778e2ac2f27: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :559e2263-0612-4496-8ac4-9c76b350356e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1201_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1202_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :7644bbe6-3b6a-4697-bd21-17d931f52455: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :39421b1b-8787-4c3a-a2c8-69800bf8abee: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1202_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1201": { "queries": { "raw": "select * from :559e2263-0612-4496-8ac4-9c76b350356e: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1201_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1201_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv1202": { "queries": { "raw": "select * from :39421b1b-8787-4c3a-a2c8-69800bf8abee: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1202_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1202_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Kot_UKPG_plan_year": { "queries": { "u": "SELECT sum(value) as value FROM :06a12e05-96f5-432a-b42d-112af86f2b64: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}" }, "cron": "0 0 12 1 1 ? *", "outputTag": "b5d9277c-23a3-4814-ab3b-a430cc442182", "js": "return (u[0].value*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 1, "acceptNulls": false }, "__Kot_VGK_plan_year": { "queries": { "u": "SELECT sum(value) as value FROM :8041f5f6-c495-494e-8347-9dec52119e87: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}" }, "cron": "0 0 12 1 1 ? *", "outputTag": "e61081f1-ce3d-48c8-a014-8c47d27b36a9", "js": "return (u[0].value*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 1, "acceptNulls": false }, "__PB_plan_year": { "queries": { "u": "SELECT sum(value) as value FROM :86a9ad83-5405-4cc8-93de-b7bc70815ae5: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}" }, "cron": "0 0 12 1 1 ? *", "outputTag": "ca4a35d0-1737-4525-8fe5-81123833b48e", "js": "return (u[0].value*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 1, "acceptNulls": false }, "Pztr_S4001": { "queries": { "u": "SELECT mean(value) as value FROM :b9361f42-955e-441c-81ab-c000bac5bbb1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :5093cfd2-51bb-4aa9-af31-2dd791451dc0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4001_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S4002": { "queries": { "u": "SELECT mean(value) as value FROM :4b302c4a-71cb-4191-8722-c29bf6248c26: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :d0b4fd70-0c1f-4463-9e01-a08da435ccbb: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4002_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S4003": { "queries": { "u": "SELECT mean(value) as value FROM :212708c8-58d0-46bf-a786-ea454b2d3cf4: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :0681d360-6a51-4e71-8b51-342f5d4ab386: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4003_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S4004": { "queries": { "u": "SELECT mean(value) as value FROM :6ac9905c-7c20-4822-a60a-d688036a0298: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :9140c51c-3c75-451d-9595-996f9b5cff9b: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4004_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S4001": { "queries": { "u": "SELECT mean(value) as value FROM :555db78f-002b-42cd-b86f-d8d825bf1df2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :5093cfd2-51bb-4aa9-af31-2dd791451dc0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4001_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S4002": { "queries": { "u": "SELECT mean(value) as value FROM :bb9f4a6c-bde6-4463-a16e-0ff97ff229c4: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :d0b4fd70-0c1f-4463-9e01-a08da435ccbb: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4002_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S4003": { "queries": { "u": "SELECT mean(value) as value FROM :1de3db16-0e84-4b7a-866d-1972d6649082: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :0681d360-6a51-4e71-8b51-342f5d4ab386: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4003_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S4004": { "queries": { "u": "SELECT mean(value) as value FROM :450ce330-a00b-413b-827a-a3c94c8c4052: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :9140c51c-3c75-451d-9595-996f9b5cff9b: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4004_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S4001": { "queries": { "u": "SELECT mean(value) as value FROM :aca0b922-9cfa-45ed-95ee-c84aa79a993d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :5093cfd2-51bb-4aa9-af31-2dd791451dc0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4001_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S4002": { "queries": { "u": "SELECT mean(value) as value FROM :5182476d-ae69-4f61-bbf7-136e70b7e5a9: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :d0b4fd70-0c1f-4463-9e01-a08da435ccbb: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4002_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S4003": { "queries": { "u": "SELECT mean(value) as value FROM :83a2cc12-56c3-403b-a3de-85b8339f90b4: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :0681d360-6a51-4e71-8b51-342f5d4ab386: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4003_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S4004": { "queries": { "u": "SELECT mean(value) as value FROM :b713b36e-a399-4e1f-8517-9127b5466740: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :9140c51c-3c75-451d-9595-996f9b5cff9b: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv4004_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S4001": { "queries": { "u": "SELECT first(value) as value FROM :5093cfd2-51bb-4aa9-af31-2dd791451dc0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv4001_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S4002": { "queries": { "u": "SELECT first(value) as value FROM :d0b4fd70-0c1f-4463-9e01-a08da435ccbb: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv4002_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S4003": { "queries": { "u": "SELECT first(value) as value FROM :0681d360-6a51-4e71-8b51-342f5d4ab386: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv4003_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S4004": { "queries": { "u": "SELECT first(value) as value FROM :9140c51c-3c75-451d-9595-996f9b5cff9b: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv4004_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv4001_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :eece59fd-9f31-446b-82e6-116c49c61789: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :5093cfd2-51bb-4aa9-af31-2dd791451dc0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv4001_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv4002_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :5250c16d-2508-492f-966d-949001f33e2e: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :d0b4fd70-0c1f-4463-9e01-a08da435ccbb: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv4002_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv4003_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :eb910d32-201f-4ed5-b5ed-4f27bfde0106: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :0681d360-6a51-4e71-8b51-342f5d4ab386: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv4003_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv4004_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :4267ac1f-3109-4c76-af01-09764770fa76: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :9140c51c-3c75-451d-9595-996f9b5cff9b: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv4004_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S4001": { "queries": { "raw": "select * from :5093cfd2-51bb-4aa9-af31-2dd791451dc0: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv4001_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv4001_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S4002": { "queries": { "raw": "select * from :d0b4fd70-0c1f-4463-9e01-a08da435ccbb: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv4002_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv4002_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S4003": { "queries": { "raw": "select * from :0681d360-6a51-4e71-8b51-342f5d4ab386: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv4003_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv4003_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S4004": { "queries": { "raw": "select * from :9140c51c-3c75-451d-9595-996f9b5cff9b: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv4004_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv4004_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S3901": { "queries": { "u": "SELECT mean(value) as value FROM :c711bb12-1d92-468d-8028-3100e270feaf: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :591325b8-b48d-4c96-9320-f5ae2c60cace: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3901_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S3902": { "queries": { "u": "SELECT mean(value) as value FROM :292b85a0-b847-4ca2-b72f-79449651a2a2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :93dd2494-9655-4543-9caf-a10f051a5dfc: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3902_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S3903": { "queries": { "u": "SELECT mean(value) as value FROM :9d65c70d-78cc-47dd-89fd-b71e11dcf4cd: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :f8610a0e-0efe-4dca-8dde-6f8a64c91d56: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3903_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S3904": { "queries": { "u": "SELECT mean(value) as value FROM :b6d8a5af-816b-40f8-a5d3-8fa970ab193f: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :589e67fd-ffb9-4109-a69c-a9ea94ac174e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3904_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S3901": { "queries": { "u": "SELECT mean(value) as value FROM :15d197e6-32b0-469c-bc65-131f1fbabf98: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :591325b8-b48d-4c96-9320-f5ae2c60cace: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3901_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S3902": { "queries": { "u": "SELECT mean(value) as value FROM :2a665a0e-3f48-4dff-9628-6fbba82c8837: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :93dd2494-9655-4543-9caf-a10f051a5dfc: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3902_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S3903": { "queries": { "u": "SELECT mean(value) as value FROM :890f5467-8c8c-4658-8e54-8d49bb340fdb: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :f8610a0e-0efe-4dca-8dde-6f8a64c91d56: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3903_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S3904": { "queries": { "u": "SELECT mean(value) as value FROM :ecf0cb54-d5ff-404b-950f-6babd31ea6b5: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :589e67fd-ffb9-4109-a69c-a9ea94ac174e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3904_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S3901": { "queries": { "u": "SELECT mean(value) as value FROM :d9420851-7534-4b3d-961f-fffb24190b20: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :591325b8-b48d-4c96-9320-f5ae2c60cace: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3901_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S3902": { "queries": { "u": "SELECT mean(value) as value FROM :0acaff13-a18b-4d59-9842-e708cab7ea9e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :93dd2494-9655-4543-9caf-a10f051a5dfc: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3902_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S3903": { "queries": { "u": "SELECT mean(value) as value FROM :62ded616-9994-42ea-afa7-200712d2f46d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :f8610a0e-0efe-4dca-8dde-6f8a64c91d56: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3903_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S3904": { "queries": { "u": "SELECT mean(value) as value FROM :f735ba71-968a-4a79-b198-aba29eaa833a: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :589e67fd-ffb9-4109-a69c-a9ea94ac174e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3904_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S3901": { "queries": { "u": "SELECT first(value) as value FROM :591325b8-b48d-4c96-9320-f5ae2c60cace: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3901_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S3902": { "queries": { "u": "SELECT first(value) as value FROM :93dd2494-9655-4543-9caf-a10f051a5dfc: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3902_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S3903": { "queries": { "u": "SELECT first(value) as value FROM :f8610a0e-0efe-4dca-8dde-6f8a64c91d56: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3903_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S3904": { "queries": { "u": "SELECT first(value) as value FROM :589e67fd-ffb9-4109-a69c-a9ea94ac174e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3904_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv3901_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :9e302869-cddf-4990-833c-f5cbf5ab7263: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :591325b8-b48d-4c96-9320-f5ae2c60cace: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv3901_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv3902_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :0d1bfe4f-aa3c-4a41-84cb-9e0d432de230: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :93dd2494-9655-4543-9caf-a10f051a5dfc: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv3902_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv3903_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :5e985859-2c7d-4f2e-b6ec-fb2f693b595c: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :f8610a0e-0efe-4dca-8dde-6f8a64c91d56: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv3903_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv3904_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :4f942e2e-c662-4f6e-8e5e-547b0134f737: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :589e67fd-ffb9-4109-a69c-a9ea94ac174e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv3904_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S3901": { "queries": { "raw": "select * from :591325b8-b48d-4c96-9320-f5ae2c60cace: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv3901_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3901_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S3902": { "queries": { "raw": "select * from :93dd2494-9655-4543-9caf-a10f051a5dfc: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv3902_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3902_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S3903": { "queries": { "raw": "select * from :f8610a0e-0efe-4dca-8dde-6f8a64c91d56: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv3903_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3903_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S3904": { "queries": { "raw": "select * from :589e67fd-ffb9-4109-a69c-a9ea94ac174e: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv3904_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3904_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1601": { "queries": { "u": "SELECT mean(value) as value FROM :8d3cbb5a-115b-4bf5-ad2d-c6982156d1fe: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :0bfa3800-86c0-4b27-8b20-268c880fa59b: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1601_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1602": { "queries": { "u": "SELECT mean(value) as value FROM :836708b4-bd15-4fb3-b021-423a693b7ce1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e6b1f2a6-a89a-4856-8ed5-2b4ec942528d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1602_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1603": { "queries": { "u": "SELECT mean(value) as value FROM :f9b5a0fb-33bc-4069-9f3f-5a17fcb6365c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :d480713e-7e92-42a9-b7a5-92b8984e6c17: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1603_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S1601": { "queries": { "u": "SELECT mean(value) as value FROM :979acff6-415e-479a-bc97-275a48fa2915: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :0bfa3800-86c0-4b27-8b20-268c880fa59b: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1601_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S1602": { "queries": { "u": "SELECT mean(value) as value FROM :07ca4063-eca8-495a-8168-ef8c89c5822d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e6b1f2a6-a89a-4856-8ed5-2b4ec942528d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1602_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S1603": { "queries": { "u": "SELECT mean(value) as value FROM :71bec1c8-0fc8-4e95-adfb-66edd24be227: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :d480713e-7e92-42a9-b7a5-92b8984e6c17: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1603_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1601": { "queries": { "u": "SELECT mean(value) as value FROM :571c38f3-6fbf-452d-9777-c10c2d9b9ed0: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :0bfa3800-86c0-4b27-8b20-268c880fa59b: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1601_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1602": { "queries": { "u": "SELECT mean(value) as value FROM :5839d3ad-b973-4cdb-ad9a-e4b8cb6b8f8d: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e6b1f2a6-a89a-4856-8ed5-2b4ec942528d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1602_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1603": { "queries": { "u": "SELECT mean(value) as value FROM :02c37a2d-ab2d-45f1-9b89-8448fb5a2c0b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :d480713e-7e92-42a9-b7a5-92b8984e6c17: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1603_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S1601": { "queries": { "u": "SELECT first(value) as value FROM :0bfa3800-86c0-4b27-8b20-268c880fa59b: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1601_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1602": { "queries": { "u": "SELECT first(value) as value FROM :e6b1f2a6-a89a-4856-8ed5-2b4ec942528d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1602_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1603": { "queries": { "u": "SELECT first(value) as value FROM :d480713e-7e92-42a9-b7a5-92b8984e6c17: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1603_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv1601_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :9c72dd6a-eb0b-48e3-a86d-cb7a9fe66e28: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :0bfa3800-86c0-4b27-8b20-268c880fa59b: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1601_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1602_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :e7541633-e5dc-4fd2-a375-c75085cdead5: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :e6b1f2a6-a89a-4856-8ed5-2b4ec942528d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1602_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1603_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :19786e94-ddbb-4b73-8da4-d685eb6968ad: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :d480713e-7e92-42a9-b7a5-92b8984e6c17: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1603_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S1601": { "queries": { "raw": "select * from :0bfa3800-86c0-4b27-8b20-268c880fa59b: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1601_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1601_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S1602": { "queries": { "raw": "select * from :e6b1f2a6-a89a-4856-8ed5-2b4ec942528d: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1602_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1602_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S1603": { "queries": { "raw": "select * from :d480713e-7e92-42a9-b7a5-92b8984e6c17: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1603_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1603_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "H_calorific_value_MJ_day": { "queries": { "u": "SELECT mean(value) as value FROM :b4bddd4b-082c-4568-bf29-925d97eb7a5d: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]} and value>0" }, "cron": "30 10 12 * * ? *", "outputTag": "H_calorific_value_MJ_day", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "L_calorific_value_MJ_day": { "queries": { "u": "SELECT mean(value) as value FROM :b5673402-a49c-4f42-bcd5-5131f318728f: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]} and value>0" }, "cron": "30 10 12 * * ? *", "outputTag": "L_calorific_value_MJ_day", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "H_calorific_value_kcal_day": { "queries": { "u": "SELECT mean(value) as value FROM :b4bddd4b-082c-4568-bf29-925d97eb7a5d: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]} and value>0" }, "cron": "30 10 12 * * ? *", "outputTag": "H_calorific_value_kcal_day", "js": "return u[0].value*238.8458966;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "L_calorific_value_kcal_day": { "queries": { "u": "SELECT mean(value) as value FROM :b5673402-a49c-4f42-bcd5-5131f318728f: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]} and value>0" }, "cron": "30 10 12 * * ? *", "outputTag": "L_calorific_value_kcal_day", "js": "return u[0].value*238.8458966;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Pztr_S6_01": { "queries": { "u": "SELECT mean(value) as value FROM :29c1f15f-2752-415a-9163-6f22b76d15d1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :0466f6e0-f397-4627-a624-46e885390944: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv6_01_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S6_02": { "queries": { "u": "SELECT mean(value) as value FROM :684e7b54-fab5-4dfe-91be-911240f3b121: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :8a96096a-b7cf-4c1b-9c7c-da78ce112323: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv6_02_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S6_01": { "queries": { "u": "SELECT mean(value) as value FROM :b648bebc-a48a-4e10-abae-7432a038d7ba: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :0466f6e0-f397-4627-a624-46e885390944: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv6_01_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S6_02": { "queries": { "u": "SELECT mean(value) as value FROM :323a9df1-149d-47e7-9db3-2f716df6595e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :8a96096a-b7cf-4c1b-9c7c-da78ce112323: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv6_02_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S6_01": { "queries": { "u": "SELECT mean(value) as value FROM :4b833919-3989-4635-bc75-b00aa88b3a93: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :0466f6e0-f397-4627-a624-46e885390944: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv6_01_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S6_02": { "queries": { "u": "SELECT mean(value) as value FROM :ef1e813c-f528-45d7-bae1-bd871ed7be8a: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :8a96096a-b7cf-4c1b-9c7c-da78ce112323: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv6_02_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S6_01": { "queries": { "u": "SELECT first(value) as value FROM :0466f6e0-f397-4627-a624-46e885390944: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv6_01_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S6_02": { "queries": { "u": "SELECT first(value) as value FROM :8a96096a-b7cf-4c1b-9c7c-da78ce112323: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv6_02_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv6_01_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :f14da0db-fe02-4732-9d8d-ea9854d85138: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :0466f6e0-f397-4627-a624-46e885390944: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv6_01_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv6_02_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :917bc1ed-d619-4f32-92fd-76fc26d9339c: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :8a96096a-b7cf-4c1b-9c7c-da78ce112323: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv6_02_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv6_01": { "queries": { "raw": "select * from :0466f6e0-f397-4627-a624-46e885390944: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv6_01_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv6_01_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv6_02": { "queries": { "raw": "select * from :8a96096a-b7cf-4c1b-9c7c-da78ce112323: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv6_02_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv6_02_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "16_PPA_Pvh13": { "queries": { "u": "SELECT mean(value) as value FROM :f04d3adb-d367-491b-b62b-71b03e9e3936: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "PPA_Pvh13_hour", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Tvh13": { "queries": { "u": "SELECT mean(value) as value FROM :ab1b33ed-abf2-4045-8843-4688232f0616: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "PPA_Tvh13_hour", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "16_PPA_Pvih13": { "queries": { "u": "SELECT mean(value) as value FROM :456ca0cc-a370-4174-ba07-a103cbec9861: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}" }, "cron": "0 2 * * * ? *", "outputTag": "PPA_Pvih13_hour", "js": "return(parseFloat(u[0].value)*10.19716).toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Pvh13_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :PPA_Pvh13_hour: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :PPA_Pvh13_hour: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :PPA_Pvh13_hour: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Pvh13_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Tvh13_PPA_10d": { "queries": { "a": "SELECT mean(value) as value FROM :PPA_Tvh13_hour: where quality!=\'REPLACED\' and time >= {M<13h>[]} and time < {M<13h>[+10d]}", "b": "SELECT mean(value) as value FROM :PPA_Tvh13_hour: where quality!=\'REPLACED\' and time >= {M<13h>[+10d]} and time < {M<13h>[+20d]}", "c": "SELECT mean(value) as value FROM :PPA_Tvh13_hour: where quality!=\'REPLACED\' and time >= {M<13h>[+20d]} and time < {M<13h>[+1M]}" }, "cron": "0 2 12 1,11,21 * ? *", "outputTag": "Tvh13_PPA_10d", "js": "var d=new Date(fireTime).getUTCDate();switch(d){case 11:return a[0].value.toFixed(1);case 21:return b[0].value.toFixed(1);case 1:return c[0].value.toFixed(1);}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 4, "acceptNulls": true }, "Pztr_S2201": { "queries": { "u": "SELECT mean(value) as value FROM :ac4a58ea-f21b-4839-a75f-a674b7469de3: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :bb146258-851a-4d64-a196-a9810296420f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2201_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S2202": { "queries": { "u": "SELECT mean(value) as value FROM :ea0c4478-22aa-4d38-b05f-cc65215dfab5: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :1b5f6cde-395c-4ca7-81ec-6e2451da89cf: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2202_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S2203": { "queries": { "u": "SELECT mean(value) as value FROM :206c7e47-cc08-4eab-83e7-f5d21a699e38: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :31bf1278-657a-4b23-b1c5-f6f090c717c2: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2203_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S2201": { "queries": { "u": "SELECT mean(value) as value FROM :dc878003-dd20-4424-96c7-e09bd826b598: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :bb146258-851a-4d64-a196-a9810296420f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2201_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S2202": { "queries": { "u": "SELECT mean(value) as value FROM :118969d1-f46c-438a-8909-f9f79d0b2849: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :1b5f6cde-395c-4ca7-81ec-6e2451da89cf: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2202_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S2203": { "queries": { "u": "SELECT mean(value) as value FROM :d1df9b2e-822b-4a6d-acc6-636fd3dd0cea: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :31bf1278-657a-4b23-b1c5-f6f090c717c2: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2203_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S2201": { "queries": { "u": "SELECT mean(value) as value FROM :852ba791-b808-4b76-ab5b-3b5e38bbc704: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :bb146258-851a-4d64-a196-a9810296420f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2201_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S2202": { "queries": { "u": "SELECT mean(value) as value FROM :0d678a8a-6d65-4f87-ba54-318014ef5f32: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :1b5f6cde-395c-4ca7-81ec-6e2451da89cf: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2202_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S2203": { "queries": { "u": "SELECT mean(value) as value FROM :c5b3c635-f516-44f7-b639-f72c2fc0dc5e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :31bf1278-657a-4b23-b1c5-f6f090c717c2: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2203_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S2201": { "queries": { "u": "SELECT first(value) as value FROM :bb146258-851a-4d64-a196-a9810296420f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2201_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S2202": { "queries": { "u": "SELECT first(value) as value FROM :1b5f6cde-395c-4ca7-81ec-6e2451da89cf: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2202_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S2203": { "queries": { "u": "SELECT first(value) as value FROM :31bf1278-657a-4b23-b1c5-f6f090c717c2: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2203_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv2201_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :0dba2b71-ca7a-46ae-8830-4b95d0fa8ca2: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :bb146258-851a-4d64-a196-a9810296420f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2201_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv2202_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :35768e7a-1599-470a-990b-a8ab1dd9398c: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :1b5f6cde-395c-4ca7-81ec-6e2451da89cf: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2202_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv2203_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :5f950248-03cb-4e60-ab0c-ac396747e410: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :31bf1278-657a-4b23-b1c5-f6f090c717c2: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2203_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S2201": { "queries": { "raw": "select * from :bb146258-851a-4d64-a196-a9810296420f: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv2201_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2201_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S2202": { "queries": { "raw": "select * from :1b5f6cde-395c-4ca7-81ec-6e2451da89cf: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv2202_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2202_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S2203": { "queries": { "raw": "select * from :31bf1278-657a-4b23-b1c5-f6f090c717c2: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv2203_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2203_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S2401": { "queries": { "u": "SELECT mean(value) as value FROM :27cc2442-6e57-493b-88f9-1cdff3f8e1ca: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :5287174b-ff13-47a9-a1ef-f67dad94733c: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2401_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S2402": { "queries": { "u": "SELECT mean(value) as value FROM :371b0146-8f0c-40a5-a8e0-45d3035547a3: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :12c08445-5042-4cf3-9d76-129674207c62: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2402_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S2401": { "queries": { "u": "SELECT mean(value) as value FROM :6eeca3d3-4d97-45e2-8a42-64b1230fd560: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :5287174b-ff13-47a9-a1ef-f67dad94733c: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2401_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S2402": { "queries": { "u": "SELECT mean(value) as value FROM :c4fbc9c7-d9db-418d-be4d-a7330ccb8707: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :12c08445-5042-4cf3-9d76-129674207c62: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2402_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S2401": { "queries": { "u": "SELECT mean(value) as value FROM :f6ad3231-2274-4354-86d4-976559034e72: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :5287174b-ff13-47a9-a1ef-f67dad94733c: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2401_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S2402": { "queries": { "u": "SELECT mean(value) as value FROM :ca0ec5e1-b168-4022-8d4b-6e0ecafa7e75: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :12c08445-5042-4cf3-9d76-129674207c62: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2402_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S2401": { "queries": { "u": "SELECT first(value) as value FROM :5287174b-ff13-47a9-a1ef-f67dad94733c: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2401_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S2402": { "queries": { "u": "SELECT first(value) as value FROM :12c08445-5042-4cf3-9d76-129674207c62: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2402_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv2401_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :35eb85dd-e4fd-44f1-9704-b2d0bbb9258c: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :5287174b-ff13-47a9-a1ef-f67dad94733c: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2401_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv2402_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :b16d9bc6-2d11-494c-81de-43052f899a16: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :12c08445-5042-4cf3-9d76-129674207c62: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2402_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S2401": { "queries": { "raw": "select * from :5287174b-ff13-47a9-a1ef-f67dad94733c: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv2401_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2401_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S2402": { "queries": { "raw": "select * from :12c08445-5042-4cf3-9d76-129674207c62: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv2402_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2402_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S2601": { "queries": { "u": "SELECT mean(value) as value FROM :9702af04-429d-4bad-96a1-3941b4f0501b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :02f20e03-74ed-4b3b-b750-3267f493f431: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2601_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S2602": { "queries": { "u": "SELECT mean(value) as value FROM :2b70cd78-baa4-44bb-b06f-9785646606bd: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :334cd26b-0bfa-4890-bf56-43a0e71dab8a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2602_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S2601": { "queries": { "u": "SELECT mean(value) as value FROM :8b6fc406-eb32-44a0-8e16-bbfac1e5e266: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :02f20e03-74ed-4b3b-b750-3267f493f431: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2601_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S2602": { "queries": { "u": "SELECT mean(value) as value FROM :d32d0ac1-51f6-4bb7-8c62-b10fd2a1b949: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :334cd26b-0bfa-4890-bf56-43a0e71dab8a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2602_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S2601": { "queries": { "u": "SELECT mean(value) as value FROM :581a0ed6-19fa-4cc3-8fb9-e342693a2097: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :02f20e03-74ed-4b3b-b750-3267f493f431: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2601_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S2602": { "queries": { "u": "SELECT mean(value) as value FROM :0fc2c1ce-a697-4233-8b2b-21164ba8b7cd: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :334cd26b-0bfa-4890-bf56-43a0e71dab8a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2602_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S2601": { "queries": { "u": "SELECT first(value) as value FROM :02f20e03-74ed-4b3b-b750-3267f493f431: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2601_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S2602": { "queries": { "u": "SELECT first(value) as value FROM :334cd26b-0bfa-4890-bf56-43a0e71dab8a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2602_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv2601_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :f607cff0-6298-40f9-8e4f-7944514a0876: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :02f20e03-74ed-4b3b-b750-3267f493f431: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2601_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv2602_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :e1427853-5235-4196-aae7-aaba14eb5c65: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :334cd26b-0bfa-4890-bf56-43a0e71dab8a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2602_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S2601": { "queries": { "raw": "select * from :02f20e03-74ed-4b3b-b750-3267f493f431: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv2601_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2601_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S2602": { "queries": { "raw": "select * from :334cd26b-0bfa-4890-bf56-43a0e71dab8a: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv2602_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2602_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S3601": { "queries": { "u": "SELECT mean(value) as value FROM :d87e517d-251d-4869-a36f-02a36bc0fe4b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :a4ee9eca-be23-4e1f-b7fb-26df6bd82392: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3601_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S3602": { "queries": { "u": "SELECT mean(value) as value FROM :79021837-f20e-4f09-a8ea-a001fd0c6d72: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :38f43b27-9b52-40d5-871a-a1f05d6e98af: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3602_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S3603": { "queries": { "u": "SELECT mean(value) as value FROM :51ed1e6b-f2b8-434f-8ac1-482d86a982fa: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :47f5a14d-1c13-4d9c-b826-0d26627d518a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3603_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S3601": { "queries": { "u": "SELECT mean(value) as value FROM :2cbf0d8a-8d1c-406b-b9f1-a8e221117c4c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :a4ee9eca-be23-4e1f-b7fb-26df6bd82392: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3601_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S3602": { "queries": { "u": "SELECT mean(value) as value FROM :49050057-41a6-40e9-86cf-a3d55e9d377b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :38f43b27-9b52-40d5-871a-a1f05d6e98af: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3602_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S3603": { "queries": { "u": "SELECT mean(value) as value FROM :8001cf25-2c56-42f5-9173-1f2c7f8336ae: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :47f5a14d-1c13-4d9c-b826-0d26627d518a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3603_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S3601": { "queries": { "u": "SELECT mean(value) as value FROM :d9e49eab-6b5b-42a6-b50e-f435ed61760c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :a4ee9eca-be23-4e1f-b7fb-26df6bd82392: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3601_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S3602": { "queries": { "u": "SELECT mean(value) as value FROM :a03c8085-06a8-4a27-a0fe-9a59e61bfe09: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :38f43b27-9b52-40d5-871a-a1f05d6e98af: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3602_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S3603": { "queries": { "u": "SELECT mean(value) as value FROM :8a5ab598-823e-4f14-b2b5-a965633f7133: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :47f5a14d-1c13-4d9c-b826-0d26627d518a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3603_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S3601": { "queries": { "u": "SELECT first(value) as value FROM :a4ee9eca-be23-4e1f-b7fb-26df6bd82392: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3601_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S3602": { "queries": { "u": "SELECT first(value) as value FROM :38f43b27-9b52-40d5-871a-a1f05d6e98af: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3602_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S3603": { "queries": { "u": "SELECT first(value) as value FROM :47f5a14d-1c13-4d9c-b826-0d26627d518a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3603_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv3601_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :52db0a37-29a5-47f0-9c59-74540da0f731: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :a4ee9eca-be23-4e1f-b7fb-26df6bd82392: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv3601_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv3602_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :d3a0bd01-2a73-4827-a294-9f20a6d1a5be: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :38f43b27-9b52-40d5-871a-a1f05d6e98af: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv3602_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv3603_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :6c7fd485-c658-4dc1-a030-0c774a7f68d9: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :47f5a14d-1c13-4d9c-b826-0d26627d518a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv3603_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv3601": { "queries": { "raw": "select * from :a4ee9eca-be23-4e1f-b7fb-26df6bd82392: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv3601_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3601_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv3602": { "queries": { "raw": "select * from :38f43b27-9b52-40d5-871a-a1f05d6e98af: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv3602_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3602_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_Skv3603": { "queries": { "raw": "select * from :47f5a14d-1c13-4d9c-b826-0d26627d518a: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv3603_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3603_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S3801": { "queries": { "u": "SELECT mean(value) as value FROM :e5e128fc-2f00-41bb-b189-50b1e72dfdd4: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :3b15145c-9c4e-4326-a614-444b48baabd5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3801_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S3802": { "queries": { "u": "SELECT mean(value) as value FROM :72b10568-c193-4e3f-9507-ab71902e56b0: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :f8e34982-b1e9-4096-9e0b-d2e9bd7b5958: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3802_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S3801": { "queries": { "u": "SELECT mean(value) as value FROM :758fea31-83f0-47a6-830d-dd2e33f796a8: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :3b15145c-9c4e-4326-a614-444b48baabd5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3801_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S3802": { "queries": { "u": "SELECT mean(value) as value FROM :f1f266ac-075a-4f8b-8ad2-35699ac56d4b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :f8e34982-b1e9-4096-9e0b-d2e9bd7b5958: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3802_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S3801": { "queries": { "u": "SELECT mean(value) as value FROM :49b44fc6-b5ec-44db-bba3-31278f3bd188: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :3b15145c-9c4e-4326-a614-444b48baabd5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3801_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S3802": { "queries": { "u": "SELECT mean(value) as value FROM :ebc792bc-9181-448b-aaa0-e001434311f5: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :f8e34982-b1e9-4096-9e0b-d2e9bd7b5958: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3802_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S3801": { "queries": { "u": "SELECT first(value) as value FROM :3b15145c-9c4e-4326-a614-444b48baabd5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3801_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S3802": { "queries": { "u": "SELECT first(value) as value FROM :f8e34982-b1e9-4096-9e0b-d2e9bd7b5958: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3802_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv3801_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :55fa3acf-8c7d-482c-b617-503266b71784: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :3b15145c-9c4e-4326-a614-444b48baabd5: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv3801_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv3802_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :2590e1b4-a02e-4362-9327-d93ae6dab2f3: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :f8e34982-b1e9-4096-9e0b-d2e9bd7b5958: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv3802_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S3801": { "queries": { "raw": "select * from :3b15145c-9c4e-4326-a614-444b48baabd5: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv3801_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3801_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S3802": { "queries": { "raw": "select * from :f8e34982-b1e9-4096-9e0b-d2e9bd7b5958: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv3802_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3802_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "turon_day": { "queries": { "u": "SELECT sum(value) as value FROM :turon_g_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "30 20 12 * * ? *", "outputTag": "turon_day", "js": "return u[0].value;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__met_ukpg_obsh": { "queries": { "u1": "select last(value) as value from :a4c08d92-3699-4616-9f94-e0255f83a5b7: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}", "u2": "select last(value) as value from :d7042d1a-7cf2-4b7c-856d-1aca06b4339d: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}" }, "cron": "0 10 12 * * ? *", "outputTag": "met_ukpg_obsh", "js": "return((u1==null||u1.length==0?0:u1[0].value)+(u2==null||u2.length==0?0:u2[0].value)).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__met_senom_day": { "queries": { "u1": "select last(value) as value from :met_ukpg_obsh: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}", "u2": "select last(value) as value from :turon_met_sum_day: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}" }, "cron": "0 30 12 * * ? *", "outputTag": "met_senom_day", "js": "return((u1==null||u1.length==0?0:u1[0].value)-(u2==null||u2.length==0?0:u2[0].value));", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__rash_po_notme_turon": { "queries": { "u1": "select last(value) as value from :turon_day: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}", "u2": "select last(value) as value from :ud_rash_turon: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "30 20 12 * * ? *", "outputTag": "rash_po_notme_turon", "js": "return(u1[0].value*u2[0].value/1000000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__otkl_turon_day": { "queries": { "u1": "select last(value) as value from :turon_met_sum_day: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}", "u2": "select last(value) as value from :rash_po_notme_turon: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}" }, "cron": "0 30 12 * * ? *", "outputTag": "otkl_turon_day", "js": "return(u1[0].value-u2[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__met_ukpg_obsh_accum_month": { "queries": { "raw": "select sum(value) as value from :met_ukpg_obsh: where quality!=\'REPLACED\' and time >= {M<12h>[-1M+1s]} and time < {M<12h>[+1s]}", "cum": "select * from :met_ukpg_obsh_accum_month: where quality!=\'REPLACED\' and time = {H[-1M]} and time >= {Y<12h>[-1M]}" }, "cron": "0 10 12 1 * ? *", "outputTag": "met_ukpg_obsh_accum_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return(cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0)).toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__met_turon_accum_month": { "queries": { "raw": "select sum(value) as value from :turon_met_sum_day: where quality!=\'REPLACED\' and time >= {M<12h>[-1M+1s]} and time < {M<12h>[+1s]}", "cum": "select * from :met_turon_accum_month: where quality!=\'REPLACED\' and time = {H[-1M]} and time >= {Y<12h>[-1M]}" }, "cron": "0 30 12 1 * ? *", "outputTag": "met_turon_accum_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return(cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0)).toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__otkl_turon_month": { "queries": { "a": "SELECT sum(value) as value FROM :otkl_turon_day: where quality!=\'REPLACED\' and time >= {M<12h>[-1M+1s]} and time < {M<12h>[+1s]}" }, "cron": "0 30 12 1 01,02,03,04,05,06,07,08,09,10,11,12 ? *", "outputTag": "otkl_turon_month", "js": "return (a[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__ud_rash_met_turon_day": { "queries": { "a1": "SELECT sum(value) as value FROM :turon_met_sum_day: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "a2": "SELECT sum(value) as value FROM :turon_day: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 30 12 * * ? *", "outputTag": "ud_rash_met_turon_day", "js": "return (a1[0].value*1000000/a2[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__ud_rash_met_turon_month": { "queries": { "a": "SELECT mean(value) as value FROM :ud_rash_met_turon_day: where quality!=\'REPLACED\' and time >= {M<12h>[-1M+1s]} and time < {M<12h>[+1s]}" }, "cron": "0 20 12 1 * ? *", "outputTag": "ud_rash_met_turon_month", "js": "return (a[0].value).toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 1, "acceptNulls": false }, "__otkl_gsm3_turon_month": { "queries": { "a1": "SELECT mean(value) as value FROM :ud_rash_met_turon_month: where quality!=\'REPLACED\' and time > {M<12h>[-1M+1s]} and time <= {M<12h>[+1s]}", "a2": "SELECT last(value) as value FROM :ud_rash_turon: where quality!=\'REPLACED\' and time >= {M<12h>[-1M+1s]} and time < {M<12h>[+1s]}" }, "cron": "0 18 12 1 * ? *", "outputTag": "otkl_gsm3_turon_month", "js": "return (a1[0].value-a2[0].value).toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 1, "acceptNulls": false }, "__vg_senom_day": { "queries": { "u1": "select last(value) as value from :gsn_q_sut: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}", "u2": "select sum(value) as value from :tovg_q_hour: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}", "u3": "select last(value) as value from :turon_day: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}" }, "cron": "0 20 12 * * ? *", "outputTag": "vg_senom_day", "js": "return((u1[0].value+u2[0].value)/1000-u3[0].value);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__rash_po_norme_senom": { "queries": { "u1": "select last(value) as value from :vg_senom_day: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}", "u2": "select last(value) as value from :ud_rash_senom: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 10 12 * * ? *", "outputTag": "rash_po_norme_senom", "js": "return(((u1==null||u1.length==0?0:u1[0].value)*(u2==null||u2.length==0?0:u2[0].value))/1000000).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__rash_met_senom_gsm3_day": { "queries": { "u1": "select last(value) as value from :vg_senom_day: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}", "u2": "select last(value) as value from :met_senom_day: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}" }, "cron": "0 10 12 * * ? *", "outputTag": "rash_met_senom_gsm3_day", "js": "return(u2[0].value/u1[0].value*1000000).toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__otkl_senom_gsm3_day": { "queries": { "u1": "select last(value) as value from :rash_met_senom_gsm3_day: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}", "u2": "select last(value) as value from :ud_rash_senom: where quality!=\'REPLACED\' and time <{H[+1s]}" }, "cron": "0 10 12 * * ? *", "outputTag": "otkl_senom_gsm3_day", "js": "return(u1[0].value-u2[0].value).toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__otkl_senom_gsm3_month": { "queries": { "a": "SELECT sum(value) as value FROM :met_senom_day: where quality!=\'REPLACED\' and time > {M<12h>[-1M+1s]} and time < {M<12h>[+1s]}", "b": "select sum(value) as value from :vg_senom_day: where quality!=\'REPLACED\' and time >= {M<12h>[-1M+1s]} and time < {M<12h>[+1s]}", "c": "select sum(value) as value from :ud_rash_senom: where quality!=\'REPLACED\' and time >= {M<12h>[-1M+1s]} and time < {M<12h>[+1s]}" }, "cron": "0 10 12 1 * ? *", "outputTag": "otkl_senom_gsm3_month", "js": "return (a[0].value/b[0].value*1000000-c[0].value).toFixed(2);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__rash_met_obsh_gsm3_day": { "queries": { "u1": "select last(value) as value from :vg_senom_day: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}", "u2": "select last(value) as value from :met_ukpg_obsh: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}", "u3": "select last(value) as value from :turon_day: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}" }, "cron": "0 20 12 * * ? *", "outputTag": "rash_met_obsh_gsm3_day", "js": "return(u2[0].value/(u1[0].value+u3[0].value)*1000000);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__otkl_senom_day": { "queries": { "u1": "select last(value) as value from :met_senom_day: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}", "u2": "select last(value) as value from :rash_po_norme_senom: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}" }, "cron": "0 30 12 * * ? *", "outputTag": "otkl_senom_day", "js": "return(u1[0].value-u2[0].value);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__otkl_senom_month": { "queries": { "a": "SELECT sum(value) as value FROM :rash_po_norme_senom: where quality!=\'REPLACED\' and time >= {M<12h>[-1M+1s]} and time < {M<12h>[+1s]}", "b": "SELECT sum(value) as value FROM :met_senom_day: where quality!=\'REPLACED\' and time >= {M<12h>[-1M+1s]} and time < {M<12h>[+1s]}" }, "cron": "0 10 12 1 * ? *", "outputTag": "otkl_senom_month", "js": "return (b[0].value-a[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__ud_rash_met_senom_month": { "queries": { "a": "SELECT mean(value) as value FROM :rash_met_senom_gsm3_day: where quality!=\'REPLACED\' and time >= {M<12h>[-1M+1s]} and time < {M<12h>[+1s]}" }, "cron": "0 30 12 1 * ? *", "outputTag": "ud_rash_met_senom_month", "js": "return (a[0].value);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__otkl_obsh_GP_day": { "queries": { "u1": "select last(value) as value from :met_ukpg_obsh: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}", "u2": "SELECT sum(value) as value FROM :turon_met_sum_day: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}", "u3": "SELECT sum(value) as value FROM :met_rashod_po_norme_day: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time < {H[+1s]}" }, "cron": "0 30 12 * * ? *", "outputTag": "otkl_obsh_GP_day", "js": "return(u1[0].value+u2[0].value-u3[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__otkl_obsh_GP_gsm3_day": { "queries": { "u1": "select last(value) as value from :rash_met_obsh_gsm3_day: where quality!=\'REPLACED\' and time >= {H[-1d+1s]} and time <{H[+1s]}", "u2": "SELECT last(value) as value FROM :5be8207f-3668-4cf6-95bb-bfc4566d4ffd: where quality!=\'REPLACED\' and time < {H[+1s]}" }, "cron": "0 10 12 * * ? *", "outputTag": "otkl_obsh_GP_gsm3_day", "js": "return(u1[0].value-u2[0].value);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__met_otkl_gsm3_month": { "queries": { "u1": "select sum(value) as value from :vg_senom_day: where quality!=\'REPLACED\' and time > {M<12h>[-1M+1s]} and time <= {M<12h>[+1s]}", "u2": "select sum(value) as value from :met_ukpg_obsh: where quality!=\'REPLACED\' and time > {M<12h>[-1M+1s]} and time <= {M<12h>[+1s]}", "u3": "select sum(value) as value from :turon_day: where quality!=\'REPLACED\' and time > {M<12h>[-1M+1s]} and time <= {M<12h>[+1s]}", "u4": "SELECT last(value) as value FROM :5be8207f-3668-4cf6-95bb-bfc4566d4ffd: where quality!=\'REPLACED\' and time < {H[+1s]}" }, "cron": "0 20 12 1 * ? *", "outputTag": "met_otkl_gsm3_month", "js": "return(u2[0].value/(u1[0].value+u3[0].value)*1000000-u4[0].value).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__sost_gpa9": { "queries": { "u": "SELECT last(value) as value FROM :d6124022-28da-49b4-9074-25577b3dc26d: where quality!=\'REPLACED\' and time >= {H[-1h+5m]} and time < {H[]}" }, "cron": "0 0 * ? * * *", "outputTag": "sost_gpa9", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA9_Nst": { "queries": { "u": "SELECT mean(value) as value FROM :60ef5d66-c67d-4fe4-9c2b-b8c49ef0eb32: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa9: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "ob_st_gpa9", "js": "if(v[0].value===0){if(u[0].value>3000){return u[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__sost_gpa10": { "queries": { "u": "SELECT last(value) as value FROM :ee6e214d-342f-4f8f-a4c9-b295d05656ff: where quality!=\'REPLACED\' and time >= {H[-1h+5m]} and time < {H[]}" }, "cron": "0 0 * ? * * *", "outputTag": "sost_gpa10", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA10_Nst": { "queries": { "u": "SELECT mean(value) as value FROM :92b87421-1eb2-4eef-8820-10d895c1f75e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa10: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "ob_st_gpa10", "js": "if(v[0].value===0){if(u[0].value>3000){return u[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__sost_gpa11": { "queries": { "u": "SELECT last(value) as value FROM :6b4c83f3-e234-4b51-a8f6-9c692759edfc: where quality!=\'REPLACED\' and time >= {H[-1h+5m]} and time < {H[]}" }, "cron": "0 0 * ? * * *", "outputTag": "sost_gpa11", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA11_Nst": { "queries": { "u": "SELECT mean(value) as value FROM :59f2e85c-2519-4e72-849c-f7e2831f073c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa11: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "ob_st_gpa11", "js": "if(v[0].value===0){if(u[0].value>3000){return u[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__sost_gpa12": { "queries": { "u": "SELECT last(value) as value FROM :53f1c21b-1c52-4d23-9155-6db8f95f216b: where quality!=\'REPLACED\' and time >= {H[-1h+5m]} and time < {H[]}" }, "cron": "0 0 * ? * * *", "outputTag": "sost_gpa12", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA12_Nst": { "queries": { "u": "SELECT mean(value) as value FROM :c48c7a40-09b9-4965-a4df-ae51de6c5338: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa12: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "ob_st_gpa12", "js": "if(v[0].value===0){if(u[0].value>3000){return u[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__sost_gpa13": { "queries": { "u": "SELECT last(value) as value FROM :a096cb1e-bcbf-4490-8f05-7bbe88493ccb: where quality!=\'REPLACED\' and time >= {H[-1h+5m]} and time < {H[]}" }, "cron": "0 0 * ? * * *", "outputTag": "sost_gpa13", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA13_Nst": { "queries": { "u": "SELECT mean(value) as value FROM :cd0e59ce-7845-463c-849f-20162c904cfb: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa13: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "ob_st_gpa13", "js": "if(v[0].value===0){if(u[0].value>3000){return u[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__sost_gpa14": { "queries": { "u": "SELECT last(value) as value FROM :628eea8d-ec10-446a-b57e-ff57c2d4641a: where quality!=\'REPLACED\' and time >= {H[-1h+5m]} and time < {H[]}" }, "cron": "0 0 * ? * * *", "outputTag": "sost_gpa14", "js": "return u[0].value.toFixed(1);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA14_Nst": { "queries": { "u": "SELECT mean(value) as value FROM :3679e9e4-e21c-4646-805e-35d33f9030be: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa14: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "ob_st_gpa14", "js": "if(v[0].value===0){if(u[0].value>3000){return u[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA9_Ngg": { "queries": { "a": "SELECT mean(value) as value FROM :f133a561-645d-4808-9d00-f48856b8fea1: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :60ef5d66-c67d-4fe4-9c2b-b8c49ef0eb32: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa9: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Ngg_GPA9", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA10_Ngg": { "queries": { "a": "SELECT mean(value) as value FROM :3d2dda3b-6bd0-4a1d-b273-bfa9667673e4: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :92b87421-1eb2-4eef-8820-10d895c1f75e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa10: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Ngg_GPA10", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA11_Ngg": { "queries": { "a": "SELECT mean(value) as value FROM :703cfdff-af08-4810-b871-1324a02b216c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :59f2e85c-2519-4e72-849c-f7e2831f073c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa11: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Ngg_GPA11", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA12_Ngg": { "queries": { "a": "SELECT mean(value) as value FROM :88ac0957-e9df-4a15-a624-6d6f84103bbc: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :c48c7a40-09b9-4965-a4df-ae51de6c5338: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa12: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Ngg_GPA12", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA13_Ngg": { "queries": { "a": "SELECT mean(value) as value FROM :aea10c57-685c-40fb-bf22-7530986eceab: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :cd0e59ce-7845-463c-849f-20162c904cfb: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa13: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Ngg_GPA13", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA14_Ngg": { "queries": { "a": "SELECT mean(value) as value FROM :57ae3ad0-807b-4230-b5a9-184fa4ae2137: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :3679e9e4-e21c-4646-805e-35d33f9030be: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa14: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Ngg_GPA14", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA9_Pvh": { "queries": { "a": "SELECT mean(value) as value FROM :8f317de0-15bf-4073-8e7a-395e67a22f9f: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :60ef5d66-c67d-4fe4-9c2b-b8c49ef0eb32: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa9: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Pg_vh_GPA9", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA10_Pvh": { "queries": { "a": "SELECT mean(value) as value FROM :c28d4ce5-b208-4c79-87af-ed1170ade7c8: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :92b87421-1eb2-4eef-8820-10d895c1f75e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa10: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Pg_vh_GPA10", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA11_Pvh": { "queries": { "a": "SELECT mean(value) as value FROM :e38ffefd-f9d9-4ab7-b7af-83b5dc637a66: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :59f2e85c-2519-4e72-849c-f7e2831f073c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa11: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Pg_vh_GPA11", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA12_Pvh": { "queries": { "a": "SELECT mean(value) as value FROM :29a4360f-2f4a-4125-8b21-a60ede8c0fc2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :c48c7a40-09b9-4965-a4df-ae51de6c5338: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa12: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Pg_vh_GPA12", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA13_Pvh": { "queries": { "a": "SELECT mean(value) as value FROM :32c33577-eaf2-4e81-a21a-72639912d04a: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :cd0e59ce-7845-463c-849f-20162c904cfb: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa13: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Pg_vh_GPA13", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA14_Pvh": { "queries": { "a": "SELECT mean(value) as value FROM :943a2ecf-39df-409e-a3b7-085f8a5be6ce: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :3679e9e4-e21c-4646-805e-35d33f9030be: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa14: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Pg_vh_GPA14", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA9_Tvh": { "queries": { "a": "SELECT mean(value) as value FROM :9b380ba3-8202-40d2-aae8-b667ebc60dfb: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :60ef5d66-c67d-4fe4-9c2b-b8c49ef0eb32: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa9: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Tg_vh_GPA9", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA10_Tvh": { "queries": { "a": "SELECT mean(value) as value FROM :0ef8f222-d4a2-4541-992d-95d89f464e3b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :92b87421-1eb2-4eef-8820-10d895c1f75e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa10: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Tg_vh_GPA10", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA11_Tvh": { "queries": { "a": "SELECT mean(value) as value FROM :0f9af62c-6550-4298-a45a-77a4437c2b99: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :59f2e85c-2519-4e72-849c-f7e2831f073c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa11: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Tg_vh_GPA11", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA12_Tvh": { "queries": { "a": "SELECT mean(value) as value FROM :cd632fc0-648e-431d-80f3-308614adcbe6: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :c48c7a40-09b9-4965-a4df-ae51de6c5338: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa12: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Tg_vh_GPA12", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA13_Tvh": { "queries": { "a": "SELECT mean(value) as value FROM :82b716ab-a4b8-4108-96fd-14fc818706fb: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :cd0e59ce-7845-463c-849f-20162c904cfb: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa13: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Tg_vh_GPA13", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA14_Tvh": { "queries": { "a": "SELECT mean(value) as value FROM :12ccb377-d251-4ba2-8cb9-2bffda190222: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :3679e9e4-e21c-4646-805e-35d33f9030be: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa14: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Tg_vh_GPA14", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA9_Pvih": { "queries": { "a": "SELECT mean(value) as value FROM :5e731ff3-e7e9-4424-958a-13a662f79cde: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :60ef5d66-c67d-4fe4-9c2b-b8c49ef0eb32: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa9: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Pg_vih_GPA9", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA10_Pvih": { "queries": { "a": "SELECT mean(value) as value FROM :f374f4de-d6f9-479f-8351-cc78432ba240: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :92b87421-1eb2-4eef-8820-10d895c1f75e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa10: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Pg_vih_GPA10", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA11_Pvih": { "queries": { "a": "SELECT mean(value) as value FROM :0b7c1aa4-890e-4784-9e33-f08191aa6bce: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :59f2e85c-2519-4e72-849c-f7e2831f073c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa11: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Pg_vih_GPA11", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA12_Pvih": { "queries": { "a": "SELECT mean(value) as value FROM :1866156c-8ab0-456e-974b-86cfe2e3390a: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :c48c7a40-09b9-4965-a4df-ae51de6c5338: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa12: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Pg_vih_GPA12", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA13_Pvih": { "queries": { "a": "SELECT mean(value) as value FROM :bcd8451a-d90f-402a-8b75-63b8e15e7200: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :cd0e59ce-7845-463c-849f-20162c904cfb: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa13: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Pg_vih_GPA13", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA14_Pvih": { "queries": { "a": "SELECT mean(value) as value FROM :6e24e964-058b-4f5a-8061-e8daf6461520: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :3679e9e4-e21c-4646-805e-35d33f9030be: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa14: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Pg_vih_GPA14", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA9_Tvih": { "queries": { "a": "SELECT mean(value) as value FROM :6dfc1cd6-cfe6-4fbc-9e07-c75854760b79: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :60ef5d66-c67d-4fe4-9c2b-b8c49ef0eb32: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa9: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Tg_vih_GPA9", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA10_Tvih": { "queries": { "a": "SELECT mean(value) as value FROM :957231f8-b8fb-4e68-b894-1ab985c173d7: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :92b87421-1eb2-4eef-8820-10d895c1f75e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa10: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Tg_vih_GPA10", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA11_Tvih": { "queries": { "a": "SELECT mean(value) as value FROM :a11f4b97-bf61-4ef1-8c54-bb568c3f2534: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :59f2e85c-2519-4e72-849c-f7e2831f073c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa11: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Tg_vih_GPA11", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA12_Tvih": { "queries": { "a": "SELECT mean(value) as value FROM :4bb3bd28-171b-4982-b8f2-fbb941eda7d8: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :c48c7a40-09b9-4965-a4df-ae51de6c5338: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa12: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Tg_vih_GPA12", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA13_Tvih": { "queries": { "a": "SELECT mean(value) as value FROM :0deb1d85-9b87-442c-b373-da9994781718: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :cd0e59ce-7845-463c-849f-20162c904cfb: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa13: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Tg_vih_GPA13", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA14_Tvih": { "queries": { "a": "SELECT mean(value) as value FROM :9f1c1de6-5c10-4da7-96b1-3bc5ec6342dd: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :3679e9e4-e21c-4646-805e-35d33f9030be: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa14: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Tg_vih_GPA14", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA9_Rc": { "queries": { "a": "SELECT mean(value) as value FROM :480b0220-d8d2-4a27-b108-d46ad6bc121b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :60ef5d66-c67d-4fe4-9c2b-b8c49ef0eb32: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa9: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Rc_GPA9", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA10_Rc": { "queries": { "a": "SELECT mean(value) as value FROM :eca4ce48-4722-46c5-bede-0e90ddd90312: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :92b87421-1eb2-4eef-8820-10d895c1f75e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa10: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Rc_GPA10", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA11_Rc": { "queries": { "a": "SELECT mean(value) as value FROM :1bdff305-2fa1-46a3-91ec-9bf5237408bc: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :59f2e85c-2519-4e72-849c-f7e2831f073c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa11: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Rc_GPA11", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA12_Rc": { "queries": { "a": "SELECT mean(value) as value FROM :4f47a0f1-90f7-42c7-a92d-182555dc6da2: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :c48c7a40-09b9-4965-a4df-ae51de6c5338: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa12: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Rc_GPA12", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA13_Rc": { "queries": { "a": "SELECT mean(value) as value FROM :0375e5ed-68c3-4a1c-8616-593eedb712e5: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :cd0e59ce-7845-463c-849f-20162c904cfb: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa13: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Rc_GPA13", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "17_GPA14_Rc": { "queries": { "a": "SELECT mean(value) as value FROM :6cec6afe-0f73-4909-883d-3ef353b25151: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "u": "SELECT mean(value) as value FROM :3679e9e4-e21c-4646-805e-35d33f9030be: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT last(value) as value FROM :sost_gpa14: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 * * * ? *", "outputTag": "Rc_GPA14", "js": "if(v[0].value===0){if(u[0].value>3000){return a[0].value}else return null}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__DKC_uptpg2_year_accum_sut": { "queries": { "raw": "SELECT last(value) as value from :topl_gas_kompr_ukptg2: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "cum": "select * from :DKC_uptpg2_year_accum_sut: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "DKC_uptpg2_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2021&&dd.getMonth()==08&&dd.getDate()==1&&dd.getHours()==8)return 0;else return(cum[0].value+raw[0].value*1000).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Potr_esn_uptpg2_year_accum_sut": { "queries": { "raw": "SELECT last(value) as value from :potr_esn_ukptg2: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "cum": "select * from :Potr_esn_uptpg2_year_accum_sut: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "Potr_esn_uptpg2_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2021&&dd.getMonth()==08&&dd.getDate()==1&&dd.getHours()==8)return 0;else return(cum[0].value+raw[0].value*1000).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Podogr_prod_tg_uptpg2_year_accum_sut": { "queries": { "raw": "SELECT last(value) as value from :podogr_prod_topl_gas_ukptg2: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "cum": "select * from :Podogr_prod_tg_uptpg2_year_accum_sut: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "Podogr_prod_tg_uptpg2_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2021&&dd.getMonth()==08&&dd.getDate()==1&&dd.getHours()==8)return 0;else return(cum[0].value+raw[0].value*1000).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Potr_des_uptpg2_year_accum_sut": { "queries": { "raw": "SELECT last(value) as value from :potr_des_ukptg2: where quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[]}", "cum": "select * from :Potr_des_uptpg2_year_accum_sut: where quality!=\'REPLACED\' and time = {H[-1d]} and time >= {Y<8h>[-1d]}" }, "cron": "0 12 8 * * ? *", "outputTag": "Potr_des_uptpg2_year_accum_sut", "js": "if(raw==null||raw.length==0){if(cum==null||cum.length==0){cum=[{value:0}]}return cum[0].value}else{if(cum==null||cum.length==0){cum=[{value:0}]}var dd=new Date(raw[0].time);if(dd.getMonth()==0&&dd.getDate()==2&&dd.getHours()==8)return raw[0].value;else{if(dd.getFullYear()==2021&&dd.getMonth()==08&&dd.getDate()==1&&dd.getHours()==8)return 0;else return(cum[0].value+raw[0].value*1000).toFixed(0)}}", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Topl_gas_DES_uptpg2_plan_year": { "queries": { "u": "SELECT sum(value) as value FROM :Topl_gas_DES_uptpg2_plan: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}" }, "cron": "0 0 12 1 1 ? *", "outputTag": "Topl_gas_DES_uptpg2_plan_year", "js": "return (u[0].value*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 1, "acceptNulls": false }, "__GPA1_Ftg_sut": { "queries": { "u": "SELECT mean(value) as value FROM :02d195a8-a062-4c78-8755-6153ce5f80fd: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+0d]}", "v": "SELECT last(value) as value FROM :sost_gpa1: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "GPA1_Ftg_sut", "js": "if(v[0].value===0){return (u[0].value*24/1000)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GPA2_Ftg_sut": { "queries": { "u": "SELECT mean(value) as value FROM :0c60389e-ef17-43d6-b4b2-daf45a563751: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+0d]}", "v": "SELECT last(value) as value FROM :sost_gpa2: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "GPA2_Ftg_sut", "js": "if(v[0].value===0){return (u[0].value*24/1000)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GPA3_Ftg_sut": { "queries": { "u": "SELECT mean(value) as value FROM :8e3b386c-9e23-414e-b5fa-91ca36d746c4: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+0d]}", "v": "SELECT last(value) as value FROM :sost_gpa3: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "GPA3_Ftg_sut", "js": "if(v[0].value===0){return (u[0].value*24/1000)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GPA4_Ftg_sut": { "queries": { "u": "SELECT mean(value) as value FROM :1ca37bd3-425d-4ae5-b84b-154e0c71dd56: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+0d]}", "v": "SELECT last(value) as value FROM :sost_gpa4: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "GPA4_Ftg_sut", "js": "if(v[0].value===0){return (u[0].value*24/1000)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GPA5_Ftg_sut": { "queries": { "u": "SELECT mean(value) as value FROM :a9006aa9-e73e-49ce-bee8-fc1403267ccd: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+0d]}", "v": "SELECT last(value) as value FROM :sost_gpa5: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "GPA5_Ftg_sut", "js": "if(v[0].value===0){return (u[0].value*24/1000)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GPA6_Ftg_sut": { "queries": { "u": "SELECT mean(value) as value FROM :432eaa78-d450-43e5-8735-a5de00094ba6: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+0d]}", "v": "SELECT last(value) as value FROM :sost_gpa6: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "GPA6_Ftg_sut", "js": "if(v[0].value===0){return (u[0].value*24/1000)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GPA7_Ftg_sut": { "queries": { "u": "SELECT mean(value) as value FROM :8fa31eaa-7890-4e88-8c00-8c7a18e50b2c: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+0d]}", "v": "SELECT last(value) as value FROM :sost_gpa7: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "GPA7_Ftg_sut", "js": "if(v[0].value===0){return (u[0].value*24/1000)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GPA8_Ftg_sut": { "queries": { "u": "SELECT mean(value) as value FROM :92798733-b3e9-44d8-98a2-26ca8cb1c5db: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+0d]}", "v": "SELECT last(value) as value FROM :sost_gpa8: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "GPA8_Ftg_sut", "js": "if(v[0].value===0){return (u[0].value*24/1000)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GPA9_Ftg_sut": { "queries": { "u": "SELECT mean(value) as value FROM :a1d87ded-84af-4952-839c-e2303976c908: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+0d]}", "v": "SELECT last(value) as value FROM :sost_gpa9: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "GPA9_Ftg_sut", "js": "if(v[0].value===0){return (u[0].value*24/1000)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GPA10_Ftg_sut": { "queries": { "u": "SELECT mean(value) as value FROM :3d16b13e-3454-43ff-b37c-ac238f8497fa: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+0d]}", "v": "SELECT last(value) as value FROM :sost_gpa10: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "GPA10_Ftg_sut", "js": "if(v[0].value===0){return (u[0].value*24/1000)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GPA11_Ftg_sut": { "queries": { "u": "SELECT mean(value) as value FROM :7661be9a-4e49-443e-8be0-d562c563f625: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+0d]}", "v": "SELECT last(value) as value FROM :sost_gpa11: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "GPA11_Ftg_sut", "js": "if(v[0].value===0){return (u[0].value*24/1000)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GPA12_Ftg_sut": { "queries": { "u": "SELECT mean(value) as value FROM :dd6296c0-d076-4e95-b611-ea1f3b88cd3f: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+0d]}", "v": "SELECT last(value) as value FROM :sost_gpa12: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "GPA12_Ftg_sut", "js": "if(v[0].value===0){return (u[0].value*24/1000)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GPA13_Ftg_sut": { "queries": { "u": "SELECT mean(value) as value FROM :fce812a2-83e1-4e9e-9654-e93c04c3b300: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+0d]}", "v": "SELECT last(value) as value FROM :sost_gpa13: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "GPA13_Ftg_sut", "js": "if(v[0].value===0){return (u[0].value*24/1000)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GPA14_Ftg_sut": { "queries": { "u": "SELECT mean(value) as value FROM :deb31fb8-cc86-404b-a4ba-6a31e5255c94: where quality!=\'REPLACED\' and time >= {H[-1d]} and time < {H[+0d]}", "v": "SELECT last(value) as value FROM :sost_gpa14: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "GPA14_Ftg_sut", "js": "if(v[0].value===0){return (u[0].value*24/1000)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__GPA_Ftg_sum_day": { "queries": { "a": "SELECT last(value) as value FROM :GPA1_Ftg_sut: where quality!=\'REPLACED\' and time <= {H[]}", "b": "SELECT last(value) as value FROM :GPA2_Ftg_sut: where quality!=\'REPLACED\' and time <= {H[]}", "c": "SELECT last(value) as value FROM :GPA3_Ftg_sut: where quality!=\'REPLACED\' and time <= {H[]}", "d": "SELECT last(value) as value FROM :GPA4_Ftg_sut: where quality!=\'REPLACED\' and time <= {H[]}", "e": "SELECT last(value) as value FROM :GPA5_Ftg_sut: where quality!=\'REPLACED\' and time <= {H[]}", "f": "SELECT last(value) as value FROM :GPA6_Ftg_sut: where quality!=\'REPLACED\' and time <= {H[]}", "g": "SELECT last(value) as value FROM :GPA7_Ftg_sut: where quality!=\'REPLACED\' and time <= {H[]}", "h": "SELECT last(value) as value FROM :GPA8_Ftg_sut: where quality!=\'REPLACED\' and time <= {H[]}" }, "cron": "0 2 8 * * ? *", "outputTag": "GPA_Ftg_sum_day", "js": "return((a==null||a.length==0?0:a[0].value)+(b==null||b.length==0?0:b[0].value)+(c==null||c.length==0?0:c[0].value)+(d==null||d.length==0?0:d[0].value)+(e==null||e.length==0?0:e[0].value)+(f==null||f.length==0?0:f[0].value)+(g==null||g.length==0?0:g[0].value)+(h==null||h.length==0?0:h[0].value)).toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S201": { "queries": { "u": "SELECT mean(value) as value FROM :845accc9-4624-443f-90d4-a950f75b8eb8: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :05de5ee9-5d62-4137-955d-bb7211d03f9a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2_01_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S202": { "queries": { "u": "SELECT mean(value) as value FROM :0b986a27-a8ad-455b-a765-c6586f740e16: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :d4ff7979-c5c2-4bf3-917c-aa55a86f586d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2_02_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S203": { "queries": { "u": "SELECT mean(value) as value FROM :ab38fa41-ded1-4dae-9bdd-6ab644ac4670: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e2a001a4-d5bc-430b-bd50-4e18d2c74ca8: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2_03_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S204": { "queries": { "u": "SELECT mean(value) as value FROM :676fd1f3-e046-46fe-8d4f-0b70d468b2a9: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :c1b66761-b01f-41da-be76-abd6a82318dd: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2_04_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S201": { "queries": { "u": "SELECT mean(value) as value FROM :7a5d6055-6034-411c-80c8-8ad1017c67f3: where qualityskv20!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :05de5ee9-5d62-4137-955d-bb7211d03f9a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2_01_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S202": { "queries": { "u": "SELECT mean(value) as value FROM :ee4f988d-a072-4149-b03e-1b9bf2f80ad0: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :d4ff7979-c5c2-4bf3-917c-aa55a86f586d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2_02_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S203": { "queries": { "u": "SELECT mean(value) as value FROM :5a6203af-59d7-4de3-b8b1-e2004e42b88b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e2a001a4-d5bc-430b-bd50-4e18d2c74ca8: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2_03_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S204": { "queries": { "u": "SELECT mean(value) as value FROM :3fac56d3-a58c-4db5-a8fd-1d79a1dbc106: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :c1b66761-b01f-41da-be76-abd6a82318dd: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2_04_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S201": { "queries": { "u": "SELECT mean(value) as value FROM :80cadc6b-4284-417f-98c2-f12ec9225e3b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :05de5ee9-5d62-4137-955d-bb7211d03f9a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2_01_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S202": { "queries": { "u": "SELECT mean(value) as value FROM :fa643a85-570d-4d48-b235-9eff3d703003: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :d4ff7979-c5c2-4bf3-917c-aa55a86f586d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2_02_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S203": { "queries": { "u": "SELECT mean(value) as value FROM :a59c544b-bd77-4007-911f-b87b16c218d3: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e2a001a4-d5bc-430b-bd50-4e18d2c74ca8: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2_03_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S204": { "queries": { "u": "SELECT mean(value) as value FROM :24ea064a-da24-469b-b054-bbe7c645a229: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :c1b66761-b01f-41da-be76-abd6a82318dd: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2_04_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S201": { "queries": { "u": "SELECT first(value) as value FROM :05de5ee9-5d62-4137-955d-bb7211d03f9a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2_01_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S202": { "queries": { "u": "SELECT first(value) as value FROM :d4ff7979-c5c2-4bf3-917c-aa55a86f586d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2_02_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S203": { "queries": { "u": "SELECT first(value) as value FROM :e2a001a4-d5bc-430b-bd50-4e18d2c74ca8: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2_03_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S204": { "queries": { "u": "SELECT first(value) as value FROM :c1b66761-b01f-41da-be76-abd6a82318dd: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2_04_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv201_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :907ee0cb-e4ba-45d9-a836-d40c2e54745d: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :05de5ee9-5d62-4137-955d-bb7211d03f9a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2_01_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv202_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :1bc13dbc-4b0f-45b1-8884-579e61c78a87: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :d4ff7979-c5c2-4bf3-917c-aa55a86f586d: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2_02_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv203_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :bebbbc0d-e400-48ff-86ff-ac0d873d6a0b: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :e2a001a4-d5bc-430b-bd50-4e18d2c74ca8: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2_03_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv204_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :a7c9b5f0-4530-466a-86f7-0376d6470b1c: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :c1b66761-b01f-41da-be76-abd6a82318dd: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2_04_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S201": { "queries": { "raw": "select * from :05de5ee9-5d62-4137-955d-bb7211d03f9a: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv201_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2_01_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S202": { "queries": { "raw": "select * from :d4ff7979-c5c2-4bf3-917c-aa55a86f586d: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv202_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2_02_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S203": { "queries": { "raw": "select * from :e2a001a4-d5bc-430b-bd50-4e18d2c74ca8: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv203_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv203_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S204": { "queries": { "raw": "select * from :c1b66761-b01f-41da-be76-abd6a82318dd: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv204_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2_04_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__tovg_q_plan_year": { "queries": { "u": "SELECT first(value) as value FROM :valg_q_plan_year: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {M<12h>[+1M]}", "v": "SELECT first(value) as value FROM :SN_plan_year: where quality!=\'REPLACED\' and time >= {M<12h>[]} and time < {M<12h>[+1M]}" }, "cron": "0 10 12 * * ? *", "outputTag": "tovg_q_plan_year", "js": "var d=new Date(u[0].time);d=new Date(d.getFullYear(),d.getMonth()+1,0).getDate();return u[0].value-v[0].value;", "outputTimeOffset": "D<12h>[+1d]", "reverseTimeOffset": "H[]", "recalculateDepth": 1, "acceptNulls": false }, "__SN_plan_year": { "queries": { "a": "SELECT sum(value) as value FROM :99dbf229-fed6-4c4b-bae5-2468c3cbf52a: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}", "b": "SELECT sum(value) as value FROM :c34bc139-3ca2-40a8-90ef-82abe8b148c0: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}", "c": "SELECT sum(value) as value FROM :8041f5f6-c495-494e-8347-9dec52119e87: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}", "d": "SELECT sum(value) as value FROM :06a12e05-96f5-432a-b42d-112af86f2b64: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}", "e": "SELECT sum(value) as value FROM :86a9ad83-5405-4cc8-93de-b7bc70815ae5: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}", "f": "SELECT sum(value) as value FROM :a8e71d55-872b-43df-92eb-6645186370b8: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}", "g": "SELECT sum(value) as value FROM :a8546ef8-2583-461f-ae77-a171e41dfa41: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}", "h": "SELECT sum(value) as value FROM :4c53ba7e-b8fe-4b2c-9138-edd9d6238807: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}", "i": "SELECT sum(value) as value FROM :cc864190-c9b0-49ce-a6a6-f605ee158714: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}", "j": "SELECT sum(value) as value FROM :21b2e31b-a754-436c-a3ff-6c41e2562178: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}" }, "cron": "0 0 12 1 1 ? *", "outputTag": "SN_plan_year", "js": "return (a[0].value+b[0].value+c[0].value+d[0].value+e[0].value+f[0].value+g[0].value+h[0].value+i[0].value+j[0].value).toFixed(3) ;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 1, "acceptNulls": false }, "__SN_plan_month": { "queries": { "a": "SELECT sum(value) as value FROM :99dbf229-fed6-4c4b-bae5-2468c3cbf52a: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "b": "SELECT sum(value) as value FROM :c34bc139-3ca2-40a8-90ef-82abe8b148c0: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "c": "SELECT sum(value) as value FROM :8041f5f6-c495-494e-8347-9dec52119e87: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "d": "SELECT sum(value) as value FROM :06a12e05-96f5-432a-b42d-112af86f2b64: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "e": "SELECT sum(value) as value FROM :86a9ad83-5405-4cc8-93de-b7bc70815ae5: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "f": "SELECT sum(value) as value FROM :a8e71d55-872b-43df-92eb-6645186370b8: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "g": "SELECT sum(value) as value FROM :a8546ef8-2583-461f-ae77-a171e41dfa41: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "h": "SELECT sum(value) as value FROM :4c53ba7e-b8fe-4b2c-9138-edd9d6238807: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "i": "SELECT sum(value) as value FROM :cc864190-c9b0-49ce-a6a6-f605ee158714: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "j": "SELECT sum(value) as value FROM :21b2e31b-a754-436c-a3ff-6c41e2562178: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}" }, "cron": "0 0 12 1 * ? *", "outputTag": "SN_plan_month", "js": "return (a[0].value+b[0].value+c[0].value+d[0].value+e[0].value+f[0].value+g[0].value+h[0].value+i[0].value).toFixed(3) ;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__SN_and_poteri_plan_month": { "queries": { "a": "SELECT sum(value) as value FROM :99dbf229-fed6-4c4b-bae5-2468c3cbf52a: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "b": "SELECT sum(value) as value FROM :c34bc139-3ca2-40a8-90ef-82abe8b148c0: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "c": "SELECT sum(value) as value FROM :8041f5f6-c495-494e-8347-9dec52119e87: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "d": "SELECT sum(value) as value FROM :06a12e05-96f5-432a-b42d-112af86f2b64: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "e": "SELECT sum(value) as value FROM :86a9ad83-5405-4cc8-93de-b7bc70815ae5: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "f": "SELECT sum(value) as value FROM :a8e71d55-872b-43df-92eb-6645186370b8: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "g": "SELECT sum(value) as value FROM :a8546ef8-2583-461f-ae77-a171e41dfa41: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "h": "SELECT sum(value) as value FROM :4c53ba7e-b8fe-4b2c-9138-edd9d6238807: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "i": "SELECT sum(value) as value FROM :cc864190-c9b0-49ce-a6a6-f605ee158714: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "j": "SELECT sum(value) as value FROM :21b2e31b-a754-436c-a3ff-6c41e2562178: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "l": "SELECT sum(value) as value FROM :205eaa0b-b172-4c72-8483-cb13700dfa5b: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "m": "SELECT sum(value) as value FROM :8fa4a8de-6f44-45de-bbbf-3d8731383cf2: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "n": "SELECT sum(value) as value FROM :373143c0-9e6e-44d4-966d-ffbde92fba2a: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "o": "SELECT sum(value) as value FROM :4a0f89c6-1838-4826-ad87-9c3bc5ba103f: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "p": "SELECT sum(value) as value FROM :c74eeb1d-0c77-4654-883c-a70d28f2d055: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "q": "SELECT sum(value) as value FROM :efc368f9-fe22-44ac-b08d-4ef6816ee324: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}", "r": "SELECT sum(value) as value FROM :d24fb985-9f4d-45f0-8abe-a29cc23a2693: where quality!=\'REPLACED\' and time >= {H[]} and time < {M<12h>[+1M]}" }, "cron": "0 0 12 1 * ? *", "outputTag": "SN_and_poteri_plan_month", "js": "return (a[0].value+b[0].value+c[0].value+d[0].value+e[0].value+f[0].value+g[0].value+h[0].value+i[0].value+j[0].value+l[0].value+m[0].value+n[0].value+o[0].value+p[0].value+q[0].value+r[0].value).toFixed(3) ;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__SN_UKPG_plan_year": { "queries": { "u": "SELECT sum(value) as value FROM :a8e71d55-872b-43df-92eb-6645186370b8: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}" }, "cron": "0 0 12 1 1 ? *", "outputTag": "8e1fba44-11fc-4fdd-898d-370014899bf6", "js": "return (u[0].value*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__ESN_plan_year": { "queries": { "u": "SELECT sum(value) as value FROM :c34bc139-3ca2-40a8-90ef-82abe8b148c0: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}" }, "cron": "0 0 12 1 1 ? *", "outputTag": "d33c9312-6ac5-4de6-a242-59326e968cb0", "js": "return (u[0].value*1000).toFixed(0) ;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__UKPG_plan_year": { "queries": { "u": "SELECT sum(value) as value FROM :a8546ef8-2583-461f-ae77-a171e41dfa41: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}", "v": "SELECT sum(value) as value FROM :cc864190-c9b0-49ce-a6a6-f605ee158714: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}" }, "cron": "0 0 12 1 1 ? *", "outputTag": "f0d415e0-ab4c-4652-adba-3fd7054c84c3", "js": "return ((u[0].value+v[0].value)*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__DKC_TG_plan_year": { "queries": { "u": "SELECT sum(value) as value FROM :99dbf229-fed6-4c4b-bae5-2468c3cbf52a: where quality!=\'REPLACED\' and time >= {H[]} and time < {Y<12h>[+1Y]}" }, "cron": "0 0 12 1 1 ? *", "outputTag": "8c90f729-4b8b-4c06-9c19-2516797d1736", "js": "return (u[0].value*1000).toFixed(0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Pztr_S1901": { "queries": { "u": "SELECT mean(value) as value FROM :f2b91510-f97f-42a2-984f-4ba945506fba: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :454a2528-51d1-4f57-8d00-5622b0a2c94b: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1901_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S1903": { "queries": { "u": "SELECT mean(value) as value FROM :4b1e0c17-9dfa-44e7-8638-d85aaf809204: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :a2d2a1e2-3cea-4fd2-9804-a98990d8adab: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1903_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S1901": { "queries": { "u": "SELECT mean(value) as value FROM :f1a9fd4b-088c-492a-a468-a022222a0858: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :454a2528-51d1-4f57-8d00-5622b0a2c94b: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1901_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S1903": { "queries": { "u": "SELECT mean(value) as value FROM :09632c13-794c-43a1-b18a-083758a7ddc9: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :a2d2a1e2-3cea-4fd2-9804-a98990d8adab: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1903_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1901": { "queries": { "u": "SELECT mean(value) as value FROM :95c85aea-df80-4e1e-85e9-0698fbb41b2b: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :454a2528-51d1-4f57-8d00-5622b0a2c94b: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1901_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S1903": { "queries": { "u": "SELECT mean(value) as value FROM :2fcbdadf-d219-4d9d-8cc3-509d378f64c9: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :a2d2a1e2-3cea-4fd2-9804-a98990d8adab: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv1903_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S1901": { "queries": { "u": "SELECT first(value) as value FROM :454a2528-51d1-4f57-8d00-5622b0a2c94b: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1901_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S1903": { "queries": { "u": "SELECT first(value) as value FROM :a2d2a1e2-3cea-4fd2-9804-a98990d8adab: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1903_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv1901_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :53fafddf-0652-4110-85b3-eab8af2cc212: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :454a2528-51d1-4f57-8d00-5622b0a2c94b: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1901_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv1903_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :4948edee-d916-4991-a8d0-2e8f56a58b5d: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :a2d2a1e2-3cea-4fd2-9804-a98990d8adab: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv1903_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S1901": { "queries": { "raw": "select * from :454a2528-51d1-4f57-8d00-5622b0a2c94b: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1901_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1901_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S1903": { "queries": { "raw": "select * from :a2d2a1e2-3cea-4fd2-9804-a98990d8adab: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv1903_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv1903_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 5, "acceptNulls": true }, "Pztr_S2801": { "queries": { "u": "SELECT mean(value) as value FROM :0d2057bb-3161-4e40-b425-a1b257609372: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :2eb97727-3aa0-454e-aacb-c8bc7739a1ca: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2801_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S2802": { "queries": { "u": "SELECT mean(value) as value FROM :62e25fbf-c657-48e7-ba9d-fa4a99fb8b99: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e46fa247-0b2e-49d2-b74c-ad0fa0158fb1: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2802_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S2801": { "queries": { "u": "SELECT mean(value) as value FROM :9b467ec5-649e-4706-b995-998b037da9b2: where qualityskv280!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :2eb97727-3aa0-454e-aacb-c8bc7739a1ca: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2801_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S2802": { "queries": { "u": "SELECT mean(value) as value FROM :1db23821-bd50-4b8d-bff2-7c5e81ed381a: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e46fa247-0b2e-49d2-b74c-ad0fa0158fb1: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2802_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S2801": { "queries": { "u": "SELECT mean(value) as value FROM :efa3de44-de19-4f9a-a329-bc197249efdb: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :2eb97727-3aa0-454e-aacb-c8bc7739a1ca: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2801_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S2802": { "queries": { "u": "SELECT mean(value) as value FROM :93823733-b09f-447b-a987-938e43bd1c12: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :e46fa247-0b2e-49d2-b74c-ad0fa0158fb1: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv2802_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S2801": { "queries": { "u": "SELECT first(value) as value FROM :2eb97727-3aa0-454e-aacb-c8bc7739a1ca: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2801_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S2802": { "queries": { "u": "SELECT first(value) as value FROM :e46fa247-0b2e-49d2-b74c-ad0fa0158fb1: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2802_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv2801_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :4145c6e9-4ee6-4d1d-9f22-eb8b45ac8101: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :2eb97727-3aa0-454e-aacb-c8bc7739a1ca: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2801_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv2802_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :5e11cf91-84a2-4035-99af-04a3c7b1d942: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :e46fa247-0b2e-49d2-b74c-ad0fa0158fb1: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2802_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S2801": { "queries": { "raw": "select * from :2eb97727-3aa0-454e-aacb-c8bc7739a1ca: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv2801_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2801_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S2802": { "queries": { "raw": "select * from :e46fa247-0b2e-49d2-b74c-ad0fa0158fb1: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv2802_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2802_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__Kompr": { "queries": { "u": "SELECT first(value) as value FROM :2592847c-850c-47f8-b77b-82cda756fcb2: WHERE quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}" }, "cron": "30 2 * * * ? *", "outputTag": "kompr_hour", "js": "return (u[0].value/1000);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__Kompr_day": { "queries": { "u": "SELECT sum(value) as value FROM :kompr_hour: WHERE quality!=\'REPLACED\' and time > {H[-1d]} and time <= {H[+1s]}" }, "cron": "30 2 8 * * ? *", "outputTag": "kompr_day", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 2, "acceptNulls": false }, "Pztr_S3001": { "queries": { "u": "SELECT mean(value) as value FROM :fb80c817-8961-4289-a056-1b6287741852: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :cc84cc36-6302-43d7-b4d6-5a1f072906b0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3001_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S3002": { "queries": { "u": "SELECT mean(value) as value FROM :2365eb8c-e50a-4e93-9c11-401cfb888df7: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :2ce48a08-cb56-4a26-8590-86012bd9505e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3002_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S3003": { "queries": { "u": "SELECT mean(value) as value FROM :f4e1dc7a-dc85-4678-ba31-0670a4f66465: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :191e0a5b-cb5d-4b4d-81c0-a2124d5dd9e9: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3003_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S3001": { "queries": { "u": "SELECT mean(value) as value FROM :e1387ece-4510-4486-b5c6-871f284e016e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :cc84cc36-6302-43d7-b4d6-5a1f072906b0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3001_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S3002": { "queries": { "u": "SELECT mean(value) as value FROM :cf9e52d8-566d-4b7f-995b-cb0b7de0f8cb: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :2ce48a08-cb56-4a26-8590-86012bd9505e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3002_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S3003": { "queries": { "u": "SELECT mean(value) as value FROM :a2a64eaa-60b6-447e-a3c0-acf62b8b2a61: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :191e0a5b-cb5d-4b4d-81c0-a2124d5dd9e9: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3003_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S3001": { "queries": { "u": "SELECT mean(value) as value FROM :75002bfa-8095-4d20-824a-e16cedf7d264: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :cc84cc36-6302-43d7-b4d6-5a1f072906b0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3001_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S3002": { "queries": { "u": "SELECT mean(value) as value FROM :fa1958ee-211a-4ba5-a3a9-ccb9f66c0998: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :2ce48a08-cb56-4a26-8590-86012bd9505e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3002_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S3003": { "queries": { "u": "SELECT mean(value) as value FROM :2f2cecfc-7482-4fc0-9ab7-4353225f78fd: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :191e0a5b-cb5d-4b4d-81c0-a2124d5dd9e9: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 15 * * * ? *", "outputTag": "skv3003_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S3001": { "queries": { "u": "SELECT first(value) as value FROM :cc84cc36-6302-43d7-b4d6-5a1f072906b0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3001_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S3002": { "queries": { "u": "SELECT first(value) as value FROM :2ce48a08-cb56-4a26-8590-86012bd9505e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3002_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S3003": { "queries": { "u": "SELECT first(value) as value FROM :191e0a5b-cb5d-4b4d-81c0-a2124d5dd9e9: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3003_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv3001_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :b3509a40-fa31-47e5-95bd-0e41234e10e5: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :cc84cc36-6302-43d7-b4d6-5a1f072906b0: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv3001_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv3002_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :31a93eba-1b35-42ff-bc72-0e66a7d66236: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :2ce48a08-cb56-4a26-8590-86012bd9505e: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv3002_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv3003_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :a19b1db8-01fc-436b-ac36-128f6ab23908: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :191e0a5b-cb5d-4b4d-81c0-a2124d5dd9e9: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv3003_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S3001": { "queries": { "raw": "select * from :cc84cc36-6302-43d7-b4d6-5a1f072906b0: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv3001_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3001_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S3002": { "queries": { "raw": "select * from :2ce48a08-cb56-4a26-8590-86012bd9505e: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv3002_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3002_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S3003": { "queries": { "raw": "select * from :191e0a5b-cb5d-4b4d-81c0-a2124d5dd9e9: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv3003_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv3003_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S2701": { "queries": { "u": "SELECT mean(value) as value FROM :40c1e25a-5119-4298-a219-2f5bb6a1d471: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :19c9004e-82fc-46a4-a59b-fe31f9b7ee9a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2701_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Pztr_S2702": { "queries": { "u": "SELECT mean(value) as value FROM :b34879c9-58c0-4ea8-84aa-1b79dcb24093: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :8520f700-9a05-4e56-bc80-da749218c09f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2702_Pztr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S2701": { "queries": { "u": "SELECT mean(value) as value FROM :4657bd0d-1f0a-42a3-a171-0fa9b02bbb67: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :19c9004e-82fc-46a4-a59b-fe31f9b7ee9a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2701_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Ptr_S2702": { "queries": { "u": "SELECT mean(value) as value FROM :67bc2250-2069-4203-8b10-ff6710ed8a3f: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :8520f700-9a05-4e56-bc80-da749218c09f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2702_Ptr_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S2701": { "queries": { "u": "SELECT mean(value) as value FROM :8f5bb74a-72bb-4906-b1be-1c8b5b35f50c: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :19c9004e-82fc-46a4-a59b-fe31f9b7ee9a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2701_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "T_S2702": { "queries": { "u": "SELECT mean(value) as value FROM :39ce26ad-8d67-43a2-b829-65fead491b6e: where quality!=\'REPLACED\' and time >= {H[-1h]} and time < {H[+0h]}", "v": "SELECT first(value) as value FROM :8520f700-9a05-4e56-bc80-da749218c09f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2702_Tust_hour", "js": "if(v==null||v.length==0){v=[{value:0}]}if(v[0].value>0){return u[0].value.toFixed(1)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Q_S2701": { "queries": { "u": "SELECT first(value) as value FROM :19c9004e-82fc-46a4-a59b-fe31f9b7ee9a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2701_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "Q_S2702": { "queries": { "u": "SELECT first(value) as value FROM :8520f700-9a05-4e56-bc80-da749218c09f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2702_gas_q_hour", "js": "return u[0].value.toFixed(3);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": false }, "__skv2701_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :4647b2a2-9e67-4a87-b17a-6e0ec0382b5c: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :19c9004e-82fc-46a4-a59b-fe31f9b7ee9a: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2701_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "__skv2702_met_q_hour": { "queries": { "u": "SELECT first(value) as value FROM :bcc29ea4-5cfa-4522-b698-7e6590d25c1b: where quality!=\'REPLACED\' and time >= {H[6m]} and time < {H[+1h-5m]}", "v": "SELECT last(value) as value FROM :met_plotnost: where quality!=\'REPLACED\' and time < {H[+0h]}", "w": "SELECT first(value) as value FROM :8520f700-9a05-4e56-bc80-da749218c09f: where quality!=\'REPLACED\' and time >= {H[+5m]} and time < {H[+1h]}" }, "cron": "0 20 * * * ? *", "outputTag": "skv2702_met_q_hour", "js": "if(w==null||w.length==0){w=[{value:0}]}if(w[0].value>0){return(u[0].value*v[0].value/1000).toFixed(3)}else return null;", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S2701": { "queries": { "raw": "select * from :19c9004e-82fc-46a4-a59b-fe31f9b7ee9a: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv2701_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2701_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true }, "Qsum_S2702": { "queries": { "raw": "select * from :8520f700-9a05-4e56-bc80-da749218c09f: where quality!=\'REPLACED\' and time >= {H[]} and time < {H[+1h]}", "cum": "select * from :skv2702_gas_q_begin_of_month: where quality!=\'REPLACED\' and time = {H[-1h]} and time >= {M<13h>[]}" }, "cron": "30 20 * * * ? *", "outputTag": "skv2702_gas_q_begin_of_month", "js": "if(cum==null||cum.length==0){cum=[{value:0}]}if(raw==null){raw=[]}return cum[0].value+raw.map(function(r){return r.value}).reduce(function(a,b){return a+b},0);", "outputTimeOffset": "H[]", "reverseTimeOffset": "H[]", "recalculateDepth": 3, "acceptNulls": true } } } '; preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0); // Print the entire match result var_dump($matches);

Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for PHP, please visit: http://php.net/manual/en/ref.pcre.php