## 主要改进 - 实现 /api/status/model 接口,返回真实PDMS模型状态信息 - 使用MDB.CurrentMDB、Project.CurrentProject等AVEVA API获取真实数据 - 移除硬编码的CurrentSession、PositionInfo、PdmsSpecific等复杂结构 - 简化数据模型,只保留核心的真实数据字段 ## 技术实现 - 通过DbSession获取真实的用户名、会话开始时间和持续时间 - 通过WorldMembers()获取真实的模型元素统计 - 修复DateTime类型的null合并运算符编译错误 - 清理不使用的方法和类定义 ## API返回数据 现在返回的数据主要包含真实的PDMS信息: - ModelLoaded: MDB连接状态检查 - ProjectName: 真实的设计数据库名称 - MdsName: 真实的MDB名称 - UserName: 真实的数据库会话用户 - StartTime: 真实的会话创建时间 - TotalElements: 真实的模型元素数量统计 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
60 lines
5.5 KiB
HTML
60 lines
5.5 KiB
HTML
<html dir="LTR">
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
|
||
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
|
||
<title>HtmlHelp Methods</title>
|
||
<xml>
|
||
</xml>
|
||
<link rel="stylesheet" type="text/css" href="MSDN.css" />
|
||
</head>
|
||
<body id="bodyID" class="dtBODY">
|
||
<div id="nsbanner">
|
||
<div id="bannerrow1">
|
||
<table class="bannerparthead" cellspacing="0">
|
||
<tr id="hdr">
|
||
<td class="runninghead">Common Application Framework</td>
|
||
<td class="product">
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div id="TitleRow">
|
||
<h1 class="dtH1">HtmlHelp Methods</h1>
|
||
</div>
|
||
</div>
|
||
<div id="nstext">
|
||
<p>The methods of the <b>HtmlHelp</b> class are listed below. For a complete list of <b>HtmlHelp</b> class members, see the <a href="Aveva.ApplicationFramework.Presentation.HtmlHelpMembers.html">HtmlHelp Members</a> topic.</p>
|
||
<h4 class="dtH4">Public Instance Methods</h4>
|
||
<div class="tablediv">
|
||
<table class="dtTABLE" cellspacing="0">
|
||
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassEqualsTopic.htm">Equals</a> (inherited from <b>Object</b>)</td><td width="50%">
|
||
Determines whether the specified <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a> is equal to the current <b>Object</b>.
|
||
</td></tr>
|
||
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassGetHashCodeTopic.htm">GetHashCode</a> (inherited from <b>Object</b>)</td><td width="50%">
|
||
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
|
||
</td></tr>
|
||
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassGetTypeTopic.htm">GetType</a> (inherited from <b>Object</b>)</td><td width="50%">
|
||
Gets the <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemTypeClassTopic.htm">Type</a> of the current instance.
|
||
</td></tr>
|
||
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="Aveva.ApplicationFramework.Presentation.HtmlHelp.ShowHelpAbout.html">ShowHelpAbout</a></td><td width="50%"> Shows the help about form as a modal dialog. </td></tr>
|
||
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="Aveva.ApplicationFramework.Presentation.HtmlHelp.ShowHelpALink.html">ShowHelpALink</a></td><td width="50%"> Displays the help window at the topic with the given associative link. </td></tr>
|
||
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="Aveva.ApplicationFramework.Presentation.HtmlHelp.ShowHelpContents.html">ShowHelpContents</a></td><td width="50%"> Displays the help window with the contents pane active. </td></tr>
|
||
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="Aveva.ApplicationFramework.Presentation.HtmlHelp.ShowHelpContext_overloads.html">ShowHelpContext</a></td><td width="50%">Overloaded. Displays the help window at the topic associated with the given contextId in the given chm file. The help topic is determined via a lookup in the context help index. </td></tr>
|
||
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="Aveva.ApplicationFramework.Presentation.HtmlHelp.ShowHelpIndex.html">ShowHelpIndex</a></td><td width="50%"> Displays the help window with the index pane active. </td></tr>
|
||
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="Aveva.ApplicationFramework.Presentation.HtmlHelp.ShowHelpKeyword.html">ShowHelpKeyword</a></td><td width="50%"> Displays the help window at the topic with the given keyword. </td></tr>
|
||
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="Aveva.ApplicationFramework.Presentation.HtmlHelp.ShowHelpOnHelp.html">ShowHelpOnHelp</a></td><td width="50%"> Show a help window for help on help if a help on help file has been specified. </td></tr>
|
||
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="Aveva.ApplicationFramework.Presentation.HtmlHelp.ShowHelpSearch.html">ShowHelpSearch</a></td><td width="50%"> Displays the help window with the search pane active. </td></tr>
|
||
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="Aveva.ApplicationFramework.Presentation.HtmlHelp.ShowOnlineLink.html">ShowOnlineLink</a></td><td width="50%"> Opens a browser window for the given url. </td></tr>
|
||
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassToStringTopic.htm">ToString</a> (inherited from <b>Object</b>)</td><td width="50%">
|
||
Returns a <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">String</a> that represents the current <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a>.
|
||
</td></tr></table>
|
||
</div>
|
||
<h4 class="dtH4">See Also</h4>
|
||
<p>
|
||
<a href="Aveva.ApplicationFramework.Presentation.HtmlHelp.html">HtmlHelp Class</a> | <a href="Aveva.ApplicationFramework.Presentation.html">Aveva.ApplicationFramework.Presentation Namespace</a></p>
|
||
|
||
<hr />
|
||
<div id="footer">©AVEVA Solutions Ltd 2007</div>
|
||
</div>
|
||
</body>
|
||
</html> |