Add new measurement type for diameter of frame
This commit is contained in:
2
l18n
2
l18n
Submodule l18n updated: d00a827bab...63f12e097f
@ -37,6 +37,7 @@ enum MDMeasurementType implements MDValueEnumInterface, JsonSerializable {
|
||||
case length_frame;
|
||||
case height_frame;
|
||||
case width_frame;
|
||||
case diameter_frame;
|
||||
case length_min;
|
||||
case length_max;
|
||||
case height_min;
|
||||
@ -85,6 +86,7 @@ enum MDMeasurementType implements MDValueEnumInterface, JsonSerializable {
|
||||
'width_max' => self::width_max,
|
||||
'diameter_min' => self::diameter_min,
|
||||
'diameter_max' => self::diameter_max,
|
||||
'diameter_frame' => self::diameter_frame,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown measurement type"),
|
||||
};
|
||||
|
||||
@ -129,6 +131,7 @@ enum MDMeasurementType implements MDValueEnumInterface, JsonSerializable {
|
||||
27 => self::width_max,
|
||||
28 => self::diameter_min,
|
||||
29 => self::diameter_max,
|
||||
30 => self::diameter_frame,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown measurement type"),
|
||||
};
|
||||
|
||||
@ -193,6 +196,7 @@ enum MDMeasurementType implements MDValueEnumInterface, JsonSerializable {
|
||||
self::width_max => self::width,
|
||||
self::diameter_min => self::diameter,
|
||||
self::diameter_max => self::diameter,
|
||||
self::diameter_frame => self::diameter,
|
||||
# default => throw new MDpageParameterNotFromListException("Unknown measurement type"),
|
||||
};
|
||||
|
||||
@ -235,6 +239,7 @@ enum MDMeasurementType implements MDValueEnumInterface, JsonSerializable {
|
||||
self::width_max => 27,
|
||||
self::diameter_min => 28,
|
||||
self::diameter_max => 29,
|
||||
self::diameter_frame => 30,
|
||||
# default => throw new MDpageParameterNotFromListException("Unknown measurement type"),
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user