Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
XSF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
fleet
formats
XSF
Commits
e9055030
Commit
e9055030
authored
Sep 17, 2020
by
Cyrille Poncelet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update XSF model (take into account for vendor descriptor)
parent
3ff6bb4c
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1075 additions
and
428 deletions
+1075
-428
sources/xsf.generator/XSFModel.json
sources/xsf.generator/XSFModel.json
+1072
-425
sources/xsf.generator/src/main/java/fr/ifremer/fr/xsf/generator/model/SCGroupAdapter.java
...ava/fr/ifremer/fr/xsf/generator/model/SCGroupAdapter.java
+3
-3
No files found.
sources/xsf.generator/XSFModel.json
View file @
e9055030
This diff is collapsed.
Click to expand it.
sources/xsf.generator/src/main/java/fr/ifremer/fr/xsf/generator/model/SCGroupAdapter.java
View file @
e9055030
...
...
@@ -64,7 +64,7 @@ public class SCGroupAdapter {
// Get import and layer declaration lines
SortedSet
<
String
>
classToImportSet
=
new
TreeSet
<>();
classToImportSet
.
add
(
"import fr.ifremer.globe.api.xsf.converter.common.
xsf.IDataProxy
;"
);
classToImportSet
.
add
(
"import fr.ifremer.globe.api.xsf.converter.common.
sounder.ISounderFile
;"
);
classToImportSet
.
add
(
"import fr.ifremer.globe.netcdf.ucar.DataType;"
);
classToImportSet
.
add
(
"import fr.ifremer.globe.netcdf.ucar.NCException;"
);
classToImportSet
.
add
(
"import fr.ifremer.globe.netcdf.ucar.NCGroup;"
);
...
...
@@ -118,12 +118,12 @@ public class SCGroupAdapter {
switch
(
group
.
getGroupCategory
())
{
case
eStandard:
sourceCode
.
add
(
String
.
format
(
"\n\tpublic %s(NCGroup parent, I
DataProxy
dataProxy) throws NCException {\n\t\tsuper(GROUP_NAME,parent);"
,
"\n\tpublic %s(NCGroup parent, I
SounderFile
dataProxy) throws NCException {\n\t\tsuper(GROUP_NAME,parent);"
,
getClassName
(
group
,
""
)));
break
;
case
eSensor:
sourceCode
.
add
(
String
.
format
(
"\n\tpublic %s(NCGroup parent, I
DataProxy dataProxy, String sensor_id) throws NCException {\n\t\tsuper(sensor_
id,parent);"
,
"\n\tpublic %s(NCGroup parent, I
SounderFile dataProxy, String id) throws NCException {\n\t\tsuper(
id,parent);"
,
getClassName
(
group
,
""
)));
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment