Ejemplo n.º 1
0
 def __init__(self, defaultValue=0):
     super().__init__("sLZA_HEADER")
     self.e1MessageTypeNumber = E1_LZA_MESSAGE_TYPE(
         E1_LZA_MESSAGE_TYPE.LZA_MESSAGE_TYPE_T10)
     self.vAddType("e1MessageTypeNumber")
     self.sOrigin = sLZA_HEADER_ORIGIN()
     self.vAddType("sOrigin")
     self.u1NetIdentifier = clsAdcsBaseType("U1", 255)
     self.u1NetIdentifier.vSetMin(255)
     self.u1NetIdentifier.vSetMax(255)
     self.vAddType("u1NetIdentifier")
     self.e1PrecedenceLevel = E1_LZA_PRECEDENCE_LEVEL(
         E1_LZA_PRECEDENCE_LEVEL.LZA_PRECEDENCE_LEVEL_ROUTINE)
     self.vAddType("e1PrecedenceLevel")
     self.u1ExpiryTimeLza15Second = clsAdcsBaseType("U1", 0)
     self.u1ExpiryTimeLza15Second.vSetMin(0)
     self.u1ExpiryTimeLza15Second.vSetMax(255)
     self.vAddType("u1ExpiryTimeLza15Second")
     self.u2Date = clsAdcsBaseType("U2", 0)
     self.u2Date.vSetMin(1)
     self.u2Date.vSetMax(366)
     self.vAddType("u2Date")
     self.sTransmissionTime = sLZA_HEADER_TIME()
     self.vAddType("sTransmissionTime")
     self.u2SerialNumber = clsAdcsBaseType("U2", 0)
     self.u2SerialNumber.vSetMin(1)
     self.u2SerialNumber.vSetMax(65535)
     self.vAddType("u2SerialNumber")
     self.u1NumberOfDestinations = clsAdcsBaseType("U1", 0)
     self.u1NumberOfDestinations.vSetMin(0)
     self.u1NumberOfDestinations.vSetMax(8)
     self.vAddType("u1NumberOfDestinations")
     self.asDestinations = clsAdcsStructArrayType(
         "sLZA_HEADER_DESTINATION:8")
     self.vAddType("asDestinations")
Ejemplo n.º 2
0
 def __init__(self, defaultValue=0):
     super().__init__("sADCS_AIR_LANE")
     self.u4AirLaneID = clsAdcsBaseType("U4", 0)
     self.vAddType("u4AirLaneID")
     self.e1AirLaneType = E1_ADCS_AIR_LANE_TYPE(E1_ADCS_AIR_LANE_TYPE.FLIGHT_LANE)
     self.vAddType("e1AirLaneType")
     self.u4ParentAirZoneID = clsAdcsBaseType("U4", 0)
     self.vAddType("u4ParentAirZoneID")
     self.sCallsign = sADCS_STRING24()
     self.vAddType("sCallsign")
     self.sDescription = sADCS_STRING24()
     self.vAddType("sDescription")
     self.u4TemplateCode = clsAdcsBaseType("U4", 0x01)
     self.vAddType("u4TemplateCode")
     self.f8AltitudeLowerLimitM = clsAdcsBaseType("F8", 0.0)
     self.vAddType("f8AltitudeLowerLimitM")
     self.f8AltitudeUpperLimitM = clsAdcsBaseType("F8", 0.0)
     self.vAddType("f8AltitudeUpperLimitM")
     self.u4SpeedMps = clsAdcsBaseType("U4", 0)
     self.vAddType("u4SpeedMps")
     self.e1Direction = E1_ADCS_AIR_LANE_DIRECTION_TYPE(E1_ADCS_AIR_LANE_DIRECTION_TYPE.DIRECTION_FROM_WAYPOINT_1)
     self.vAddType("e1Direction")
     self.sScheduled = sADCS_SCHEDULED_INFO()
     self.vAddType("sScheduled")
     self.e1EntryMethod = E1_ADCS_AIR_LANE_ENTRY_METHOD(E1_ADCS_AIR_LANE_ENTRY_METHOD.COORD_POINT_CENTRE_LINE)
     self.vAddType("e1EntryMethod")
     self.u4AirLanePointCount = clsAdcsBaseType("U4", 0)
     self.u4AirLanePointCount.vSetMin(2)
     self.u4AirLanePointCount.vSetMax(10)
     self.vAddType("u4AirLanePointCount")
     self.asAirLanePoints = clsAdcsStructArrayType("sADCS_AIR_LANE_POINT:10")
     self.vAddType("asAirLanePoints")
     self.e1Delete = E1_ADCS_BOOLEAN(E1_ADCS_BOOLEAN.ADCS_BOOLEAN_FALSE)
     self.vAddType("e1Delete")
