AVEVA.Net 4 Database Interface数据库接口

AVEVA.Net 4 Database Interface提供了数据模型定义类,包括DbElementType、DbAttribute等,用于数据库访问、查询和修改。DbElementType用于定义元素类型,而DbAttribute则涉及属性元数据。该接口还支持过滤、迭代、Dabacon表访问和事件处理等功能。
摘要由CSDN通过智能技术生成

4 Database Interface数据库接口

The classes fall into the following groups:

这个类分成以下几组:

Data model definition classes
Basic database access, query and modification.
Filters and iterators
Dabacon table access
DB, MDB, Project access
Events and pseudo attribute plugins

数据模型定义类
基本数据库存取,查询和修改
过滤和循环
Dabacon表存取
数据库,数据库组,项目存取
事件和隐含属性

4.1 Data Model Definition Classes

The classes are:

DbElementType
DbAttribute
DbElementTypeInstance
DbAttributeInstance

这个类是:
数据库元素类型
数据库属性
数据库元素类型实例
数据库属性实例

4.1.1 DbElementType 数据库元素类型

Overview

There is a single class for all element types.

一个类包含所有元素类型。

The purpose of the class is to:

Instances of the class identify the element type. i.e. methods on other classes take a DbElementType as an argument rather than a string to denote an Element type. The DbElementType has ‘value’ semantics for comparison purposes. i.e. comparing of two DbElementTypes will always return true if they refer to the same type, even if they are different objects.
Access the metadata associated with element types.
External to PDMS/Marine, the hash value can be used to uniquely identify an Element type. The hash value is a 32 bit integer.

这个类的用途是:
这个类的实例确定元素类型,比如在其他类的方法中调用一个DbElementType作为参数而不是一个字符串来表示一个元素类型。这个DbElementType可以用于比较,例如如果两个不同的对象如果有相同的类型,在比较的时候将返回True。

Constructors 构造方法

In C# a DbElementType object may be obtained in one of three ways:

在 C# 中DbElementType对象有三种获取方式:

Use the globally de

  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
回答: 在AVEVA中,Form(窗体)是用来定义用户界面的窗体,它有自己的成员和方法。窗体可以定义窗口的停靠位置、浮动方式以及窗体的标题等属性。窗体还可以包含控件,控件可以通过全局变量进行处理。在PDMS命令窗口中,可以使用show命令加载并显示窗体,loadform命令加载但不显示窗体。窗体还有一些内置方法,如show、hide和shown,可以用来控制窗体的显示与隐藏。除了窗体,AVEVA还提供了Form Gadgets(窗体控件),它可以定义窗体内的控件,比如文本框、按钮等。在定义窗体控件时,可以设置控件的位置和大小等属性。在使用AVEVA form之前,需要确保引用了AVEVA.ApplicationFramework命名空间,并且派生自IAddin接口。另外,如果在使用AVEVA form之前对AVEVA进行了修改,需要使用pml rehash all命令重新加载修改后的内容。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [PDMS.NET开发](https://blog.csdn.net/u011498594/article/details/101690303)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [AVEVA PDMS 二次开发之PML语言基础 21/10/21 01.0.02](https://blog.csdn.net/weixin_43400347/article/details/120846864)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [AVEVA MARINE 二次开发学习总结](https://blog.csdn.net/u014653497/article/details/24305357)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值