|
40 | 40 | <Member typeRef="/dt/uint16" name="seq"/> |
41 | 41 | </MemberList> |
42 | 42 | </AggregateParameterType> |
43 | | - |
| 43 | + <IntegerParameterType name="GroupIdType" signed="false"> |
| 44 | + <IntegerDataEncoding sizeInBits="8"/> |
| 45 | + </IntegerParameterType> |
| 46 | + <EnumeratedParameterType name="GroupStatusType"> |
| 47 | + <IntegerDataEncoding sizeInBits="8"/> |
| 48 | + <EnumerationList> |
| 49 | + <Enumeration value="0" label="disabled"/> |
| 50 | + <Enumeration value="1" label="enabled"/> |
| 51 | + </EnumerationList> |
| 52 | + </EnumeratedParameterType> |
| 53 | + <AggregateParameterType name="GroupStatusElementType"> |
| 54 | + <MemberList> |
| 55 | + <Member typeRef="GroupIdType" name="group_id"/> |
| 56 | + <Member typeRef="GroupStatusType" name="group_status"/> |
| 57 | + </MemberList> |
| 58 | + </AggregateParameterType> |
| 59 | + <ArrayParameterType arrayTypeRef="GroupStatusElementType" name="GroupStatusReportType"> |
| 60 | + <DimensionList> |
| 61 | + <Dimension> |
| 62 | + <StartingIndex><FixedValue>0</FixedValue></StartingIndex> |
| 63 | + <EndingIndex> |
| 64 | + <DynamicValue> |
| 65 | + <ParameterInstanceRef parameterRef="group_report_n"/> |
| 66 | + <LinearAdjustment intercept="-1"/> |
| 67 | + </DynamicValue> |
| 68 | + </EndingIndex> |
| 69 | + </Dimension> |
| 70 | + </DimensionList> |
| 71 | + </ArrayParameterType> |
44 | 72 | </ParameterTypeSet> |
45 | 73 | <ParameterSet> |
46 | 74 | <Parameter parameterTypeRef="/dt/uint32" name="status_report_n"/> |
47 | 75 | <Parameter parameterTypeRef="/dt/uint32" name="summary_report_n"/> |
48 | 76 | <Parameter parameterTypeRef="StatusReportType" name="status_report" shortDescription="Contains the status (enable/disable) of the sub-schedules."/> |
| 77 | + <Parameter parameterTypeRef="/dt/uint32" name="group_report_n"/> |
| 78 | + <Parameter parameterTypeRef="GroupStatusReportType" name="group_report"/> |
49 | 79 | </ParameterSet> |
50 | 80 | <ContainerSet> |
51 | 81 | <SequenceContainer name="pus11-tm"> |
|
69 | 99 | </RestrictionCriteria> |
70 | 100 | </BaseContainer> |
71 | 101 | </SequenceContainer> |
72 | | - |
| 102 | + <SequenceContainer name="GROUP_STATUS_REPORT" shortDescription="TM[11,27] time-based scheduling group status report"> |
| 103 | + <EntryList> |
| 104 | + <ParameterRefEntry parameterRef="group_report_n"/> |
| 105 | + <ArrayParameterRefEntry parameterRef="group_report"/> |
| 106 | + </EntryList> |
| 107 | + <BaseContainer containerRef="pus11-tm"> |
| 108 | + <RestrictionCriteria> |
| 109 | + <Comparison parameterRef="/PUS/subtype" comparisonOperator="==" value="27"/> |
| 110 | + </RestrictionCriteria> |
| 111 | + </BaseContainer> |
| 112 | + </SequenceContainer> |
73 | 113 | </ContainerSet> |
74 | 114 | </TelemetryMetaData> |
75 | 115 | <CommandMetaData> |
|
115 | 155 | </Dimension> |
116 | 156 | </DimensionList> |
117 | 157 | </ArrayArgumentType> |
| 158 | + <!-- TC[11,4] INSERT_ACTIVITIES types — tc_packet size fixed at 128 bits (16 bytes); adjust for mission TC size --> |
| 159 | + <BinaryArgumentType name="TcPacketType"> |
| 160 | + <BinaryDataEncoding> |
| 161 | + <SizeInBits><FixedValue>128</FixedValue></SizeInBits> |
| 162 | + </BinaryDataEncoding> |
| 163 | + </BinaryArgumentType> |
| 164 | + <AggregateArgumentType name="ActivityEntryType"> |
| 165 | + <MemberList> |
| 166 | + <Member name="release_time" typeRef="/PUS/PusTimeType"/> |
| 167 | + <Member name="tc_packet" typeRef="TcPacketType"/> |
| 168 | + </MemberList> |
| 169 | + </AggregateArgumentType> |
| 170 | + <ArrayArgumentType arrayTypeRef="ActivityEntryType" name="ActivityArrayType"> |
| 171 | + <DimensionList> |
| 172 | + <Dimension> |
| 173 | + <StartingIndex><FixedValue>0</FixedValue></StartingIndex> |
| 174 | + <EndingIndex> |
| 175 | + <DynamicValue> |
| 176 | + <ArgumentInstanceRef argumentRef="n"/> |
| 177 | + <LinearAdjustment intercept="-1"/> |
| 178 | + </DynamicValue> |
| 179 | + </EndingIndex> |
| 180 | + </Dimension> |
| 181 | + </DimensionList> |
| 182 | + </ArrayArgumentType> |
| 183 | + <!-- TC[11,22–25] group management types --> |
| 184 | + <IntegerArgumentType name="NumGroupsType" baseType="/dt/uint8"/> |
| 185 | + <IntegerArgumentType name="GroupIdType" baseType="/dt/uint8"/> |
| 186 | + <AggregateArgumentType name="GroupElementType"> |
| 187 | + <MemberList> |
| 188 | + <Member typeRef="GroupIdType" name="group_id"/> |
| 189 | + <Member typeRef="/dt/uint8" name="group_status"/> |
| 190 | + </MemberList> |
| 191 | + </AggregateArgumentType> |
| 192 | + <ArrayArgumentType arrayTypeRef="GroupElementType" name="GroupArrayType"> |
| 193 | + <DimensionList> |
| 194 | + <Dimension> |
| 195 | + <StartingIndex><FixedValue>0</FixedValue></StartingIndex> |
| 196 | + <EndingIndex> |
| 197 | + <DynamicValue> |
| 198 | + <ArgumentInstanceRef argumentRef="num_groups"/> |
| 199 | + <LinearAdjustment intercept="-1"/> |
| 200 | + </DynamicValue> |
| 201 | + </EndingIndex> |
| 202 | + </Dimension> |
| 203 | + </DimensionList> |
| 204 | + </ArrayArgumentType> |
| 205 | + <ArrayArgumentType arrayTypeRef="GroupIdType" name="GroupIdArrayType"> |
| 206 | + <DimensionList> |
| 207 | + <Dimension> |
| 208 | + <StartingIndex><FixedValue>0</FixedValue></StartingIndex> |
| 209 | + <EndingIndex> |
| 210 | + <DynamicValue> |
| 211 | + <ArgumentInstanceRef argumentRef="num_groups"/> |
| 212 | + <LinearAdjustment intercept="-1"/> |
| 213 | + </DynamicValue> |
| 214 | + </EndingIndex> |
| 215 | + </Dimension> |
| 216 | + </DimensionList> |
| 217 | + </ArrayArgumentType> |
118 | 218 | </ArgumentTypeSet> |
119 | 219 | <MetaCommandSet> |
120 | 220 | <MetaCommand name="pus11-tc" abstract="true"> |
|
161 | 261 | <BaseContainer containerRef="pus11-tc" /> |
162 | 262 | </CommandContainer> |
163 | 263 | </MetaCommand> |
164 | | - |
| 264 | + <MetaCommand name="INSERT_ACTIVITIES" shortDescription="TC[11,4] insert activities into the time-based schedule"> |
| 265 | + <BaseMetaCommand metaCommandRef="pus11-tc"> |
| 266 | + <ArgumentAssignmentList> |
| 267 | + <ArgumentAssignment argumentName="subtype" argumentValue="4"/> |
| 268 | + </ArgumentAssignmentList> |
| 269 | + </BaseMetaCommand> |
| 270 | + <ArgumentList> |
| 271 | + <Argument argumentTypeRef="/dt/uint8" name="subschedule_id"/> |
| 272 | + <Argument argumentTypeRef="/dt/uint8" name="n"/> |
| 273 | + <Argument argumentTypeRef="ActivityArrayType" name="activities"/> |
| 274 | + </ArgumentList> |
| 275 | + <CommandContainer name="INSERT_ACTIVITIES"> |
| 276 | + <EntryList> |
| 277 | + <ArgumentRefEntry argumentRef="subschedule_id"/> |
| 278 | + <ArgumentRefEntry argumentRef="n"/> |
| 279 | + <ArgumentRefEntry argumentRef="activities"/> |
| 280 | + </EntryList> |
| 281 | + <BaseContainer containerRef="pus11-tc"/> |
| 282 | + </CommandContainer> |
| 283 | + </MetaCommand> |
165 | 284 | <MetaCommand name="DELETE_ACTIVITIES_BY_ID" shortDescription="TC[11,5] delete time-based scheduled activities identified by request identifier"> |
166 | 285 | <BaseMetaCommand metaCommandRef="pus11-tc"> |
167 | 286 | <ArgumentAssignmentList> |
|
211 | 330 | </ArgumentAssignmentList> |
212 | 331 | </BaseMetaCommand> |
213 | 332 | <ArgumentList> |
| 333 | + <Argument argumentTypeRef="/dt/uint32" name="time_offset_ms"/> |
214 | 334 | <Argument argumentTypeRef="NumRequestsType" name="num_requests"></Argument> |
215 | 335 | <Argument argumentTypeRef="RequestArrayType" name="requests"></Argument> |
216 | 336 | </ArgumentList> |
217 | 337 | <CommandContainer name="TIME_SHIFT_ACTIVITIES_BY_ID"> |
218 | 338 | <EntryList> |
| 339 | + <ArgumentRefEntry argumentRef="time_offset_ms"/> |
219 | 340 | <ArgumentRefEntry argumentRef="num_requests" /> |
220 | 341 | <ArgumentRefEntry argumentRef="requests" /> |
221 | 342 | </EntryList> |
|
229 | 350 | </ArgumentAssignmentList> |
230 | 351 | </BaseMetaCommand> |
231 | 352 | <ArgumentList> |
| 353 | + <Argument argumentTypeRef="/dt/uint32" name="time_offset_ms"/> |
232 | 354 | <Argument argumentTypeRef="/PUS/PusTimeType" name="start_time"></Argument> |
233 | 355 | <Argument argumentTypeRef="/PUS/PusTimeType" name="end_time"></Argument> |
234 | 356 | <Argument argumentTypeRef="NumSchedulesType" name="num_schedules"></Argument> |
235 | 357 | <Argument argumentTypeRef="ScheduleIdArrayType" name="schedules"></Argument> |
236 | 358 | </ArgumentList> |
237 | 359 | <CommandContainer name="TIME_SHIFT_ACTIVITIES_BY_FILTER"> |
238 | 360 | <EntryList> |
| 361 | + <ArgumentRefEntry argumentRef="time_offset_ms"/> |
239 | 362 | <FixedValueEntry binaryValue="01" sizeInBits="8" name="filter_type"/> |
240 | 363 | <ArgumentRefEntry argumentRef="start_time" /> |
241 | 364 | <ArgumentRefEntry argumentRef="end_time" /> |
|
330 | 453 | </CommandContainer> |
331 | 454 | </MetaCommand> |
332 | 455 |
|
333 | | - <MetaCommand name="TIME_SHIFT_ACTIVITIES" shortDescription="5 TC[11,15] time-shift all scheduled activities"> |
| 456 | + <MetaCommand name="TIME_SHIFT_ACTIVITIES" shortDescription="TC[11,15] time-shift all scheduled activities"> |
334 | 457 | <BaseMetaCommand metaCommandRef="pus11-tc"> |
335 | 458 | <ArgumentAssignmentList> |
336 | 459 | <ArgumentAssignment argumentName="subtype" argumentValue="15" /> |
337 | 460 | </ArgumentAssignmentList> |
338 | 461 | </BaseMetaCommand> |
339 | 462 | <ArgumentList> |
340 | | - <Argument argumentTypeRef="NumRequestsType" name="num_requests"></Argument> |
341 | | - <Argument argumentTypeRef="RequestArrayType" name="requests"></Argument> |
| 463 | + <Argument argumentTypeRef="/dt/uint32" name="time_offset_ms"/> |
342 | 464 | </ArgumentList> |
343 | 465 | <CommandContainer name="TIME_SHIFT_ACTIVITIES"> |
344 | 466 | <EntryList> |
345 | | - <ArgumentRefEntry argumentRef="num_requests" /> |
346 | | - <ArgumentRefEntry argumentRef="requests" /> |
| 467 | + <ArgumentRefEntry argumentRef="time_offset_ms"/> |
347 | 468 | </EntryList> |
348 | 469 | <BaseContainer containerRef="pus11-tc" /> |
349 | 470 | </CommandContainer> |
|
422 | 543 | <BaseContainer containerRef="pus11-tc" /> |
423 | 544 | </CommandContainer> |
424 | 545 | </MetaCommand> |
| 546 | + <MetaCommand name="CREATE_SCHEDULING_GROUPS" shortDescription="TC[11,22] create time-based scheduling groups"> |
| 547 | + <BaseMetaCommand metaCommandRef="pus11-tc"> |
| 548 | + <ArgumentAssignmentList> |
| 549 | + <ArgumentAssignment argumentName="subtype" argumentValue="22"/> |
| 550 | + </ArgumentAssignmentList> |
| 551 | + </BaseMetaCommand> |
| 552 | + <ArgumentList> |
| 553 | + <Argument argumentTypeRef="NumGroupsType" name="num_groups"/> |
| 554 | + <Argument argumentTypeRef="GroupArrayType" name="groups"/> |
| 555 | + </ArgumentList> |
| 556 | + <CommandContainer name="CREATE_SCHEDULING_GROUPS"> |
| 557 | + <EntryList> |
| 558 | + <ArgumentRefEntry argumentRef="num_groups"/> |
| 559 | + <ArgumentRefEntry argumentRef="groups"/> |
| 560 | + </EntryList> |
| 561 | + <BaseContainer containerRef="pus11-tc"/> |
| 562 | + </CommandContainer> |
| 563 | + </MetaCommand> |
| 564 | + <MetaCommand name="DELETE_SCHEDULING_GROUPS" shortDescription="TC[11,23] delete time-based scheduling groups"> |
| 565 | + <BaseMetaCommand metaCommandRef="pus11-tc"> |
| 566 | + <ArgumentAssignmentList> |
| 567 | + <ArgumentAssignment argumentName="subtype" argumentValue="23"/> |
| 568 | + </ArgumentAssignmentList> |
| 569 | + </BaseMetaCommand> |
| 570 | + <ArgumentList> |
| 571 | + <Argument argumentTypeRef="NumGroupsType" name="num_groups"/> |
| 572 | + <Argument argumentTypeRef="GroupIdArrayType" name="group_ids"/> |
| 573 | + </ArgumentList> |
| 574 | + <CommandContainer name="DELETE_SCHEDULING_GROUPS"> |
| 575 | + <EntryList> |
| 576 | + <ArgumentRefEntry argumentRef="num_groups"/> |
| 577 | + <ArgumentRefEntry argumentRef="group_ids"/> |
| 578 | + </EntryList> |
| 579 | + <BaseContainer containerRef="pus11-tc"/> |
| 580 | + </CommandContainer> |
| 581 | + </MetaCommand> |
| 582 | + <MetaCommand name="ENABLE_SCHEDULING_GROUPS" shortDescription="TC[11,24] enable time-based scheduling groups"> |
| 583 | + <BaseMetaCommand metaCommandRef="pus11-tc"> |
| 584 | + <ArgumentAssignmentList> |
| 585 | + <ArgumentAssignment argumentName="subtype" argumentValue="24"/> |
| 586 | + </ArgumentAssignmentList> |
| 587 | + </BaseMetaCommand> |
| 588 | + <ArgumentList> |
| 589 | + <Argument argumentTypeRef="NumGroupsType" name="num_groups"/> |
| 590 | + <Argument argumentTypeRef="GroupIdArrayType" name="group_ids"/> |
| 591 | + </ArgumentList> |
| 592 | + <CommandContainer name="ENABLE_SCHEDULING_GROUPS"> |
| 593 | + <EntryList> |
| 594 | + <ArgumentRefEntry argumentRef="num_groups"/> |
| 595 | + <ArgumentRefEntry argumentRef="group_ids"/> |
| 596 | + </EntryList> |
| 597 | + <BaseContainer containerRef="pus11-tc"/> |
| 598 | + </CommandContainer> |
| 599 | + </MetaCommand> |
| 600 | + <MetaCommand name="DISABLE_SCHEDULING_GROUPS" shortDescription="TC[11,25] disable time-based scheduling groups"> |
| 601 | + <BaseMetaCommand metaCommandRef="pus11-tc"> |
| 602 | + <ArgumentAssignmentList> |
| 603 | + <ArgumentAssignment argumentName="subtype" argumentValue="25"/> |
| 604 | + </ArgumentAssignmentList> |
| 605 | + </BaseMetaCommand> |
| 606 | + <ArgumentList> |
| 607 | + <Argument argumentTypeRef="NumGroupsType" name="num_groups"/> |
| 608 | + <Argument argumentTypeRef="GroupIdArrayType" name="group_ids"/> |
| 609 | + </ArgumentList> |
| 610 | + <CommandContainer name="DISABLE_SCHEDULING_GROUPS"> |
| 611 | + <EntryList> |
| 612 | + <ArgumentRefEntry argumentRef="num_groups"/> |
| 613 | + <ArgumentRefEntry argumentRef="group_ids"/> |
| 614 | + </EntryList> |
| 615 | + <BaseContainer containerRef="pus11-tc"/> |
| 616 | + </CommandContainer> |
| 617 | + </MetaCommand> |
| 618 | + <MetaCommand name="REPORT_GROUP_STATUS" shortDescription="TC[11,26] report the status of each time-based scheduling group"> |
| 619 | + <BaseMetaCommand metaCommandRef="pus11-tc"> |
| 620 | + <ArgumentAssignmentList> |
| 621 | + <ArgumentAssignment argumentName="subtype" argumentValue="26"/> |
| 622 | + </ArgumentAssignmentList> |
| 623 | + </BaseMetaCommand> |
| 624 | + <CommandContainer name="REPORT_GROUP_STATUS"> |
| 625 | + <EntryList/> |
| 626 | + <BaseContainer containerRef="pus11-tc"/> |
| 627 | + </CommandContainer> |
| 628 | + </MetaCommand> |
425 | 629 | </MetaCommandSet> |
426 | 630 | </CommandMetaData> |
427 | 631 | <!-- we added the detailed report into its own subsystem to allow nicer names in the parameter list on yamcs-web--> |
|
0 commit comments