Ejemplo n.º 3
0
 def __init__(self, defaultValue=0):
     super().__init__("sLZA_C04")
     self.sLzaHeader = sLZA_HEADER()
     self.vAddType("sLzaHeader")
     self.u1NumberOfTracks = clsAdcsBaseType("U1", 1)
     self.u1NumberOfTracks.vSetMin(1)
     self.u1NumberOfTracks.vSetMax(16)
     self.vAddType("u1NumberOfTracks")
     self.asBearingTrack = clsAdcsStructArrayType("sLZA_BEARING_TRACK:16")
     self.vAddType("asBearingTrack")
Ejemplo n.º 4
0
 def __init__(self, defaultValue=0):
     super().__init__("sADCS_EFFECTOR")
     self.u4TrackNumber = clsAdcsBaseType("U4", 0)
     self.vAddType("u4TrackNumber")
     self.u4PeTrackNumber = clsAdcsBaseType("U4", 0)
     self.vAddType("u4PeTrackNumber")
     self.u1EffectorType = clsAdcsBaseType("U1", 0)
     self.vAddType("u1EffectorType")
     self.sCallsign = sADCS_STRING24()
     self.vAddType("sCallsign")
     self.sDescription = sADCS_STRING24()
     self.vAddType("sDescription")
     self.u1Grouping = clsAdcsBaseType("U1", 0)
     self.vAddType("u1Grouping")
     self.sKinematics = sADCS_POINT_KINEMATICS()
     self.vAddType("sKinematics")
     self.u4Aor = clsAdcsBaseType("U4", 0)
     self.vAddType("u4Aor")
     self.u4Layer = clsAdcsBaseType("U4", 0)
     self.vAddType("u4Layer")
     self.sAmmunition = sADCS_AMMO()
     self.vAddType("sAmmunition")
     self.sPrimaryFireArc = sADCS_ARC()
     self.vAddType("sPrimaryFireArc")
     self.u4NoFireArcCount = clsAdcsBaseType("U4", 0)
     self.u4NoFireArcCount.vSetMax(10)
     self.vAddType("u4NoFireArcCount")
     self.asNoFireArcs = clsAdcsStructArrayType("sADCS_ARC:10")
     self.vAddType("asNoFireArcs")
     self.u4SurveillanceArcCount = clsAdcsBaseType("U4", 0)
     self.u4SurveillanceArcCount.vSetMax(10)
     self.vAddType("u4SurveillanceArcCount")
     self.asSurveillanceFireArcs = clsAdcsStructArrayType("sADCS_ARC:10")
     self.vAddType("asSurveillanceFireArcs")
     self.e1Availability = E1_ADCS_AVAILABILITY_STATE(E1_ADCS_AVAILABILITY_STATE.AVAILABILITY_STATE_OPERATIONAL)
     self.vAddType("e1Availability")
