Personal tools

Difference between revisions of "Channel attributes"

From PhotoVoltaic Logger new generation

Jump to: navigation, search
m (Abstract)
m (Abstract)
Line 4: Line 4:
  
 
=== name ===
 
=== name ===
 +
<tt>required</tt>
 
* Type : string
 
* Type : string
* required : yes
 
  
 
=== description ===
 
=== description ===
Line 17: Line 17:
  
 
=== resolution ===
 
=== resolution ===
 +
<tt>required</tt>
 
* Type : numeric
 
* Type : numeric
* required : yes
 
 
* Default : 1
 
* Default : 1
  
Line 29: Line 29:
  
 
=== meter ===
 
=== meter ===
* Type : numeric
+
* Type : numeric (boolean)
 
* Default : 0
 
* Default : 0
  
 
=== numeric ===
 
=== numeric ===
* Type : numeric
+
* Type : numeric (boolean)
 
* Default : 1
 
* Default : 1
  
Line 40: Line 40:
  
 
=== adjust ===
 
=== adjust ===
* Type : numeric
+
* Type : numeric (boolean)
 
* Default : 0
 
* Default : 0
  
Line 56: Line 56:
  
 
=== public ===
 
=== public ===
* Type : numeric
+
* Type : numeric (boolean)
 
* Default : 1
 
* Default : 1
  
 
=== comment ===
 
=== comment ===
 
* Type : text
 
* Type : text

Revision as of 20:02, 1 March 2014

Abstract

Channels can have the following attributes. Not each channel have all, only if the attribute makes sense.

name

required

  • Type : string

description

  • Type : string

serial

  • Type : string

channel

  • Type : string

resolution

required

  • Type : numeric
  • Default : 1

unit

  • Type : string

decimals

  • Type : integer
  • Default : 2

meter

  • Type : numeric (boolean)
  • Default : 0

numeric

  • Type : numeric (boolean)
  • Default : 1

offset

  • Type : numeric

adjust

  • Type : numeric (boolean)
  • Default : 0

cost

  • Type : numeric

threshold

  • Type : numeric

valid_from

  • Type : numeric

valid_to

  • Type : numeric

public

  • Type : numeric (boolean)
  • Default : 1

comment

  • Type : text