Personal tools

Difference between revisions of "Channel attributes"

From PhotoVoltaic Logger new generation

Jump to: navigation, search
(Created page with "== Abstract == Channels can have the following attributes. Not each channel have all, only if the attribute makes sense. === name === * Required : yes === description ...")
 
m (Abstract)
Line 2: Line 2:
  
 
[[Channel]]s can have the following attributes. Not each channel have all, only if the attribute makes sense.
 
[[Channel]]s can have the following attributes. Not each channel have all, only if the attribute makes sense.
 
  
 
=== name ===
 
=== name ===
* Required : yes
+
* Type : string
 +
* required : yes
  
 
=== description ===
 
=== description ===
 +
* Type : string
  
 
=== serial ===
 
=== serial ===
 +
* Type : string
  
 
=== channel ===
 
=== channel ===
 +
* Type : string
  
 
=== resolution ===
 
=== resolution ===
 
* Type : numeric
 
* Type : numeric
* Required : yes
+
* required : yes
 
* Default : 1
 
* Default : 1
  
 
=== unit ===
 
=== unit ===
* Type : textsmall
+
* Type : string
  
 
=== decimals ===
 
=== decimals ===
Line 26: Line 29:
  
 
=== meter ===
 
=== meter ===
* Type : select;1:yes;0:no
+
* Type : numeric
 
* Default : 0
 
* Default : 0
  
 
=== numeric ===
 
=== numeric ===
* Type : select;1:yes;0:no
+
* Type : numeric
 
* Default : 1
 
* Default : 1
  
Line 37: Line 40:
  
 
=== adjust ===
 
=== adjust ===
* Type : select;1:yes;0:no
+
* Type : numeric
 
* Default : 0
 
* Default : 0
  
Line 53: Line 56:
  
 
=== public ===
 
=== public ===
* Type : select;1:yes;0:no
+
* Type : numeric
 
* Default : 1
 
* Default : 1
  
 
=== comment ===
 
=== comment ===
* Type : textarea
+
* Type : text

Revision as of 19:59, 1 March 2014

Abstract

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

name

  • Type : string
  • required : yes

description

  • Type : string

serial

  • Type : string

channel

  • Type : string

resolution

  • Type : numeric
  • required : yes
  • Default : 1

unit

  • Type : string

decimals

  • Type : integer
  • Default : 2

meter

  • Type : numeric
  • Default : 0

numeric

  • Type : numeric
  • Default : 1

offset

  • Type : numeric

adjust

  • Type : numeric
  • Default : 0

cost

  • Type : numeric

threshold

  • Type : numeric

valid_from

  • Type : numeric

valid_to

  • Type : numeric

public

  • Type : numeric
  • Default : 1

comment

  • Type : text