Improved support for fast accelerator changes
This commit is contained in:
parent
bb3075d5ac
commit
9ac17bef8d
1 changed files with 2 additions and 0 deletions
|
@ -378,6 +378,8 @@ public class AcceleratorSetup extends GlobalPosition {
|
||||||
|
|
||||||
public boolean isMajorChange(final AcceleratorSetup acceleratorSetup) {
|
public boolean isMajorChange(final AcceleratorSetup acceleratorSetup) {
|
||||||
return acceleratorSetup == null
|
return acceleratorSetup == null
|
||||||
|
|| trajectoryAccelerator == null
|
||||||
|
|| acceleratorSetup.trajectoryAccelerator == null
|
||||||
|| trajectoryAccelerator.size() != acceleratorSetup.trajectoryAccelerator.size()
|
|| trajectoryAccelerator.size() != acceleratorSetup.trajectoryAccelerator.size()
|
||||||
|| trajectoryTransfer.size() != acceleratorSetup.trajectoryTransfer.size()
|
|| trajectoryTransfer.size() != acceleratorSetup.trajectoryTransfer.size()
|
||||||
|| countMagnets[0] != acceleratorSetup.countMagnets[0]
|
|| countMagnets[0] != acceleratorSetup.countMagnets[0]
|
||||||
|
|
Loading…
Add table
Reference in a new issue