test_us44.php
770 Bytes
<?php
//
$us44_1 = '{"id":"cond_2","name":"us44_test1","sampling":600,"gap":5,"description":"","expression":"dst>0","timesrc":"Interval","startDate":"2008-01-31T00:00:00","stopDate":"2008-02-01T00:00:00","durationDay":"0001","durationHour":"00","durationMin":"00","durationSec":"00","leaf":true,"nodeType":"condition"}';
//
$expression = '"dst > imf(1)"';
$us44_2 = '{"id":"cond_2","name":"us44_test1","sampling":600,"gap":5,"description":"","expression":'.$expression.',"timesrc":"Interval","startDate":"2008-01-31T00:00:00","stopDate":"2008-02-01T00:00:00","durationDay":"0001","durationHour":"00","durationMin":"00","durationSec":"00","leaf":true,"nodeType":"condition"}';
$us44 = array("US44 - Test 1" => $us44_1, "US44 - Test 2" => $us44_2);
?>