This repository was archived by the owner on May 18, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -225,9 +225,7 @@ public function checkFMIVersion "Checks if the FMU version is supported."
225225 output Boolean success;
226226algorithm
227227 success := match (inFMIVersion)
228- case ("1" ) then true ;
229228 case ("1.0" ) then true ;
230- case ("2" ) then true ;
231229 case ("2.0" ) then true ;
232230 else false ;
233231 end match;
@@ -238,7 +236,6 @@ public function isFMIVersion10 "Checks if the FMI version is 1.0."
238236 output Boolean success;
239237algorithm
240238 success := match (inFMUVersion)
241- case ("1" ) then true ;
242239 case ("1.0" ) then true ;
243240 else false ;
244241 end match;
@@ -249,7 +246,6 @@ public function isFMIVersion20 "Checks if the FMI version is 2.0."
249246 output Boolean success;
250247algorithm
251248 success := match (inFMUVersion)
252- case ("2" ) then true ;
253249 case ("2.0" ) then true ;
254250 else false ;
255251 end match;
@@ -273,13 +269,9 @@ public function canExportFMU
273269 output Boolean success;
274270algorithm
275271 success := match (inFMUVersion, inFMIType)
276- case ("1" , "me" ) then true ;
277272 case ("1.0" , "me" ) then true ;
278- case ("2" , "me" ) then true ;
279273 case ("2.0" , "me" ) then true ;
280- case ("2" , "cs" ) then true ;
281274 case ("2.0" , "cs" ) then true ;
282- case ("2" , "me_cs" ) then true ;
283275 case ("2.0" , "me_cs" ) then true ;
284276 else false ;
285277 end match;
You can’t perform that action at this time.
0 commit comments