Skip to content

Commit

Permalink
fix qualityResultFile class and reference
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Oliveros committed Jan 24, 2024
1 parent bb94ce9 commit 1e91c12
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
require_relative 'module_scope'
require_relative 'module_spatialRepresentation'
require_relative 'module_resultFile'
require_relative 'module_resourceFormat'
require_relative 'module_resultContentDescription'
require_relative 'module_QualityResultFile'
require_relative 'module_format'
require_relative 'module_coverageDescription'

module ADIWG
module Mdtranslator
Expand Down Expand Up @@ -41,19 +41,19 @@ def self.unpack(hResult, responseObj)

# resultContent
if hResult.has_key?('resultContentDescription')
intResult[:resultContentDescription] = ResultContentDescription.unpack(hResult['resultContentDescription'], responseObj)
intResult[:resultContentDescription] = CoverageDescription.unpack(hResult['resultContentDescription'], responseObj)
end


# resourceFormat
if hResult.has_key?('resourceFormat')
intResult[:resourceFormat] = ResourceFormat.unpack(hResult['resourceFormat'], responseObj)
intResult[:resourceFormat] = Format.unpack(hResult['resourceFormat'], responseObj)
end


# resultFile
if hResult.has_key?('resultFile')
intResult[:resultFile] = ResultFile.unpack(hResult['resultFile'], responseObj)
intResult[:resultFile] = QualiltyResultFile.unpack(hResult['resultFile'], responseObj)
end

return intResult
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Mdtranslator
module Readers
module MdJson

module ResultFile
module QualiltyResultFile

def self.unpack(hContent, responseObj)
@MessagePath = ADIWG::Mdtranslator::Readers::MdJson::MdJson
Expand Down

0 comments on commit 1e91c12

Please sign in to comment.