Add sizes of image mount, plate

This commit is contained in:
2026-05-15 18:16:02 +02:00
parent 51ae4c4737
commit 9a45e7bbf4
2 changed files with 25 additions and 1 deletions
+1 -1
Submodule l18n updated: 4f8dab7948...a8a30a8563
+24
View File
@@ -71,6 +71,14 @@ enum MDMeasurementType implements MDValueEnumInterface, JsonSerializable {
case width_of_base;
case diameter_of_base;
case height_image_mount_inner;
case height_image_mount_outer;
case width_image_mount_inner;
case width_image_mount_outer;
case height_plate;
case width_plate;
/**
* Returns a value of this type based on a string.
*
@@ -132,6 +140,10 @@ enum MDMeasurementType implements MDValueEnumInterface, JsonSerializable {
'height_of_base' => self::height_of_base,
'width_of_base' => self::width_of_base,
'diameter_of_base' => self::diameter_of_base,
'height_image_mount_inner' => self::height_image_mount_inner,
'height_image_mount_outer' => self::height_image_mount_outer,
'width_image_mount_inner' => self::width_image_mount_inner,
'width_image_mount_outer' => self::width_image_mount_outer,
default => throw new MDpageParameterNotFromListException("Unknown measurement type"),
};
@@ -198,6 +210,10 @@ enum MDMeasurementType implements MDValueEnumInterface, JsonSerializable {
49 => self::length_label,
50 => self::height_label,
51 => self::width_label,
52 => self::height_image_mount_inner,
53 => self::height_image_mount_outer,
54 => self::width_image_mount_inner,
55 => self::width_image_mount_outer,
default => throw new MDpageParameterNotFromListException("Unknown measurement type"),
};
@@ -284,6 +300,10 @@ enum MDMeasurementType implements MDValueEnumInterface, JsonSerializable {
self::length_label => self::length,
self::height_label => self::height,
self::width_label => self::width,
self::height_image_mount_inner => self::height,
self::height_image_mount_outer => self::height,
self::width_image_mount_inner => self::width,
self::width_image_mount_outer => self::width,
# default => throw new MDpageParameterNotFromListException("Unknown measurement type"),
};
@@ -348,6 +368,10 @@ enum MDMeasurementType implements MDValueEnumInterface, JsonSerializable {
self::length_label => 49,
self::height_label => 50,
self::width_label => 51,
self::height_image_mount_inner => 52,
self::height_image_mount_outer => 53,
self::width_image_mount_inner => 54,
self::width_image_mount_outer => 55,
# default => throw new MDpageParameterNotFromListException("Unknown measurement type"),
};