Add new measurement type for diameter of frame
This commit is contained in:
parent
04c378675c
commit
1403f75447
2
l18n
2
l18n
@ -1 +1 @@
|
||||
Subproject commit d00a827babf2de5fd23cef828ad48e47319af40b
|
||||
Subproject commit 63f12e097f55b940f6110d1c7c745a47c1d0e0d5
|
@ -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"),
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user