Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
Ocarina
Commits
ccffe5c8
Commit
ccffe5c8
authored
May 12, 2018
by
yoogx
Browse files
* Add FMI package, library of FMI2.0 data types
For openaadl/ocarina#157
parent
8365b26b
Changes
2
Hide whitespace changes
Inline
Side-by-side
resources/AADLv2/fmi.aadl
0 → 100644
View file @
ccffe5c8
package
FMI
--
This
package
defines
data
types
to
match
FMI2
.0
type
definiion
public
with
Base_Types
;
--
fmi2Real
:
double
precision
floating
-
point
data
type
data
fmi2Real
extends
Base_Types
::
Float_64
end
fmi2Real
;
--
fmi2Integer
:
basic
signed
integer
data
type
data
fmi2Integer
extends
Base_Types
::
Integer
end
fmi2Integer
;
--
fmi2Boolean
:
basic
signed
integer
data
type
data
fmi2Boolean
extends
Base_Types
::
Boolean
end
fmi2Boolean
;
--
fmi2Char
:
character
data
type
data
fmi2Char
extends
Base_Types
::
Character
end
fmi2Char
;
--
fmi2String
:
a
pointer
to
a
vector
of
fmi2Char
characters
--
(
'\0'
terminated
,
UTF8
encoded
)
data
fmi2String
extends
Base_Types
::
String
end
fmi2String
;
--
fmi2Byte
:
smallest
addressable
unit
of
the
machine
,
typically
--
one
byte
.
data
fmi2Byte
extends
Base_Types
::
Unsigned_8
end
fmi2Byte
;
end
FMI
;
\ No newline at end of file
resources/AADLv2/fmi.aadl.ignore
0 → 100644
View file @
ccffe5c8
Write
Preview
Supports
Markdown
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