feat(amp): command linked amplifiers together for a combiner
The SPE CO1-2 combiner is an RF device: it sums two amplifiers and commands nothing. So "combined" operation is really two amplifiers that must be held in the same state, and one left in STANDBY while the other keys means the combiner sees power on a single input. A switch in Settings → Amplifier makes ON, OFF and OPERATE act on every configured amplifier. Offered only with two or more: coupling one amplifier to itself is a switch that cannot do anything. The METERS stay per amplifier, deliberately. Two amps combined are still two amps, and an operator watching for one of them to run away needs to see them apart — a summed bar would hide exactly the fault worth catching. Fanned out in AmpOperate/AmpPower rather than in the UI: the card and the docked widget both call these, and a coupling built into one would be missing from the other, which on a combiner means one amplifier keyed and one not. The clicked amplifier goes first, so a partial failure still did what the operator asked before it stopped. While linked, an amplifier with no power command — a PGXL on its direct link — is skipped silently rather than reported: it would make a successful pair look broken.
This commit is contained in:
Vendored
+4
@@ -366,6 +366,8 @@ export function GetAmpStatuses():Promise<Array<main.AmpStatus>>;
|
||||
|
||||
export function GetAmplifiers():Promise<Array<main.AmpConfig>>;
|
||||
|
||||
export function GetAmpsLinked():Promise<boolean>;
|
||||
|
||||
export function GetAntGeniusSettings():Promise<main.AntGeniusSettings>;
|
||||
|
||||
export function GetAntGeniusStatus():Promise<antgenius.Status>;
|
||||
@@ -972,6 +974,8 @@ export function SetActiveRotor(arg1:number):Promise<void>;
|
||||
|
||||
export function SetAlertEmailTo(arg1:string):Promise<void>;
|
||||
|
||||
export function SetAmpsLinked(arg1:boolean):Promise<void>;
|
||||
|
||||
export function SetCATFrequency(arg1:number):Promise<void>;
|
||||
|
||||
export function SetCATMode(arg1:string):Promise<void>;
|
||||
|
||||
@@ -674,6 +674,10 @@ export function GetAmplifiers() {
|
||||
return window['go']['main']['App']['GetAmplifiers']();
|
||||
}
|
||||
|
||||
export function GetAmpsLinked() {
|
||||
return window['go']['main']['App']['GetAmpsLinked']();
|
||||
}
|
||||
|
||||
export function GetAntGeniusSettings() {
|
||||
return window['go']['main']['App']['GetAntGeniusSettings']();
|
||||
}
|
||||
@@ -1886,6 +1890,10 @@ export function SetAlertEmailTo(arg1) {
|
||||
return window['go']['main']['App']['SetAlertEmailTo'](arg1);
|
||||
}
|
||||
|
||||
export function SetAmpsLinked(arg1) {
|
||||
return window['go']['main']['App']['SetAmpsLinked'](arg1);
|
||||
}
|
||||
|
||||
export function SetCATFrequency(arg1) {
|
||||
return window['go']['main']['App']['SetCATFrequency'](arg1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user