Защита Bridge и камеры K1 при переподключении
This commit is contained in:
@@ -310,7 +310,7 @@ test("a sequential live acquisition re-arms the same camera without reopening a
|
||||
]);
|
||||
});
|
||||
|
||||
test("a restored layout admits a selected delivery after reload and only same-acquisition successors", () => {
|
||||
test("a restored layout admits same-lineage replacements and the next acquisition", () => {
|
||||
const camera = (acquisitionId, deliveryId) => ({
|
||||
id: "k1:sensor.camera.right",
|
||||
sourceId: "sensor.camera.right",
|
||||
@@ -344,7 +344,11 @@ test("a restored layout admits a selected delivery after reload and only same-ac
|
||||
|
||||
assert.equal(restoredLayoutMayAdmitLiveDefault([original], new Set()), true);
|
||||
assert.equal(restoredLayoutMayAdmitLiveDefault([successor], presented), true);
|
||||
assert.equal(restoredLayoutMayAdmitLiveDefault([unrelated], presented), false);
|
||||
assert.equal(
|
||||
restoredLayoutMayAdmitLiveDefault([unrelated], presented),
|
||||
true,
|
||||
"Bridge acquisition A must not suppress the first Quick Connect camera in acquisition B",
|
||||
);
|
||||
assert.equal(restoredLayoutMayAdmitLiveDefault([{
|
||||
...original,
|
||||
activation: { ...original.activation, selected: false },
|
||||
|
||||
Reference in New Issue
Block a user