Properties

$id

$id : 

Type

$scenarioSubElement_id

$scenarioSubElement_id : 

Type

$type

$type : 

Type

$subtype

$subtype : 

Type

$expression

$expression : 

Type

$options

$options : 

Type

$order

$order : 

Type

Methods

byId()

byId(  $_id) 

Parameters

$_id

all()

all() 

byscenarioSubElementId()

byscenarioSubElementId(  $_scenarioSubElementId) 

Parameters

$_scenarioSubElementId

searchExpression()

searchExpression(  $_expression,   $_options = null,   $_and = true) 

Parameters

$_expression
$_options
$_and

byElement()

byElement(  $_element_id) 

Parameters

$_element_id

getExpressionOptions()

getExpressionOptions(  $_expression,   $_options) 

Parameters

$_expression
$_options

humanAction()

humanAction(  $_action) 

Parameters

$_action

rand()

rand(  $_min,   $_max) 

Parameters

$_min
$_max

scenario()

scenario(  $_scenario) 

Parameters

$_scenario

eqEnable()

eqEnable(  $_eqLogic_id) 

Parameters

$_eqLogic_id

average()

average(  $_cmd_id,   $_period = '1 hour') 

Parameters

$_cmd_id
$_period

averageBetween()

averageBetween(  $_cmd_id,   $_startDate,   $_endDate) 

Parameters

$_cmd_id
$_startDate
$_endDate

max()

max(  $_cmd_id,   $_period = '1 hour') 

Parameters

$_cmd_id
$_period

maxBetween()

maxBetween(  $_cmd_id,   $_startDate,   $_endDate) 

Parameters

$_cmd_id
$_startDate
$_endDate

wait()

wait(  $_condition,   $_timeout = 7200) 

Parameters

$_condition
$_timeout

min()

min(  $_cmd_id,   $_period = '1 hour') 

Parameters

$_cmd_id
$_period

minBetween()

minBetween(  $_cmd_id,   $_startDate,   $_endDate) 

Parameters

$_cmd_id
$_startDate
$_endDate

median()

median() 

tendance()

tendance(  $_cmd_id,   $_period = '1 hour',   $_threshold = '') 

Parameters

$_cmd_id
$_period
$_threshold

lastStateDuration()

lastStateDuration(  $_cmd_id,   $_value = null) 

Parameters

$_cmd_id
$_value

stateChanges()

stateChanges(  $_cmd_id,   $_value = null,   $_period = '1 hour') 

Parameters

$_cmd_id
$_value
$_period

stateChangesBetween()

stateChangesBetween(  $_cmd_id,   $_value = null,   $_startDate,   $_endDate) 

Parameters

$_cmd_id
$_value
$_startDate
$_endDate

duration()

duration(  $_cmd_id,   $_value,   $_period = '1 hour') 

Parameters

$_cmd_id
$_value
$_period

durationBetween()

durationBetween(  $_cmd_id,   $_value,   $_startDate,   $_endDate) 

Parameters

$_cmd_id
$_value
$_startDate
$_endDate

lastBetween()

lastBetween(  $_cmd_id,   $_startDate,   $_endDate) 

Parameters

$_cmd_id
$_startDate
$_endDate

statistics()

statistics(  $_cmd_id,   $_calc,   $_period = '1 hour') 

Parameters

$_cmd_id
$_calc
$_period

statisticsBetween()

statisticsBetween(  $_cmd_id,   $_calc,   $_startDate,   $_endDate) 

Parameters

$_cmd_id
$_calc
$_startDate
$_endDate

variable()

variable(  $_name,   $_default = '') 

Parameters

$_name
$_default

stateDuration()

stateDuration(  $_cmd_id,   $_value = null) 

Parameters

$_cmd_id
$_value

lastChangeStateDuration()

lastChangeStateDuration(  $_cmd_id,   $_value) 

Parameters

$_cmd_id
$_value

odd()

odd(  $_value) 

Parameters

$_value

lastScenarioExecution()

lastScenarioExecution(  $_scenario_id) 

Parameters

$_scenario_id

collectDate()

collectDate(  $_cmd,   $_format = 'Y-m-d H:i:s') 

Parameters

$_cmd
$_format

valueDate()

valueDate(  $_cmd_id,   $_format = 'Y-m-d H:i:s') 

Parameters

$_cmd_id
$_format

randomColor()

randomColor(  $_rangeLower,   $_rangeHighter) 

Parameters

$_rangeLower
$_rangeHighter

trigger()

trigger(  $_name = '',   $_scenario = null) 

Parameters

$_name
$_scenario

triggerValue()

triggerValue(  $_scenario = null) 

Parameters

$_scenario

round()

round(  $_value,   $_decimal) 

Parameters

$_value
$_decimal

time_op()

time_op(  $_time,   $_value) 

Parameters

$_time
$_value

time()

time(  $_value) 

Parameters

$_value

formatTime()

formatTime(  $_time) 

Parameters

$_time

getRequestTags()

getRequestTags(  $_expression) 

Parameters

$_expression

setTags()

setTags(  $_expression,   $_scenario = null,   $_quote = false,   $_nbCall) 

Parameters

$_expression
$_scenario
$_quote
$_nbCall

createAndExec()

createAndExec(  $_type,   $_cmd,   $_options = null) 

Parameters

$_type
$_cmd
$_options

execute()

execute(  $scenario = null) 

Parameters

$scenario

save()

save() 

remove()

remove() 

getAllId()

getAllId() 

copy()

copy(  $_scenarioSubElement_id) 

Parameters

$_scenarioSubElement_id

emptyOptions()

emptyOptions() 

export()

export() 

getId()

getId() 

setId()

setId(  $id) 

Parameters

$id

getType()

getType() 

setType()

setType(  $type) 

Parameters

$type

getScenarioSubElement_id()

getScenarioSubElement_id() 

getSubElement()

getSubElement() 

setScenarioSubElement_id()

setScenarioSubElement_id(  $scenarioSubElement_id) 

Parameters

$scenarioSubElement_id

getSubtype()

getSubtype() 

setSubtype()

setSubtype(  $subtype) 

Parameters

$subtype

getExpression()

getExpression() 

setExpression()

setExpression(  $expression) 

Parameters

$expression

getOptions()

getOptions(  $_key = '',   $_default = '') 

Parameters

$_key
$_default

setOptions()

setOptions(  $_key,   $_value) 

Parameters

$_key
$_value

getOrder()

getOrder() 

setOrder()

setOrder(  $order) 

Parameters

$order

setLog()

setLog(  $_scenario,   $log) 

Parameters

$_scenario
$log