限制和提示
以下限制适用于 AUTOSAR 组件创建。
无法在 MAT 文件中保存导入器对象
如果您尝试将 arxml.importer 对象保存在 MAT 文件中,您将丢失 AUTOSAR 信息。如果您重新加载该 MAT 文件,则对象为空(句柄 = –1),原因在于构成 arxml.importer 对象的 Java® 对象。
ApplicationRecordDataType 和 ImplementationDataType 元素名称必须匹配
导入的 ApplicationRecordDataType 的元素名称必须与对应的 ImplementationDataType 的元素名称匹配。例如,如果导入的 ApplicationRecordDataType 具有元素 PVAL_1 而对应的 ImplementationDataType 具有元素 IPVAL_1,则软件会标记不匹配并指示您重命名元素以使其匹配。