Skip to content

Commit 2bb9bbe

Browse files
committed
Update mcs ui commands and procedures
1 parent db792d5 commit 2bb9bbe

File tree

3 files changed

+28
-28
lines changed

3 files changed

+28
-28
lines changed

sim-ops-mcs/src/views/Commands.vue

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,12 @@ export default {
4949
{ 'sub': 'DHS', 'desc': 'Enable memory downlink dump', 'tc': 'TC_DHS_021', 'tm': 'DHS > Memory Dump' },
5050
{ 'sub': 'DHS', 'desc': 'Disable memory downlink dump', 'tc': 'TC_DHS_022', 'tm': 'DHS > Memory Dump' },
5151
52-
{ 'sub': 'Payload', 'desc': 'Turn GPS receiver ON', 'tc': 'TC_PL_001', 'tm': 'Payload > GPS Status' },
53-
{ 'sub': 'Payload', 'desc': 'Turn GPS receiver OFF', 'tc': 'TC_PL_002', 'tm': 'Payload > GPS Status' },
54-
{ 'sub': 'Payload', 'desc': 'Turn hyperspectral camera ON', 'tc': 'TC_PL_011', 'tm': 'Payload > Hyperspectral Camera Status' },
55-
{ 'sub': 'Payload', 'desc': 'Turn hyperspectral camera OFF', 'tc': 'TC_PL_012', 'tm': 'Payload > Hyperspectral Camera Status' }
52+
{ 'sub': 'Payload', 'desc': 'Power on GPS receiver', 'tc': 'TC_PL_001', 'tm': 'Payload > GPS Status' },
53+
{ 'sub': 'Payload', 'desc': 'Power off GPS receiver', 'tc': 'TC_PL_002', 'tm': 'Payload > GPS Status' },
54+
{ 'sub': 'Payload', 'desc': 'Power on camera', 'tc': 'TC_PL_011', 'tm': 'Payload > Camera Status' },
55+
{ 'sub': 'Payload', 'desc': 'Power off camera', 'tc': 'TC_PL_012', 'tm': 'Payload > Camera Status' },
56+
{ 'sub': 'Payload', 'desc': 'Power on SDR', 'tc': 'TC_PL_021', 'tm': 'Payload > SDR Status' },
57+
{ 'sub': 'Payload', 'desc': 'Power off SDR', 'tc': 'TC_PL_022', 'tm': 'Payload > SDR Status' }
5658
]
5759
}
5860
},

