Added option to retrieve the pumps price pattern

Added to ENgetlinkvalue function like the speed\status pattern. use the
new EN_PRICEPATTERN constant.
This commit is contained in:
Elad Salomons
2017-04-13 12:14:32 +03:00
parent 8d968738ac
commit 8ab0f06ccc
4 changed files with 9 additions and 1 deletions

View File

@@ -53,6 +53,7 @@ Global Const EN_ENERGY = 13
Global Const EN_LINKQUAL = 14 'ES
Global Const EN_LINKPATTERN = 15
Global Const EN_EFFICIENCY = 16
Global Const EN_PRICEPATTERN = 17
Global Const EN_DURATION = 0 ' Time parameters
Global Const EN_HYDSTEP = 1

View File

@@ -111,7 +111,8 @@ typedef enum {
EN_ENERGY = 13,
EN_LINKQUAL = 14,
EN_LINKPATTERN = 15,
EN_EFFICIENCY = 16
EN_EFFICIENCY = 16,
EN_PRICEPATTERN = 17
} EN_LinkProperty;
/// Time parameter codes

View File

@@ -57,6 +57,7 @@ Public Const EN_ENERGY = 13
Public Const EN_LINKQUAL = 14 'ES
Public Const EN_LINKPATTERN = 15
Public Const EN_EFFICIENCY = 16
Public Const EN_PRICEPATTERN = 17
Public Const EN_DURATION = 0 ' Time parameters
Public Const EN_HYDSTEP = 1