diff options
author | KAPIL SINGAL <ks220y@att.com> | 2020-09-03 15:36:44 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-03 15:36:44 +0000 |
commit | 6a81f77f1f13332dd1784aeae9a27c322c8e556b (patch) | |
tree | 7e367e5b01f4e2d08e083bb18152b28632986b84 /sdnr/wt/odlux/apps/linkCalculationApp/src/actions | |
parent | d85abab47728999281197cc11ea3973de3a8fb88 (diff) | |
parent | 0b7b69385f71c353510987d9e6045691fcba8afa (diff) |
Merge "Update LinkCalculator"
Diffstat (limited to 'sdnr/wt/odlux/apps/linkCalculationApp/src/actions')
-rw-r--r-- | sdnr/wt/odlux/apps/linkCalculationApp/src/actions/commonLinkCalculationActions.ts | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sdnr/wt/odlux/apps/linkCalculationApp/src/actions/commonLinkCalculationActions.ts b/sdnr/wt/odlux/apps/linkCalculationApp/src/actions/commonLinkCalculationActions.ts index 555954d15..09887f27f 100644 --- a/sdnr/wt/odlux/apps/linkCalculationApp/src/actions/commonLinkCalculationActions.ts +++ b/sdnr/wt/odlux/apps/linkCalculationApp/src/actions/commonLinkCalculationActions.ts @@ -81,24 +81,24 @@ export class UpdateLatLonAction extends Action{ } } +export class UpdatePolAction extends Action{ + constructor(public polarization: string){ + super(); + } +} export class isCalculationServerReachableAction extends Action{ constructor(public reachable: boolean){ super(); } } +export class updateAltitudeAction extends Action{ + constructor( + public amslA:number, + public aglA:number, + public amslB:number, + public aglB:number + ){ + super(); + } +} -// export const checkCalculationsServerConnectivityAction = (callback: Promise<any>) => (dispatcher: Dispatch, getState: () => IApplicationStoreState)=>{ -// callback -// .then(res =>{ -// const {linkCalculation:{calculations: {isCalculationServerAvailable}}} = getState(); -// if(!isToplogyServerAvailable){ -// dispatcher(new IsTopologyServerReachableAction(true)) -// } -// }) -// .catch(error=>{ -// const {network:{connectivity: {isToplogyServerAvailable}}} = getState(); -// if(isToplogyServerAvailable){ -// dispatcher(new IsTopologyServerReachableAction(false)) -// } -// }) -// } |