placeholder Command:  NUTRITION FACTS 


Short version Long version Changes Example

Mandatory: no
max. Occurrence:  unbounded
Description:
This tag is used as container for commands regarding nutrition fact definitions.
 
Mandatory: yes
max. Occurrence:  unbounded
Supported modes: delete Delete the named item.
deleteall Delete all items.
read Read the named item.
read+ Read the following item.
read- Read the previous item.
readall Read all items from the desired device(s). This doesn't mean comparable reading as in the L2 protocol.
write Write the named item.
Notes:
This command is used for creating, manipulating or deleting nutrition fact definitions.
   
Mandatory: yes
max. Occurrence: 1
Datatype: int
Range: 1 - 999 999
Nillable: no
Description:
The number (ID) of the nutrition fact information.
   
Mandatory: no
max. Occurrence: 1
Datatype: string
Range: max. 100 characters
Nillable: no
Description:
The name of the template that shall be used for printing the nutrition fact information on label and vario label.
   
Mandatory: no
max. Occurrence:  1
Description:
This tag is used as container for the serving lines of the nutrition fact information.
     
Mandatory: no
max. Occurrence: 1
Datatype: int
Range: 1 - 99 999 999
Nillable: no
Description:
The value of the size for one portion of the article (portion of quantity).
The value has to be set in the smallest unit of the load cell e.g. g for a load cell based on kg/g.
     
Mandatory: no
max. Occurrence:  unbounded
Description:
The serving lines of the nutrition fact information.
The serving lines can’t be set/reset partially.
       
Mandatory: yes
max. Occurrence: 1
Datatype: short
Range: 1 - 2
Nillable: no
Description:
The number of the serving line.
       
Mandatory: no
max. Occurrence: 1
Datatype: string
Range: DE
FR
IT
PT
UK
ES
HR
CZ
PL
SK
SI
HU
NL
RU
BG
RO
TR
UA
LV
EE
LT
Nillable: no
Description:
The language id of the serving line text.
DE = German
FR = French
IT = Italian
PT = Portuguese
UK = English
ES = Spanish
HR = Croatian
CZ = Czech
PL = Polish
SK = Slovak
SI = Slovenian
HU = Hungarian
NL = Dutch
RU = Russian
BG = Bulgarian
RO = Romanian
TR = Turkish
UA = Ukrainian
LV = Latvian
EE = Estonian
LT = Lithuanian
If no language id is set the primary language of the device configuration is used.
       
Mandatory: yes
max. Occurrence: 1
Datatype: string
Range: max. 100 characters
Nillable: no
Description:
The serving line text.
   
Mandatory: no
max. Occurrence:  1
Description:
This tag is used as container for all the nutrition items.
     
Mandatory: yes
max. Occurrence:  unbounded
Description:
The nutrition items. The nutrition items can’t be set/reset partially.
       
Mandatory: yes
max. Occurrence: 1
Datatype: string
Range: ENERGY_VALUE
FAT
SATURATES_FATS
MONOUNSATURATES_FATS
POLYUNSATURATES_FATS
CARBOHYDRATE
SUGARS
POLYOLS
STARCH
SALT
FIBRE
PROTEIN
VITAMIN_A
VITAMIN_D
VITAMIN_E
VITAMIN_K
VITAMIN_C
THIAMIN
RIBOFLAVIN
NIACIN
VITAMIN_B6
FOLIC_ACID
VITAMIN_B12
BIOTIN
PANTOTHENIC_ACID
POTASSIUM
CHLORIDE
CALCIUM
PHOSPHORUS
MAGNESIUM
IRON
ZINC
COPPER
MANGANESE
FLUORIDE
SELENIUM
CHROMIUM
MOLYBDENUM
IODINE
Nillable: no
Description:
The name of the nutrition item.
This string will be interpreted as an enumeration, the accurate translated name will be fetched from a nutrition language file (nutrition_facts_language.csv).
       
Mandatory: yes
max. Occurrence: 1
Datatype: string
Range: max. 10 characters
Nillable: no
Description:
The value of the nutrition item.
This value will be used on the printout without any modifications, e.g. 0.07 or 2.0 or <0.1 and so on.
       
Mandatory: yes
max. Occurrence: 1
Datatype: string
Range: GRAM
MILLIGRAM
MICROGRAM
PERCENT_DAILY_VALUE
KILOJOULE
KILOCALORIE
Nillable: no
Description:
The unit for the value of the nutrition item.
This string will be interpreted as an enumeration, the accurate unit for:
GRAM = g
MILLIGRAM = mg
MICROGRAM = µg
PERCENT_DAILY_VALUE = %
KILOJOULE = kJ
KILOCALORIE = kcal
This accurate unit will be used for the printout of the value.
       
Mandatory: yes
max. Occurrence: 1
Datatype: string
Range: PER_100_GRAM
PER_PORTION
Nillable: no
Description:
The base of the value for the nutrition item.
   
Mandatory: no
max. Occurrence: 1
Datatype: dateTime
Range: -
Nillable: yes
Description:
The last time when the record was changed.
CCYY-MM-DDThh:mm:ss
The format is as following:
C = Century
Y = Year
M = Month
D = Day
T = Separator between date and time
h = hour
m = minute
s = second