Ejemplo n.º 5
0
 def __init__(self, defaultValue=0):
     super().__init__("sADCS_IFF_LINE")
     self.u4IffLineID = clsAdcsBaseType("U4", 0)
     self.vAddType("u4IffLineID")
     self.f8Interval = clsAdcsBaseType("F8", 0.0)
     self.vAddType("f8Interval")
     self.sIdentification = sADCS_IDENTIFICATION()
     self.vAddType("sIdentification")
     self.sScheduled = sADCS_SCHEDULED_INFO()
     self.vAddType("sScheduled")
     self.u4LinePointCount = clsAdcsBaseType("U4", 0)
     self.u4LinePointCount.vSetMin(2)
     self.u4LinePointCount.vSetMax(10)
     self.vAddType("u4LinePointCount")
     self.asLinePoints = clsAdcsStructArrayType("sADCS_ECEF:10")
     self.vAddType("asLinePoints")
     self.e1Delete = E1_ADCS_BOOLEAN(E1_ADCS_BOOLEAN.ADCS_BOOLEAN_FALSE)
     self.vAddType("e1Delete")
Ejemplo n.º 6
0
 def __init__(self, defaultValue=0):
     super().__init__("sADCS_FLIGHT_PLAN")
     self.u4TrackNumber = clsAdcsBaseType("U4", 0)
     self.vAddType("u4TrackNumber")
     self.sClassification = sADCS_CLASSIFICATION()
     self.vAddType("sClassification")
     self.sIdentification = sADCS_IDENTIFICATION()
     self.vAddType("sIdentification")
     self.sTailNumber = sADCS_STRING24()
     self.vAddType("sTailNumber")
     self.sCommsFreq = sADCS_STRING24()
     self.vAddType("sCommsFreq")
     self.sScheduled = sADCS_SCHEDULED_INFO()
     self.vAddType("sScheduled")
     self.u4WaypointCount = clsAdcsBaseType("U4", 0)
     self.u4WaypointCount.vSetMin(2)
     self.u4WaypointCount.vSetMax(10)
     self.vAddType("u4WaypointCount")
     self.asWaypoints = clsAdcsStructArrayType("sADCS_FLIGHT_PLAN_WAYPOINT:10")
     self.vAddType("asWaypoints")
     self.e1Delete = E1_ADCS_BOOLEAN(E1_ADCS_BOOLEAN.ADCS_BOOLEAN_FALSE)
     self.vAddType("e1Delete")
Ejemplo n.º 7
0
 def __init__(self, defaultValue=0):
     super().__init__("sADCS_AIR_ZONE_POLYGON")
     self.u4AirZoneID = clsAdcsBaseType("U4", 0)
     self.vAddType("u4AirZoneID")
     self.e1AirZoneType = E1_ADCS_AIR_ZONE_TYPE(E1_ADCS_AIR_ZONE_TYPE.RESTRICTED_AIR_ZONE)
     self.vAddType("e1AirZoneType")
     self.sCallsign = sADCS_STRING8()
     self.vAddType("sCallsign")
     self.sDescription = sADCS_STRING24()
     self.vAddType("sDescription")
     self.f8AltitudeLowerLimitM = clsAdcsBaseType("F8", 0.0)
     self.vAddType("f8AltitudeLowerLimitM")
     self.f8AltitudeUpperLimitM = clsAdcsBaseType("F8", 0.0)
     self.vAddType("f8AltitudeUpperLimitM")
     self.sScheduled = sADCS_SCHEDULED_INFO()
     self.vAddType("sScheduled")
     self.u4AnchorPointCount = clsAdcsBaseType("U4", 0)
     self.u4AnchorPointCount.vSetMin(2)
     self.u4AnchorPointCount.vSetMax(10)
     self.vAddType("u4AnchorPointCount")
     self.asPolyPoints = clsAdcsStructArrayType("sADCS_ECEF:10")
     self.vAddType("asPolyPoints")
     self.e1Delete = E1_ADCS_BOOLEAN(E1_ADCS_BOOLEAN.ADCS_BOOLEAN_FALSE)
     self.vAddType("e1Delete")