forked from open-dis/xmlpg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DIS2012.xml
6099 lines (4415 loc) · 237 KB
/
DIS2012.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- XML description file for the DIS-2012 (Final DIS version 7) protocol. Some classes require manual clean up and intevention. -->
<!-- This file is used by XMLPG, a fairly simple program that processes this XML file and generates
a programming language source file, for example Java or C++. Almost all the work of writing a
protocol is boilerplate. Getters and setters for fields, marshalling and unmarshalling, and
so on. Once we have a description of the protocol that can be processed by automated tools the
actual work of writing the protocol is straightforward, and we can let the tool do almost all
the work. There are a few possible issues, such as unit confusion, but for the most part this
gets us 98 percent of the way there, and we can fix any issues in the generated source code
with patches.
The syntax is fairly straightforward. We define objects with their fields (type, name) and
can specify inheritance. Classes and fields can have comments. There are lists of objects,
of either fixed or variable length. The variable length lists include a reference to a field
that tells us how long the list is.
-->
<classes>
<!-- The Java-specific imports. Java also is capable of saving DIS to XML format via
the JAXB package, and saving to a SQL database via Hibernate. This makes the code
a little more complex, and it almost certianly won't work on mobile devices. The
annotations here are used only by XMLPG, the source code generation tool.
-->
<java imports="java.util.*, java.io.*"
package="edu.nps.moves.dis"
usesJaxb="false"
usesHibernate="false"/>
<!-- csharp langauge specific packages. These are added information for xmlpg -->
<csharp using="System, System.Collections.Generic, System.Text, System.Diagnostics, System.Xml.Serialization, DISnet.DataStreamUtilities"
namespace="DIS1998net"/>
<!-- C++ specific information, used by xmlpg -->
<cpp namespace="DIS"/>
<!-- python specific information, used by xmlpg -->
<python namespace="DIS"
filename="pythonDis.py"/>
<class name="AcousticEmitter" inheritsFrom="root" comment=" information about a specific UA emitter. Section 6.2.2.">
<attribute name="acousticSystemName" comment="the system for a particular UA emitter, and an enumeration">
<primitive type="unsigned short"/>
</attribute>
<attribute name="acousticFunction" comment="The function of the acoustic system">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="acousticIDNumber" comment="The UA emitter identification number relative to a specific system">
<primitive type="unsigned byte"/>
</attribute>
</class>
<class name="AggregateIdentifier" inheritsFrom="root" comment="The unique designation of each aggrgate in an exercise is specified by an aggregate identifier record. The aggregate ID is not an entity and shall not be treated as such. Section 6.2.3.">
<attribute name="simulationAddress" comment="Simulation address, ie site and application, the first two fields of the entity ID">
<classRef name="SimulationAddress"/>
</attribute>
<attribute name="aggregateID" comment="the aggregate ID">
<primitive type="unsigned short"/>
</attribute>
</class>
<class name="AggregateMarking" inheritsFrom="root"
comment="Specifies the character set used in the first byte, followed by up to 31 characters of text data. Section 6.2.4. ">
<attribute name="characterSet" comment="The character set">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="characters" comment="The characters">
<list type="fixed" length="31" couldBeString="true">
<primitive type="unsigned byte"/>
</list>
</attribute>
</class>
<class name="AggregateType" inheritsFrom="root" comment="Identifies the type and organization of an aggregate. Section 6.2.5">
<attribute name="aggregateKind" comment="Grouping criterion used to group the aggregate. Enumeration from EBV document">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="domain" comment="Domain of entity (air, surface, subsurface, space, etc) Zero means domain does not apply.">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="country" comment="country to which the design of the entity is attributed" >
<primitive type="unsigned short"/>
</attribute>
<attribute name="category" comment="category of entity">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="subcategory" comment="subcategory of entity">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="specificInfo" comment="specific info based on subcategory field. specific is a reserved word in sql.">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="extra">
<primitive type="unsigned byte"/>
</attribute>
</class>
<!-- Section 6.2.6 specifies that angles will be represented as 32 bit floating points expressed in radians -->
<class name="AngularVelocityVector" inheritsFrom="root"
comment="Angular velocity measured in radians per second out each of the entity's own coordinate axes. Order of measurement is angular velocity around the x, y, and z axis of the entity. The positive direction is determined by the right hand rule. Section 6.2.7">
<attribute name="x" comment="velocity about the x axis">
<primitive type="float" defaultValue="0"/>
</attribute>
<attribute name="y" comment="velocity about the y axis">
<primitive type="float" defaultValue="0"/>
</attribute>
<attribute name="z" comment="velocity about the zaxis">
<primitive type="float" defaultValue="0"/>
</attribute>
</class>
<class name="AntennaLocation" inheritsFrom="root"
comment="Location of the radiating portion of the antenna, specified in world coordinates and entity coordinates. Section 6.2.8">
<attribute name="antennaLocation" comment="Location of the radiating portion of the antenna in world
coordinates">
<classref name="Vector3Double"/>
</attribute>
<attribute name="relativeAntennaLocation" comment="Location of the radiating portion of the antenna
in entity coordinates">
<classref name="Vector3Float"/>
</attribute>
</class>
<class name="BeamAntennaPattern" inheritsFrom="root"
comment="Used when the antenna pattern type field has a value of 1. Specifies the direction, pattern, and polarization of radiation from an antenna. Section 6.2.9.2">
<attribute name="beamDirection" comment="The rotation that transforms the reference coordinate sytem into the beam coordinate system. Either world coordinates or entity coordinates may be used as the reference coordinate system, as specified by the reference system field of the antenna pattern record.">
<classref name="EulerAngles"/>
</attribute>
<attribute name="azimuthBeamwidth" commment="Full width of the beam to the -3dB power density points in the x-y plane of the beam coordinnate system. Elevation beamwidth is represented by a 32 bit floating point number in units of radians.">
<primitive type="float" defaultValue="0"/>
</attribute>
<attribute name="elevationBeamwidth" commment="This field shall specify the full width of the beam to the –3 dB power density points in the x-z plane of the beam coordinate system. Elevation beamwidth shall be represented by a 32-bit floating point number in units of radians.">
<primitive type="float" defaultValue="0"/>
</attribute>
<attribute name="referenceSystem" commment="The reference coordinate system wrt which beam direction is specified. This field should not change over the duration of an exercise. World coordindate systemis prefered for exercises. The entity coordinate system should be used only when highly directional antennas must be precisely modeled.">
<primitive type="unsigned byte" defaultValue="0"/>
</attribute>
<attribute name="padding1" commment="Padding">
<primitive type="unsigned byte" defaultValue="0"/>
</attribute>
<attribute name="padding2" commment="Padding">
<primitive type="unsigned short" defaultValue="0"/>
</attribute>
<attribute name="ez" comment="This field shall specify the magnitude of the Z-component (in beam coordinates) of the Electrical field at some arbitrary single point in the main beam and in the far field of the antenna. ">
<primitive type="float" defaultValue="0.0"/>
</attribute>
<attribute name="ex" comment="This field shall specify the magnitude of the X-component (in beam coordinates) of the Electri- cal field at some arbitrary single point in the main beam and in the far field of the antenna.">
<primitive type="float" defaultValue="0.0"/>
</attribute>
<attribute name="phase" comment="This field shall specify the phase angle between EZ and EX in radians. If fully omni-direc- tional antenna is modeled using beam pattern type one, the omni-directional antenna shall be repre- sented by beam direction Euler angles psi, theta, and phi of zero, an azimuth beamwidth of 2PI, and an elevation beamwidth of PI">
<primitive type="float" defaultValue="0.0"/>
</attribute>
<attribute name="padding3" comment="padding">
<primitive type="unsigned int" defaultValue="0"/>
</attribute>
</class>
<class name="Association" inheritsFrom="root"
comment="An entity's associations with other entities and/or locations. For each association, this record shall specify the type of the association, the associated entity's EntityID and/or the associated location's world coordinates. This record may be used (optionally) in a transfer transaction to send internal state data from the divesting simulation to the acquiring simulation (see 5.9.4). This record may also be used for other purposes. Section 6.2.9">
<attribute name="associationType" commment="This field shall indicate the type of association. It shall be represented by an 8-bit enumeration. Values for this field are found in Section 14 of SISO-REF-010">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="padding4" commment="Padding">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="associatedEntityID" comment="identity of associated entity. If none, NO_SPECIFIC_ENTITY">
<classRef name="EntityID"/>
</attribute>
<attribute name="associatedLocation" comment="location, in world coordinates">
<classRef name="Vector3Double"/>
</attribute>
</class>
<class name="Attribute" inheritsFrom="root"
comment="Used to convey information for one or more attributes. Attributes conform to the standard variable record format of 6.2.82. Section 6.2.10. NOT COMPLETE">
<attribute name="recordType" commment="The record type for this attribute. Enumeration">
<primitive type="unsigned int"/>
</attribute>
<attribute name="recordLength" commment="Total length of the record in octets. The record shall end on a 64-bit boundary after any padding. = 6 + K + P">
<primitive type="unsigned short"/>
</attribute>
<attribute name="recordSpecificFields" commment="The attribute data format conforming to that specified by the record type. K bytes long">
<primitive type="unsigned long"/>
</attribute>
<!--
<attribute name="paddingTo64Bits" commment="Padding necessary to put the end of the record on a 64 bit boundary">
<primitive type="unsigned long"/>
</attribute>
-->
</class>
<class name="BeamData" inheritsFrom="root" comment="Describes the scan volue of an emitter beam. Section 6.2.11.">
<attribute name="beamAzimuthCenter" comment="Specifies the beam azimuth an elevation centers and corresponding half-angles to describe the scan volume">
<primitive type="float"/>
</attribute>
<attribute name="beamAzimuthSweep" comment="Specifies the beam azimuth sweep to determine scan volume">
<primitive type="float"/>
</attribute>
<attribute name="beamElevationCenter" comment="Specifies the beam elevation center to determine scan volume">
<primitive type="float"/>
</attribute>
<attribute name="beamElevationSweep" comment="Specifies the beam elevation sweep to determine scan volume">
<primitive type="float"/>
</attribute>
<attribute name="beamSweepSync" comment="allows receiver to synchronize its regenerated scan pattern to that of the emmitter. Specifies the percentage of time a scan is through its pattern from its origion.">
<primitive type="float"/>
</attribute>
</class>
<!-- Section 6.2.13 is B.2.41 This is a placeholder THAT WILL BREAK SERIALIZATION. -->
<class name="ChangeOptions" comment="This is wrong and breaks serialization. See section 6.2.13 aka B.2.41">
</class>
<class name="BeamStatus" inheritsFrom="root" comment="Information related to the status of a beam. This is contained in the beam status field of the electromagnitec emission PDU. The first bit determines whether the beam is active (0) or deactivated (1). Section 6.2.12.">
<attribute name="beamState" comment="First bit zero means beam is active, first bit = 1 means deactivated. The rest is padding.">
<primitive type="unsigned byte"/>
</attribute>
</class>
<class name="ClockTime" inheritsFrom="root"
comment="Time measurements that exceed one hour are represented by this record. The first field is the hours since the unix epoch (Jan 1 1970, used by most Unix systems and java) and the second field the timestamp units since the top of the hour. Section 6.2.14">
<attribute name="hour" comment="Hours in UTC">
<primitive type="unsigned int"/>
</attribute>
<attribute name="timePastHour" comment="Time past the hour">
<primitive type="unsigned int"/>
</attribute>
</class>
<!-- Damage description records -->
<class name="DirectedEnergyDamage"
inheritsFrom="root"
comment="Damage sustained by an entity due to directed energy. Location of the damage based on a relative x,y,z location from the center of the entity. Section 6.2.15.2">
<attribute name="recordType" comment="DE Record Type.">
<primitive type="unsigned int" defaultValue="4500" comment="record type is always 4500"/>
</attribute>
<attribute name="recordLength" comment="DE Record Length (bytes).">
<primitive type="unsigned short" defaultValue="40"/>
</attribute>
<attribute name="padding" comment="padding.">
<primitive type="unsigned short" defaultValue="0"/>
</attribute>
<attribute name="damageLocation" comment="location of damage, relative to center of entity">
<classref name="Vector3Float"/>
</attribute>
<attribute name="damageDiameter" comment="Size of damaged area, in meters.">
<primitive type="float"/>
</attribute>
<attribute name="temperature" comment="average temp of the damaged area, in degrees celsius. If firing entitty does not model this, use a value of -273.15">
<primitive type="float" defaultValue="-273.15"/>
</attribute>
<attribute name="componentIdentification" comment="enumeration">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="componentDamageStatus" comment="enumeration">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="componentVisualDamageStatus" comment="enumeration">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="componentVisualSmokeColor" comment="enumeration">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="fireEventID" comment="For any component damage resulting this field shall be set to the fire event ID from that PDU.">
<classref name="EventIdentifier"/>
</attribute>
<attribute name="padding2" comment="padding">
<primitive type="unsigned short" defaultValue="0"/>
</attribute>
</class>
<class name="DataFilterRecord" comment="identify which of the optional data fields are contained in the Minefield Data PDU or requested in the Minefield Query PDU. This is a 32-bit record. For each field, true denotes that the data is requested or present and false denotes that the data is neither requested nor present. Section 6.2.16">
<attribute name="bitFlags" comment="Bitflags field">
<primitive type="unsigned int" comment="Bit flags for fields"/>
</attribute>
</class>
<class name="UnsignedDISInteger" comment="container class not in specification" inheritsFrom="root">
<attribute name="val" comment="unsigned integer">
<primitive type="unsigned int"/>
</attribute>
</class>
<class name="DataQueryDatumSpecification"
inheritsFrom="root"
comment="List of fixed and variable datum records. Section 6.2.17 ">
<attribute name="numberOfFixedDatums" comment="Number of fixed datums">
<primitive type="unsigned int"/>
</attribute>
<attribute name="numberOfVariableDatums" comment="Number of variable datums">
<primitive type="unsigned int"/>
</attribute>
<attribute name="fixedDatumIDList" comment="variable length list fixed datum IDs">
<list type="variable" countFieldName="numberOfFixedDatums">
<classRef name="UnsignedDISInteger"/>
</list>
</attribute>
<attribute name="variableDatumIDList" comment="variable length list variable datum IDs">
<list type="variable" countFieldName="numberOfVariableDatums">
<classRef name="UnsignedDISInteger"/>
</list>
</attribute>
</class>
<class name="DatumSpecification"
inheritsFrom="root"
comment="List of fixed and variable datum records. Section 6.2.18 ">
<attribute name="numberOfFixedDatums" comment="Number of fixed datums">
<primitive type="unsigned int"/>
</attribute>
<attribute name="numberOfVariableDatums" comment="Number of variable datums">
<primitive type="unsigned int"/>
</attribute>
<attribute name="fixedDatumIDList" comment="variable length list fixed datums">
<list type="variable" countFieldName="numberOfFixedDatums">
<classRef name="FixedDatum"/>
</list>
</attribute>
<attribute name="variableDatumIDList" comment="variable length list variable datums">
<list type="variable" countFieldName="numberOfVariableDatums">
<classRef name="VariableDatum"/>
</list>
</attribute>
</class>
<!-- Section 6.2.20: descriptor records" -->
<class name="MunitionDescriptor" inheritsFrom="root"
comment="Represents the firing or detonation of a munition. Section 6.2.19.2">
<attribute name="munitionType" comment="What munition was used in the burst">
<classRef name="EntityType"/>
</attribute>
<attribute name="warhead" comment="type of warhead enumeration">
<primitive type="unsigned short"/>
</attribute>
<attribute name="fuse" comment="type of fuse used enumeration">
<primitive type="unsigned short"/>
</attribute>
<attribute name="quantity" comment="how many of the munition were fired">
<primitive type="unsigned short"/>
</attribute>
<attribute name="rate" comment="rate at which the munition was fired">
<primitive type="unsigned short"/>
</attribute>
</class>
<class name="ExplosionDescriptor"
inheritsFrom="root"
comment="Explosion of a non-munition. Section 6.2.19.3">
<attribute name="explodingObject" comment="Type of the object that exploded. See 6.2.30">
<classref name="EntityType"/>
</attribute>
<attribute name="explosiveMaterial" comment="Material that exploded. Can be grain dust, tnt, gasoline, etc. Enumeration">
<primitive type="unsigned short"/>
</attribute>
<attribute name="padding" comment="padding">
<primitive type="unsigned short" defaultValue="0"/>
</attribute>
<attribute name="explosiveForce" comment="Force of explosion, in equivalent KG of TNT">
<primitive type="float"/>
</attribute>
</class>
<class name="ExpendableDescriptor"
inheritsFrom="root"
comment="Burst of chaff or expendible device. Section 6.2.19.4">
<attribute name="expendableType" comment="Type of the object that exploded">
<classref name="EntityType"/>
</attribute>
<attribute name="padding" comment="Padding">
<primitive type="long" defaultValue="0"/>
</attribute>
</class>
<!-- 6.2.20: directed entergy records -->
<class name="DirectedEnergyAreaAimpoint"
inheritsFrom="root"
comment="DE Precision Aimpoint Record. NOT COMPLETE. Section 6.2.20.2">
<attribute name="recordType" comment="Type of Record enumeration">
<primitive type="unsigned int" defaultValue="4001"/>
</attribute>
<attribute name="recordLength" comment="Length of Record">
<primitive type="unsigned short"/>
</attribute>
<attribute name="padding" comment="Padding">
<primitive type="unsigned short" defaultValue="0"/>
</attribute>
<attribute name="beamAntennaPatternRecordCount" comment="Number of beam antenna pattern records">
<primitive type="unsigned short" defaultValue="0"/>
</attribute>
<attribute name="directedEnergyTargetEnergyDepositionRecordCount" comment="Number of DE target energy depositon records">
<primitive type="unsigned short" defaultValue="0"/>
</attribute>
<attribute name="beamAntennaParameterList" comment="list of beam antenna records. See 6.2.9.2">
<list type="variable" countFieldName="beamAntennaPatternRecordCount">
<classRef name="BeamAntennaPattern"/>
</list>
</attribute>
<attribute name="directedEnergyTargetEnergyDepositionRecordList" comment="list of DE target deposition records. See 6.2.21.4">
<list type="variable" countFieldName="directedEnergyTargetEnergyDepositionRecordCount">
<classRef name="DirectedEnergyTargetEnergyDeposition"/>
</list>
</attribute>
<!-- Needs to be padding to a 64 bit boundary here -->
</class>
<class name="DirectedEnergyPrecisionAimpoint"
inheritsFrom="root"
comment="DE Precision Aimpoint Record. Section 6.2.20.3">
<attribute name="recordType" comment="Type of Record">
<primitive type="unsigned int" defaultValue="4000"/>
</attribute>
<attribute name="recordLength" comment="Length of Record">
<primitive type="unsigned short" defaultValue="88"/>
</attribute>
<attribute name="padding" comment="Padding">
<primitive type="unsigned short" defaultValue="0"/>
</attribute>
<attribute name="targetSpotLocation" comment="Position of Target Spot in World Coordinates.">
<classref name="Vector3Double"/>
</attribute>
<attribute name="targetSpotEntityLocation" comment="Position (meters) of Target Spot relative to Entity Position.">
<classref name="Vector3Float"/>
</attribute>
<attribute name="targetSpotVelocity" comment="Velocity (meters/sec) of Target Spot.">
<classref name="Vector3Float"/>
</attribute>
<attribute name="targetSpotAcceleration" comment="Acceleration (meters/sec/sec) of Target Spot.">
<classref name="Vector3Float"/>
</attribute>
<attribute name="targetEntityID" comment="Unique ID of the target entity.">
<classref name="EntityID"/>
</attribute>
<attribute name="targetComponentID" comment="Target Component ID ENUM, same as in DamageDescriptionRecord.">
<primitive type="unsigned byte" defaultValue="0"/>
</attribute>
<attribute name="beamSpotType" comment="Spot Shape ENUM.">
<primitive type="unsigned byte" defaultValue="0"/>
</attribute>
<attribute name="beamSpotCrossSectionSemiMajorAxis" comment="Beam Spot Cross Section Semi-Major Axis.">
<primitive type="float" defaultValue="0"/>
</attribute>
<attribute name="beamSpotCrossSectionSemiMinorAxis" comment="Beam Spot Cross Section Semi-Major Axis.">
<primitive type="float" defaultValue="0"/>
</attribute>
<attribute name="beamSpotCrossSectionOrientationAngle" comment="Beam Spot Cross Section Orientation Angle.">
<primitive type="float" defaultValue="0"/>
</attribute>
<attribute name="peakIrradiance" comment="Peak irradiance">
<primitive type="float" defaultValue="0"/>
</attribute>
<attribute name="padding2" comment="padding">
<primitive type="unsigned int" defaultValue="0"/>
</attribute>
</class>
<class name="DirectedEnergyTargetEnergyDeposition"
inheritsFrom="root"
comment="DE energy depostion properties for a target entity. Section 6.2.20.4">
<attribute name="targetEntityID" comment="Unique ID of the target entity.">
<classref name="EntityID"/>
</attribute>
<attribute name="padding" comment="padding">
<primitive type="unsigned short" defaultValue="0"/>
</attribute>
<attribute name="peakIrradiance" comment="Peak irrandiance">
<primitive type="float"/>
</attribute>
</class>
<!-- Electronic warfare records -->
<class name="BlankingSector" inheritsFrom="root"
comment="The Blanking Sector attribute record may be used to convey persistent areas within a scan volume where emitter power for a specific active emitter beam is reduced to an insignificant value. Section 6.2.21.2">
<attribute name="recordType" commment="record type">
<primitive type="int" defaultValue="3500"/>
</attribute>
<attribute name="recordLength" commment="the length of the Blanking Sector attribute record in octets.">
<primitive type="unsigned short" defaultValue="40"/>
</attribute>
<attribute name="padding" commment="Pading">
<primitive type="unsigned short" defaultValue="0"/>
</attribute>
<attribute name="emitterNumber" commment="indicates the emitter system for which the blanking sector values are applicable">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="beamNumber" commment="indicates the beam for which the blanking sector values are applicable.">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="stateIndicator" commment="indicate if blanking sector data have changed since issuance of the last Blanking Sector attribute record for this beam, if the Blanking Sector attribute record beam has ceased">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="padding2" commment="Padding">
<primitive type="unsigned byte" defaultValue="0"/>
</attribute>
<attribute name="leftAzimuth" commment="This field is provided to indicate the left-most azimuth (clockwise in radians) for which emitted power is reduced. This angle is measured in the X-Y plane of the radar's entity coor- dinate system (see 1.4.3). The range of permissible values is 0 to 2PI, with zero pointing in the X- direction. ">
<primitive type="float"/>
</attribute>
<attribute name="rightAzimuth" commment="Indicate the right-most azimuth (clockwise in radians) for which emitted power is reduced. This angle is measured in the X-Y plane of the radar's entity coordinate system (see 1.4.3). The range of permissible values is 0 to 2PI , with zero pointing in the X- direction.">
<primitive type="float"/>
</attribute>
<attribute name="lowerElevation" commment="This field is provided to indicate the lowest elevation (in radians) for which emit- ted power is reduced. This angle is measured positive upward with respect to the X-Y plane of the radar's entity coordinate system (see 1.4.3). The range of permissible values is -PI/2 to PI/2">
<primitive type="float"/>
</attribute>
<attribute name="upperElevation" commment="This field is provided to indicate the highest elevation (in radians) for which emitted power is reduced. This angle is measured positive upward with respect to the X-Y plane of the radar's entitycoordinatesystem(see1.4.3). The range of permissible values is -PI/2 to PI/2">
<primitive type="float"/>
</attribute>
<attribute name="residualPower" commment="This field shall specify the residual effective radiated power in the blanking sector in dBm. ">
<primitive type="float"/>
</attribute>
<attribute name="padding3" commment="Padding, 32 bits">
<primitive type="int" defaultValue="0"/>
</attribute>
<attribute name="padding4" commment="Padding, 32 bits">
<primitive type="int" defaultValue="0"/>
</attribute>
</class>
<class name="AngleDeception"
inheritsFrom="root"
comment="The Angle Deception attribute record may be used to communicate discrete values that are associated with angle deception jamming that cannot be referenced to an emitter mode. The values provided in the record records (provided in the associated Electromagnetic Emission PDU). (The victim radar beams are those that are targeted by the jammer.) Section 6.2.21.2.2">
<attribute name="recordType" commment="record type">
<primitive type="unsigned int" defaultValue="3501"/>
</attribute>
<attribute name="recordLength" commment="the length of the record in octets.">
<primitive type="unsigned short" defaultValue="48"/>
</attribute>
<attribute name="padding" commment="padding">
<primitive type="unsigned short" defaultValue="0"/>
</attribute>
<attribute name="emitterNumber" commment="indicates the emitter system for which the angle deception values are applicable. ">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="beamNumber" commment="indicates the jamming beam for which the angle deception values are applicable.">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="stateIndicator" commment="This field shall be used to indicate if angle deception data have changed since issuance of the last Angle Deception attribute record for this beam, if the Angle Deception attribute record is part of a heartbeat update to meet periodic update requirements or if the angle deception data for the beam has ceased.">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="padding2" commment="padding">
<primitive type="unsigned byte" defaultValue="0"/>
</attribute>
<attribute name="azimuthOffset" commment="This field indicates the relative azimuth angle at which the deceptive radar returns are centered. This angle is measured in the X-Y plane of the victim radar's entity coordinate system (see 1.4.3). This angle is measured in radians from the victim radar entity's azimuth for the true jam- mer position to the center of the range of azimuths in which deceptive radar returns are perceived as shown in Figure 43. Positive and negative values indicate that the perceived positions of the jammer are right and left of the true position of the jammer, respectively. The range of permissible values is -PI to PI">
<primitive type="float"/>
</attribute>
<attribute name="azimuthWidth" commment="indicates the range of azimuths (in radians) through which the deceptive radar returns are perceived, centered on the azimuth offset as shown in Figure 43. The range of permissible values is 0 to 2PI radians">
<primitive type="float"/>
</attribute>
<attribute name="azimuthPullRate" commment="This field indicates the rate (in radians per second) at which the Azimuth Offset value is changing. Positive and negative values indicate that the Azimuth Offset is moving to the right or left, respectively.">
<primitive type="float"/>
</attribute>
<attribute name="azimuthPullAcceleration" commment="This field indicates the rate (in radians per second squared) at which the Azimuth Pull Rate value is changing. Azimuth Pull Acceleration is defined as positive to the right and negative to the left.">
<primitive type="float"/>
</attribute>
<attribute name="elevationOffset" commment="This field indicates the relative elevation angle at which the deceptive radar returns begin. This angle is measured as an angle with respect to the X-Y plane of the victim radar's entity coordinate system (see 1.4.3). This angle is measured in radians from the victim radar entity's eleva- tion for the true jammer position to the center of the range of elevations in which deceptive radar returns are perceived as shown in Figure 44. Positive and negative values indicate that the perceived positions of the jammer are above and below the true position of the jammer, respectively. The range of permissible values is -PI/2 to PI/2">
<primitive type="float"/>
</attribute>
<attribute name="elevationWidth" commment="This field indicates the range of elevations (in radians) through which the decep- tive radar returns are perceived, centered on the elevation offset as shown in Figure 44. The range of permissible values is 0 to PI radians">
<primitive type="float"/>
</attribute>
<attribute name="elevationPullRate" commment="This field indicates the rate (in radians per second) at which the Elevation Off- set value is changing. Positive and negative values indicate that the Elevation Offset is moving up or down, respectively. ">
<primitive type="float"/>
</attribute>
<attribute name="elevationPullAcceleration" commment="This field indicates the rate (in radians per second squared) at which the Elevation Pull Rate value is changing. Elevation Pull Acceleration is defined as positive to upward and negative downward. ">
<primitive type="float"/>
</attribute>
<attribute name="padding3" commment="">
<primitive type="unsigned int" defaultValue="0"/>
</attribute>
</class>
<class name="FalseTargetsAttribute" inheritsFrom="root"
comment="The False Targets attribute record shall be used to communicate discrete values that are associated with false targets jamming that cannot be referenced to an emitter mode. The values provided in the False Targets attri- bute record shall be considered valid only for the victim radar beams listed in the jamming beam's Track/Jam Data records (provided in the associated Electromagnetic Emission PDU). Section 6.2.21.3">
<attribute name="recordType" commment="record type">
<primitive type="unsigned int" defaultValue="3502"/>
</attribute>
<attribute name="recordLength" commment="the length of the record in octets.">
<primitive type="unsigned short" defaultValue="40"/>
</attribute>
<attribute name="padding" commment="padding">
<primitive type="unsigned short" defaultValue="0"/>
</attribute>
<attribute name="emitterNumber" commment="This field indicates the emitter system generating the false targets.">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="beamNumber" commment="This field indicates the jamming beam generating the false targets. ">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="stateIndicator" commment="This field shall be used to indicate if false target data have changed since issuance of the last False Targets attribute record for this beam, if the False Targets attribute record is part of a heartbeat update to meet periodic update requirements or if false target data for the beam has ceased.">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="padding2" commment="padding">
<primitive type="unsigned byte" defaultValue="0"/>
</attribute>
<attribute name="falseTargetCount" commment="This field indicates the jamming beam generating the false targets. ">
<primitive type="unsigned short"/>
</attribute>
<attribute name="walkSpeed" commment="This field shall specify the speed (in meters per second) at which false targets move toward the victim radar. Negative values shall indicate a velocity away from the victim radar. ">
<primitive type="float"/>
</attribute>
<attribute name="walkAcceleration" commment="This field shall specify the rate (in meters per second squared) at which false tar- gets accelerate toward the victim radar. Negative values shall indicate an acceleration direction away from the victim radar. ">
<primitive type="float"/>
</attribute>
<attribute name="maximumWalkDistance" commment="This field shall specify the distance (in meters) that a false target is to walk before it pauses in range. ">
<primitive type="float"/>
</attribute>
<attribute name="keepTime" commment="This field shall specify the time (in seconds) that a false target is to be held at the Maxi- mum Walk Distance before it resets to its initial position. ">
<primitive type="float"/>
</attribute>
<attribute name="echoSpacing" commment="TThis field shall specify the distance between false targets in meters. Positive values for this field shall indicate that second and subsequent false targets are initially placed at increasing ranges from the victim radar. ">
<primitive type="float"/>
</attribute>
</class>
<class name="EEFundamentalParameterData" inheritsFrom="root"
comment="Contains electromagnetic emmission regeneration parameters that are variable throught a scenario. Section 6.2.22.">
<attribute name="frequency" comment="center frequency of the emission in hertz.">
<primitive type="float"/>
</attribute>
<attribute name="frequencyRange" comment="Bandwidth of the frequencies corresponding to the fequency field.">
<primitive type="float"/>
</attribute>
<attribute name="effectiveRadiatedPower" comment="Effective radiated power for the emission in DdBm. For a radar noise jammer, indicates the peak of the transmitted power.">
<primitive type="float"/>
</attribute>
<attribute name="pulseRepetitionFrequency" comment="Average repetition frequency of the emission in hertz.">
<primitive type="float"/>
</attribute>
<attribute name="pulseWidth" comment="Average pulse width of the emission in microseconds.">
<primitive type="float"/>
</attribute>
</class>
<class name="EmitterSystem" inheritsFrom="root"
comment="This field shall specify information about a particular emitter system. Section 6.2.23.">
<attribute name="emitterName" comment="Name of the emitter, 16 bit enumeration">
<primitive type= "unsigned short"/>
</attribute>
<attribute name="emitterFunction" comment="function of the emitter, 8 bit enumeration">
<primitive type= "unsigned byte"/>
</attribute>
<attribute name="emitterIDNumber" comment="emitter ID, 8 bit enumeration">
<primitive type= "unsigned byte"/>
</attribute>
</class>
<class name="EngineFuel"
inheritsFrom="root"
comment="Information about an entity's engine fuel. Section 6.2.24.">
<attribute name="fuelQuantity" comment="Fuel quantity, units specified by next field">
<primitive type= "unsigned int"/>
</attribute>
<attribute name="fuelMeasurementUnits" comment="Units in which the fuel is measured">
<primitive type= "unsigned byte"/>
</attribute>
<attribute name="fuelType" comment="Type of fuel">
<primitive type= "unsigned byte"/>
</attribute>
<attribute name="fuelLocation" comment="Location of fuel as related to entity. See section 14 of EBV document">
<primitive type= "unsigned byte"/>
</attribute>
<attribute name="padding" comment="padding">
<primitive type= "unsigned byte" defaultValue="0"/>
</attribute>
</class>
<class name="EngineFuelReload"
inheritsFrom="root"
comment="For each type or location of engine fuell, this record specifies the type, location, fuel measurement units, and reload quantity and maximum quantity. Section 6.2.25.">
<attribute name="standardQuantity" comment="standard quantity of fuel loaded">
<primitive type= "unsigned int"/>
</attribute>
<attribute name="maximumQuantity" comment="maximum quantity of fuel loaded">
<primitive type= "unsigned int"/>
</attribute>
<attribute name="standardQuantityReloadTime" comment="seconds normally required to to reload standard qty">
<primitive type= "unsigned int"/>
</attribute>
<attribute name="maximumQuantityReloadTime" comment="seconds normally required to to reload maximum qty">
<primitive type= "unsigned int"/>
</attribute>
<attribute name="fuelMeasurmentUnits" comment="Units of measure">
<primitive type= "unsigned byte"/>
</attribute>
<attribute name="fuelLocation" comment="fuel location as related to the entity">
<primitive type= "unsigned byte"/>
</attribute>
<attribute name="padding" comment="padding">
<primitive type= "unsigned byte" defaultValue="0"/>
</attribute>
</class>
<class name="EntityIdentifier"
inheritsFrom="root"
comment="Entity Identifier. Unique ID for entities in the world. Consists of an simulation address and a entity number. Section 6.2.28.">
<attribute name="simulationAddress" comment="Site and application IDs">
<classref name="SimulationAddress"/>
</attribute>
<attribute name="entityNumber" comment="Entity number">
<primitive type= "unsigned short"/>
</attribute>
</class>
<class name="EntityID" inheritsFrom="root" comment="more laconically named EntityIdentifier">
<attribute name="siteID" comment="Site ID">
<primitive type= "unsigned short"/>
</attribute>
<attribute name="applicationID" comment="application number ID">
<primitive type= "unsigned short"/>
</attribute>
<attribute name="entityID" comment="Entity number ID">
<primitive type= "unsigned short"/>
</attribute>
</class>
<class name="EntityMarking" inheritsFrom="root"
comment="Specifies the character set used inthe first byte, followed by 11 characters of text data. Section 6.29">
<attribute name="characterSet" comment="The character set">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="characters" comment="The characters">
<list type="fixed" length="11" couldBeString="true">
<primitive type="byte"/>
</list>
</attribute>
</class>
<class name="EntityType" inheritsFrom="root" comment="Identifies the type of Entity">
<attribute name="entityKind" comment="Kind of entity">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="domain" comment="Domain of entity (air, surface, subsurface, space, etc)">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="country" comment="country to which the design of the entity is attributed" >
<primitive type="unsigned short"/>
</attribute>
<attribute name="category" comment="category of entity">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="subcategory" comment="subcategory of entity">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="specific" comment="specific info based on subcategory field. Renamed from specific because that is a reserved word in SQL.">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="extra">
<primitive type="unsigned byte"/>
</attribute>
</class>
<class name="EnvironmentGeneral" inheritsFrom="root"
comment=" Information about a geometry, a state associated with a geometry, a bounding volume, or an associated entity ID. NOTE: this class requires hand coding. 6.2.31">
<attribute name="environmentType" comment="Record type">
<primitive type="unsigned int"/>
</attribute>
<attribute name="length" comment="length, in bits">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="index" comment="Identify the sequentially numbered record index">
<primitive type="unsigned byte"/>
</attribute>
<attribute name="padding1" comment="padding">
<primitive type="unsigned byte" initialValue="0"/>
</attribute>
<attribute name="geometry" comment="Geometry or state record">
<primitive type="unsigned byte" initialValue="0"/>
</attribute>
<attribute name="padding2" comment="padding to bring the total size up to a 64 bit boundry">