Using the following as inputs, the generated Java file has some compile errors for the latest MDCF.
package PCAShutoffApp_Interface
public
with PCAShutoffApp_Types, MAP_Properties;
device PCAShutoffApp_Interface
features
etco2_get_responder: out event data port PCAShutoffApp_Types::etco2{MAP_Properties::Output_Rate => 200 ms .. 400 ms;};
etco2_per_publisher: out event data port PCAShutoffApp_Types::etco2{MAP_Properties::Output_Rate => 200 ms .. 400 ms;};
respire_get_responder: out event data port PCAShutoffApp_Types::respire{MAP_Properties::Output_Rate => 200 ms .. 400 ms;};
respire_per_publisher: out event data port PCAShutoffApp_Types::respire{MAP_Properties::Output_Rate => 200 ms .. 400 ms;};
spo2_get_responder: out event data port PCAShutoffApp_Types::spo2{MAP_Properties::Output_Rate => 200 ms .. 400 ms;};
spo2_per_publisher: out event data port PCAShutoffApp_Types::spo2{MAP_Properties::Output_Rate => 200 ms .. 400 ms;};
stop_act_executor: out event data port PCAShutoffApp_Types::stop{MAP_Properties::Output_Rate => 200 ms .. 400 ms;};
properties
MAP_Properties::Component_Type => actuator;
end PCAShutoffApp_Interface;
device implementation PCAShutoffApp_Interface.impl
end PCAShutoffApp_Interface.impl;
end PCAShutoffApp_Interface;
package PCAShutoffApp_Types
public
with Data_Model, IEEE11073_Nomenclature;
data etco2
properties
Data_Model::Data_Representation => Integer;
IEEE11073_Nomenclature::OID => IEEE11073_Nomenclature::MDC_CONC_AWAY_CO2_ET;
end etco2;
data respire
properties
Data_Model::Data_Representation => Integer;
IEEE11073_Nomenclature::OID => IEEE11073_Nomenclature::MDC_CO2_RESP_RATE;
end respire;
data spo2
properties
Data_Model::Data_Representation => Integer;
IEEE11073_Nomenclature::OID => IEEE11073_Nomenclature::MDC_PULS_OXIM_SAT_O2;
end spo2;
data stop
properties
Data_Model::Data_Representation => Integer;
IEEE11073_Nomenclature::OID => IEEE11073_Nomenclature::MDC_PCA_STOP;
end stop;
Using the following as inputs, the generated Java file has some compile errors for the latest MDCF.
package PCAShutoffApp_Interface public with PCAShutoffApp_Types, MAP_Properties;
device PCAShutoffApp_Interface features etco2_get_responder: out event data port PCAShutoffApp_Types::etco2{MAP_Properties::Output_Rate => 200 ms .. 400 ms;}; etco2_per_publisher: out event data port PCAShutoffApp_Types::etco2{MAP_Properties::Output_Rate => 200 ms .. 400 ms;}; respire_get_responder: out event data port PCAShutoffApp_Types::respire{MAP_Properties::Output_Rate => 200 ms .. 400 ms;}; respire_per_publisher: out event data port PCAShutoffApp_Types::respire{MAP_Properties::Output_Rate => 200 ms .. 400 ms;}; spo2_get_responder: out event data port PCAShutoffApp_Types::spo2{MAP_Properties::Output_Rate => 200 ms .. 400 ms;}; spo2_per_publisher: out event data port PCAShutoffApp_Types::spo2{MAP_Properties::Output_Rate => 200 ms .. 400 ms;}; stop_act_executor: out event data port PCAShutoffApp_Types::stop{MAP_Properties::Output_Rate => 200 ms .. 400 ms;}; properties MAP_Properties::Component_Type => actuator; end PCAShutoffApp_Interface;
device implementation PCAShutoffApp_Interface.impl end PCAShutoffApp_Interface.impl;
end PCAShutoffApp_Interface;
package PCAShutoffApp_Types public with Data_Model, IEEE11073_Nomenclature;
data etco2 properties Data_Model::Data_Representation => Integer; IEEE11073_Nomenclature::OID => IEEE11073_Nomenclature::MDC_CONC_AWAY_CO2_ET; end etco2;
data respire properties Data_Model::Data_Representation => Integer; IEEE11073_Nomenclature::OID => IEEE11073_Nomenclature::MDC_CO2_RESP_RATE; end respire;
data spo2 properties Data_Model::Data_Representation => Integer; IEEE11073_Nomenclature::OID => IEEE11073_Nomenclature::MDC_PULS_OXIM_SAT_O2; end spo2;
data stop properties Data_Model::Data_Representation => Integer; IEEE11073_Nomenclature::OID => IEEE11073_Nomenclature::MDC_PCA_STOP; end stop;
end PCAShutoffApp_Types;