在ETAS INCA中,哪些类对应于每种类型的数据库项? [英] In ETAS INCA, what classes correspond to each type of database item?

查看:83
本文介绍了在ETAS INCA中,哪些类对应于每种类型的数据库项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ETAS INCA 是许多汽车行业动力总成校准工程师的主要动力-对于良好的文本编辑器或版本控制系统,对于通用软件开发人员而言,对于校准工程师而言至关重要.但是其API文档还有很多不足之处.

ETAS INCA is the workhorse for many powertrain calibration engineers in the automotive industry--it's as essential to a calibration engineer as a good text editor or version control system is to a general-purpose software developer. But its API documentation leaves a lot to be desired.

是否有人指南显示INCA GUI中的数据库实体如何映射到INCA COM/.NET API中的类?

Does anyone have a guide that shows how the database entities in the INCA GUI map to classes in the INCA COM/.NET API?

推荐答案

INCA API的结构类似于用户使用GUI与INCA交互时所熟悉的概念.广义上讲,您可以通过代码以编程方式完成大部分的GUI任务.话虽如此,INCA文档中的连接并不总是很清楚.

The INCA API is structured to resemble the concepts that users are familiar with when they interact with INCA using the GUI. Broadly speaking, you can do most of your GUI tasks programmatically through code. That being said, the connection is not always clear in the INCA documentation.

INCA API将类归为两个名称空间:

The INCA API groups classes under two namespaces:

此命名空间中的类封装了与实验相关的任务,例如读取测量值和设置校准值.当您查看一个开放的实验时,您将看到这些对象正在运行".这是一个相当广泛的名称空间,因此我将其保存以备将来使用.

Classes in this namespace encapsulate experiment-related tasks, such as reading measurements and setting calibration values. You will see these objects "in action" when you are viewing an open experiment. This is a pretty extensive namespace, so I will save it for a future post.

此命名空间中的类封装INCA数据库任务,例如复制或重命名项目.您将在INCA数据库主窗口中看到这些对象正在使用".

Classes in this namespace encapsulate INCA database tasks, such as copying or renaming items. You will see these objects "in action" from the main INCA database window.

要在家中进行跟踪,请启动INCA,然后打开默认的"DB"演示数据库.下面的屏幕截图来自INCA 7,但是对于下面的图像,我已经确认底层API可以追溯到INCA 5.4.

To follow along at home, fire up INCA, and then open the default "DB" demo database. The screen shots below are from INCA 7, but for the images below, I have confirmed that the underlying API is nearly identical going back to INCA 5.4.

文件夹(例如用户A",演示"和度量目录")由 IncaFolder 类表示.

Folders like "USER A," "Demo," and "Measure Catalog," are represented by the IncaFolder class.

实验(如演示配置1"和演示配置2")由 ExperimentEnvironment 类表示.

Experiments like "demo configuration 1" and "demo configuration 2" are represented by the ExperimentEnvironment class.

ECU项目(例如"Demo03")由 Asap2Project 类表示.

ECU-Projects like "Demo03" are represented by the Asap2Project class.

ECU文档似乎没有包含在此命名空间中.否则我将编辑答案.

ECU Documentation does not appear to be covered in this namespace. I will edit my answer if I learn otherwise.

工作区(如工作区")由 HardwareConfiguration 类表示.

Workspaces like "Workspace" are represented by the HardwareConfiguration class.

单击ECU项目时,其内容将显示在数据集"窗格中.ECU项目仅包含两个类,如下所示.

When you click on an ECU-Project, the contents appear in the Datasets pane. An ECU-Project only contains two classes, as shown below.

文件夹 Asap2ProjectFolder 类表示.

数据集 Dataset 类表示.

要访问数据集和ECU项目的其他ASAP2元素,请调用 Asap2Project.Asap2ModuleForDataSet()方法.

To access the other ASAP2 elements of a DataSet and ECU-Project, call the Asap2Project.Asap2ModuleForDataSet() method.

这篇关于在ETAS INCA中,哪些类对应于每种类型的数据库项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