RequestOutputPlotResamplingNodeClass.php
923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
define ("REQUESTOUTPUTPLOTRESAMPLING_TYPE", "type");
define ("REQUESTOUTPUTPLOTRESAMPLING_VALUE", "value");
abstract class RequestOutputPlotResamplingTypeEnum
{
const AUTO = "auto";
const XPARAM = "xparam";
const YPARAM = "yparam";
const MANUAL = "manual";
}
/**
* @class RequestOutputPlotLineNodeClass
* @brief Definition of a line element for a plot
* @details
*/
class RequestOutputPlotResamplingNodeClass extends NodeClass
{
public function __construct($name)
{
parent::__construct($name);
}
public function setType($type)
{
$this->setAttribute(REQUESTOUTPUTPLOTRESAMPLING_TYPE, $type);
}
public function getType()
{
$this->getAttribute(REQUESTOUTPUTPLOTRESAMPLING_TYPE);
}
public function setValue($value)
{
$this->setAttribute(REQUESTOUTPUTPLOTRESAMPLING_VALUE, $value);
}
public function getValue()
{
$this->getAttribute(REQUESTOUTPUTPLOTRESAMPLING_VALUE);
}
}
?>