sim-ops-mcs/src/views/Procedures.vue

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,6 @@ import 'jsvectormap/dist/maps/world.js';
66
import 'jsvectormap/dist/css/jsvectormap.min.css';
77
import axios from 'axios';
88
9-
/*
10-
establish uplink
11-
establish downlink
12-
enable tracking
13-
change TTC mode
14-
download data
15-
recover safemode
16-
Switch on GPS
17-
switch on Camera
18-
*/
19-
209
const appVariable = useAppVariableStore();
2110
2211
export default {
@@ -85,28 +74,37 @@ export default {
8574
let switchOnGPS = [
8675
{ 'num' : '1', 'con': 'Uplink not yet established', 'action': 'establish Uplink', 'tc': '<a href="#EstablishUplink">Establish Uplink</a>'},
8776
{ 'num' : '2', 'con': 'Downlink not yet established', 'action': 'establish Downlink', 'tc': '<a href="#EstablishDownlink">Establish Downlink</a>'},
88-
{ 'num' : '3', 'con': '', 'action': 'switch on GPS', 'tc': 'TC_PL_001'}
77+
{ 'num' : '3', 'con': '', 'action': 'Power on GPS receiver', 'tc': 'TC_PL_001'}
8978
];
9079
let switchOffGPS = [
9180
{ 'num' : '1', 'con': 'Uplink not yet established', 'action': 'establish Uplink', 'tc': '<a href="#EstablishUplink">Establish Uplink</a>'},
9281
{ 'num' : '2', 'con': 'Downlink not yet established', 'action': 'establish Downlink', 'tc': '<a href="#EstablishDownlink">Establish Downlink</a>'},
93-
{ 'num' : '3', 'con': '', 'action': 'switch off GPS', 'tc': 'TC_PL_002'}
82+
{ 'num' : '3', 'con': '', 'action': 'Power off GPS receiver', 'tc': 'TC_PL_002'}
9483
];
9584
let switchOnCamera = [
9685
{ 'num' : '1', 'con': '', 'action': 'establish Uplink', 'tc': '<a href="#EstablishUplink">Establish Uplink</a>'},
9786
{ 'num' : '2', 'con': '', 'action': 'establish Downlink', 'tc': '<a href="#EstablishDownlink">Establish Downlink</a>'},
98-
{ 'num' : '3', 'con': '', 'action': 'set AOCS mode to nadir pointing', 'tc': 'TC_AOCS_002'},
99-
{ 'num' : '4', 'con': '', 'action': 'switch on camera', 'tc': 'TC_PL_011'}
87+
{ 'num' : '3', 'con': '', 'action': 'Power on camera', 'tc': 'TC_PL_011'}
10088
];
10189
let switchOffCamera = [
10290
{ 'num' : '1', 'con': 'Uplink not yet established', 'action': 'establish Uplink', 'tc': '<a href="#EstablishUplink">Establish Uplink</a>'},
10391
{ 'num' : '2', 'con': 'Downlink not yet established', 'action': 'establish Downlink', 'tc': '<a href="#EstablishDownlink">Establish Downlink</a>'},
104-
{ 'num' : '3', 'con': '', 'action': 'switch off camera', 'tc': 'TC_PL_012'}
92+
{ 'num' : '3', 'con': '', 'action': 'Power off camera', 'tc': 'TC_PL_012'}
93+
];
94+
let switchOnSDR = [
95+
{ 'num' : '1', 'con': '', 'action': 'establish Uplink', 'tc': '<a href="#EstablishUplink">Establish Uplink</a>'},
96+
{ 'num' : '2', 'con': '', 'action': 'establish Downlink', 'tc': '<a href="#EstablishDownlink">Establish Downlink</a>'},
97+
{ 'num' : '3', 'con': '', 'action': 'Power on SDR', 'tc': 'TC_PL_021'}
98+
];
99+
let switchOffSDR = [
100+
{ 'num' : '1', 'con': 'Uplink not yet established', 'action': 'establish Uplink', 'tc': '<a href="#EstablishUplink">Establish Uplink</a>'},
101+
{ 'num' : '2', 'con': 'Downlink not yet established', 'action': 'establish Downlink', 'tc': '<a href="#EstablishDownlink">Establish Downlink</a>'},
102+
{ 'num' : '3', 'con': '', 'action': 'Power off SDR', 'tc': 'TC_PL_022'}
105103
];
106104
return {
107105
renderComponent: true,
108-
procedures: [establishUplink, establishDownlink, enableRanging, enableDoppler, changeTtcMode, downloadData, recoverSafeMode, switchOnGPS, switchOffGPS, switchOnCamera, switchOffCamera],
109-
procedurenames: ["Establish Uplink", "Establish Downlink", "Enable Ranging", "Enable Doppler", "Change TTC Mode", "Download OBC Data", "Recover from Safemode", "Switch on GPS", "Switch off GPS", "Switch on Camera", "Switch off Camera"]
106+
procedures: [establishUplink, establishDownlink, enableRanging, enableDoppler, changeTtcMode, downloadData, recoverSafeMode, switchOnGPS, switchOffGPS, switchOnCamera, switchOffCamera, switchOnSDR, switchOffSDR],
107+
procedurenames: ["Establish Uplink", "Establish Downlink", "Enable Ranging", "Enable Doppler", "Change TTC Mode", "Download OBC Data", "Recover from Safemode", "Power on GPS Receiver", "Power off GPS Receiver", "Power on Camera", "Power off Camera", "Power on SDR", "Power off SDR"]
110108
}
111109
},
112110
methods: {

sim-ops-mcs/src/views/SpaCon.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -348,12 +348,12 @@ export default {
348348
</div>
349349
<div class="col">
350350
<h6 class="mt-2 mb-0">Payload</h6>
351-
<button @click="addStack('TC_PL_001', 'pl_gps_status', 'on', $event)" type="button" class="btn btn-sm btn-outline-theme me-2 mt-2" title="Power GPS On">TC_PL_001</button>
352-
<button @click="addStack('TC_PL_002', 'pl_gps_status', 'off', $event)" type="button" class="btn btn-sm btn-outline-theme me-2 mt-2" title="Power GPS Off">TC_PL_002</button>
353-
<button @click="addStack('TC_PL_011', 'pl_camera_status', 'on', $event)" type="button" class="btn btn-sm btn-outline-theme me-2 mt-2" title="Power Camera On">TC_PL_011</button>
354-
<button @click="addStack('TC_PL_012', 'pl_camera_status', 'off', $event)" type="button" class="btn btn-sm btn-outline-theme me-1 mt-2" title="Power Camera Off">TC_PL_012</button>
355-
<button @click="addStack('TC_PL_021', 'pl_sdr_status', 'on', $event)" type="button" class="btn btn-sm btn-outline-theme me-2 mt-2" title="Power SDR On">TC_PL_021</button>
356-
<button @click="addStack('TC_PL_022', 'pl_sdr_status', 'off', $event)" type="button" class="btn btn-sm btn-outline-theme me-1 mt-2" title="Power SDR Off">TC_PL_022</button>
351+
<button @click="addStack('TC_PL_001', 'pl_gps_status', 'on', $event)" type="button" class="btn btn-sm btn-outline-theme me-2 mt-2" title="Power On GPS Receiver">TC_PL_001</button>
352+
<button @click="addStack('TC_PL_002', 'pl_gps_status', 'off', $event)" type="button" class="btn btn-sm btn-outline-theme me-2 mt-2" title="Power Off GPS Receiver">TC_PL_002</button>
353+
<button @click="addStack('TC_PL_011', 'pl_camera_status', 'on', $event)" type="button" class="btn btn-sm btn-outline-theme me-2 mt-2" title="Power On Camera">TC_PL_011</button>
354+
<button @click="addStack('TC_PL_012', 'pl_camera_status', 'off', $event)" type="button" class="btn btn-sm btn-outline-theme me-1 mt-2" title="Power Off Camera">TC_PL_012</button>
355+
<button @click="addStack('TC_PL_021', 'pl_sdr_status', 'on', $event)" type="button" class="btn btn-sm btn-outline-theme me-2 mt-2" title="Power On SDR">TC_PL_021</button>
356+
<button @click="addStack('TC_PL_022', 'pl_sdr_status', 'off', $event)" type="button" class="btn btn-sm btn-outline-theme me-1 mt-2" title="Power Off SDR">TC_PL_022</button>
357357
</div>
358358
</div>
359359
</card-body>

0 commit comments

Comments
 (0)