Personal tools

Philosophy

From PhotoVoltaic Logger new generation

Revision as of 15:20, 5 August 2016 by KKoPV (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Model

A Category:Model implement the concrete logic and interface to the database.

Example

  • Ratio of 2 child channels

Channel type

The channel type is based on a model and describes use cases and attributes.

Example

(based on Ratio)

  • Ratio calculator calculates the raw ratio of 2 child channels
  • Percentage calculator multiplies the raw ratio of 2 child channels by 100 to get %

Channel

A channel is a concrete instance of a channel type.

Example

(based on Percentage calculator)

  • Performance ratio of an inverter
  • Disk usage of a server
  • ...

Channel hierarchy

The channel hierarchy organizes all channels and links them together.

Here you define for calculated channels the child channel(s) where the data to use come from.

Example

  • Performance ratio of an inverter
    • Pac AC Power
    • Pdc DC Power