static int getSamSlot(SamSlot samSlot) => switch (samSlot) { SamSlot.slot_1 => 1, SamSlot.slot_2 => 2, };