如何开始开发 OPC Xi(.NET 3.0 WCF 服务)服务器(服务)

发布于 2024-11-11 16:43:33 字数 889 浏览 6 评论 0原文

我想使用最新的标准版本:OPC Xi 来实现 OPC 服务器。 我的目的不是提供实际使用的服务,我只是想开发一个功能服务器,从某个工业站的传感器返回数据(不存在:功能)。

主要目的是创建一个用于学术目的的服务器,以便让学生和其他人利用这个免费服务器来练习OPC调用和OPC标准。

嗯,我刚刚从 OPCFoundation 网站下载了 OPC .NET 3.0 (WCF) Contracts 和 ServerBase [1.20.4]

该 zip 包含一个包含多个项目的 Visual Studio 2008 解决方案。

好吧,我对 WCF 服务足够熟练,所以我希望我只需要实现一些接口,对吗???

该解决方案中有一个名为 Xi Contracts VS2008 的项目。在那里,我可以找到这些接口(全部标记为 ServiceContract):

  • ICallback 服务契约接口。
  • IPoll 服务合约接口。
  • IRead 服务合约接口。
  • IResourceManagement 服务契约接口。
  • IRestRead 服务合约接口。
  • IServerDiscovery 服务契约接口。
  • IWrite 服务契约接口。

我希望这些是在我的网络服务中实现的,对吗???

另外一个问题:还有一个项目叫Xi Server Base VS2008,它是做什么用的???

谢谢

I would like to implement an OPC Server using the latest standard version: OPC Xi.
My purpose is not providing a service for real usage, I just would like to develop a finctional server returning data from sensors of a certain industrial station (non existing: finctional).

The main purpose is to create a server for academic purposes, in order to let students and others take advantage of this free server to make practice with OPC calls and the OPC standard.

Well, I just downloaded OPC .NET 3.0 (WCF) Contracts and ServerBase [1.20.4] from OPCFoundation web site.

The zip contains a Visual Studio 2008 solution with several projects.

Well, I am enough skilled with WCF services, so I expect I just need to implement some interfaces right???

In the solution there is a project called Xi Contracts VS2008. There, I can find these interfaces (all marked as ServiceContract):

  • ICallback service contract interface.
  • IPoll service contract interface.
  • IRead service contract interface.
  • IResourceManagement service contract interface.
  • IRestRead service contract interface.
  • IServerDiscovery service contract interface.
  • IWrite service contract interface.

I expect these to be the ones to be implemented in my web service right???

Another question: there is also a project called Xi Server Base VS2008, what is it for???

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

也只是曾经 2024-11-18 16:43:33

OPC 培训学院提供了使用 OPC 的入门教程 Xi(顺便说一句,它已更名为 OPC .NET 3.0)

OPC .NET 3.0 的未来非常暗淡。 OPC 基金会似乎淡化了它的存在这一事实。 OPC 基金会的立场是,OPC UA 是未来的发展方向,正如此讨论中所述

The OPC Training Institute has these getting started tutorials for working with OPC Xi (which by the way has been renamed to OPC .NET 3.0)

The future of OPC .NET 3.0 is very murky. The OPC Foundation seems to downplay the fact that it even exists. The OPC Foundation's position is that OPC UA is the way of the future as outlined in this discussion.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文