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
|
require 'xsd/qname'
# {urn:EDD:Edm}LocationInfo
class LocationInfo
@@schema_type = "LocationInfo"
@@schema_ns = "urn:EDD:Edm"
@@schema_element = [["bottomLeft", ["Coordinates", XSD::QName.new(nil, "bottomLeft")]], ["topRight", ["Coordinates", XSD::QName.new(nil, "topRight")]], ["startTime", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "startTime")]], ["endTime", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "endTime")]]]
attr_accessor :bottomLeft
attr_accessor :topRight
attr_accessor :startTime
attr_accessor :endTime
def initialize(bottomLeft = nil, topRight = nil, startTime = nil, endTime = nil)
@bottomLeft = bottomLeft
@topRight = topRight
@startTime = startTime
@endTime = endTime
end
end
# {urn:EDD:Edm}MapInfo
class MapInfo
@@schema_type = "MapInfo"
@@schema_ns = "urn:EDD:Edm"
@@schema_element = [["mapArea", ["MapArea", XSD::QName.new(nil, "mapArea")]], ["mapTime", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "mapTime")]], ["mapOptions", ["MapOptions", XSD::QName.new(nil, "mapOptions")]]]
attr_accessor :mapArea
attr_accessor :mapTime
attr_accessor :mapOptions
def initialize(mapArea = nil, mapTime = nil, mapOptions = nil)
@mapArea = mapArea
@mapTime = mapTime
@mapOptions = mapOptions
end
end
# {urn:EDD}ObjectIdentification
class ObjectIdentification
@@schema_type = "ObjectIdentification"
@@schema_ns = "urn:EDD"
@@schema_element = [["mmsiNumber", ["SOAP::SOAPString", XSD::QName.new(nil, "mmsiNumber")]], ["weight", ["SOAP::SOAPLong", XSD::QName.new(nil, "weight")]], ["length", ["SOAP::SOAPLong", XSD::QName.new(nil, "length")]], ["width", ["SOAP::SOAPLong", XSD::QName.new(nil, "width")]], ["draught", ["SOAP::SOAPLong", XSD::QName.new(nil, "draught")]]]
attr_accessor :mmsiNumber
attr_accessor :weight
attr_accessor :length
attr_accessor :width
attr_accessor :draught
def initialize(mmsiNumber = nil, weight = nil, length = nil, width = nil, draught = nil)
@mmsiNumber = mmsiNumber
@weight = weight
@length = length
@width = width
@draught = draught
end
end
# {urn:EDD}Coordinates
class Coordinates
@@schema_type = "Coordinates"
@@schema_ns = "urn:EDD"
@@schema_element = [["wgs84Latitude", ["SOAP::SOAPDouble", XSD::QName.new(nil, "wgs84Latitude")]], ["wgs84Longitude", ["SOAP::SOAPDouble", XSD::QName.new(nil, "wgs84Longitude")]]]
attr_accessor :wgs84Latitude
attr_accessor :wgs84Longitude
def initialize(wgs84Latitude = nil, wgs84Longitude = nil)
@wgs84Latitude = wgs84Latitude
@wgs84Longitude = wgs84Longitude
end
end
# {urn:EDD}LastKnownPosition
class LastKnownPosition
@@schema_type = "LastKnownPosition"
@@schema_ns = "urn:EDD"
@@schema_element = [["location", ["Coordinates", XSD::QName.new(nil, "location")]], ["timestamp", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "timestamp")]]]
attr_accessor :location
attr_accessor :timestamp
def initialize(location = nil, timestamp = nil)
@location = location
@timestamp = timestamp
end
end
# {urn:EDD}MapArea
class MapArea
@@schema_type = "MapArea"
@@schema_ns = "urn:EDD"
@@schema_element = [["bottomLeft", ["Coordinates", XSD::QName.new(nil, "bottomLeft")]], ["topRight", ["Coordinates", XSD::QName.new(nil, "topRight")]], ["width", ["SOAP::SOAPLong", XSD::QName.new(nil, "width")]], ["height", ["SOAP::SOAPLong", XSD::QName.new(nil, "height")]]]
attr_accessor :bottomLeft
attr_accessor :topRight
attr_accessor :width
attr_accessor :height
def initialize(bottomLeft = nil, topRight = nil, width = nil, height = nil)
@bottomLeft = bottomLeft
@topRight = topRight
@width = width
@height = height
end
end
# {urn:EDD}MapOptions
class MapOptions
@@schema_type = "MapOptions"
@@schema_ns = "urn:EDD"
@@schema_element = [["showCurrentData", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "showCurrentData")]], ["showWaveData", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "showWaveData")]], ["showWindData", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "showWindData")]]]
attr_accessor :showCurrentData
attr_accessor :showWaveData
attr_accessor :showWindData
def initialize(showCurrentData = nil, showWaveData = nil, showWindData = nil)
@showCurrentData = showCurrentData
@showWaveData = showWaveData
@showWindData = showWindData
end
end
|