Difference between revisions of "Philosophy"
From PhotoVoltaic Logger new generation
m |
m |
||
Line 1: | Line 1: | ||
{{TOCright}} | {{TOCright}} | ||
+ | == Model == | ||
+ | |||
+ | A [[:Category:Model]] implement the concrete logic and interface to the database. | ||
+ | |||
+ | ==== Example ==== | ||
+ | * '''Ratio''' of 2 child channels | ||
+ | |||
== Channel type == | == Channel type == | ||
− | The [[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<br /> | ||
+ | * '''Percentage calculator''' multiplies the raw ratio of 2 child channels by 100 to get % | ||
== Channel == | == Channel == | ||
+ | A [[:Category:Channel|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 == | == 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 |
Latest revision as of 15:20, 5 August 2016
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