在 Blend 3 中,如何为实时运行的外部硬件设计用户界面?

发布于 2024-08-04 03:13:07 字数 330 浏览 6 评论 0原文

如何为实时运行的外部硬件设计用户界面?

Blend 3 可以实现这一点吗? 我需要为一个外部硬件设计一个双向接口,如果我可以在设计时转动它的旋钮,而不是不断地构建、运行、尝试等,那就太好了。GUI 的涉及范围比仅仅模仿旋钮要复杂得多。位置,并且可能需要广泛使用转换器和多重绑定。

我需要构建两个项目吗?第一,与硬件连接并将旋钮位置的图像保留为依赖属性。也许,这可以在设计时运行。这可行吗?或者有更好的方法吗?

使用 C# Visual Studio 2008 Express 和 Expression Blend 3。

有一个标记为“添加实时数据源”的按钮。

谢谢

How do I design a user interface for external hardware which is running in real time?

Is this possible with Blend 3?
I need to design a two way interface for a piece of external hardware and it would be great if I could twiddle it's knobs while designing as opposed to continually building, running, trying etc. The GUI is a lot more involved than just mimicking the knob positions and would probably need extensive use of converters and multiple binding.

Would I need to build two projects? One, to interface with the hardware and keep an image of the knob positions as dependency properties. This could, perhaps, be running while designing. Is that doable? Or is there a better way?

Using C# Visual Studio 2008 Express and Expression Blend 3.

There is a button labeled "Add live data source".

Thanks

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

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

发布评论

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

评论(1

眼角的笑意。 2024-08-11 03:13:07

如果仔细完成,您可以将演示文稿与您使用的数据模型分开。是否可以“模拟”您将在设计会话中操作的数据,然后在获取数据后实时插入不同的模型?

与我合作的一位开发人员不仅嘲笑了他的数据模型,还在后台线程上编写了紧密的循环来修改值,这样他就可以“伪造”他真实的 UI 的样子。

不确定这是否能回答您的问题,但它可能会让您沿着正确的道路思考。

When done carefully, you can separate the presentation from the model of data that you work with. Is it possible to "mock" up the data that you'll be operating on for your design sessions and then plug in the different models for your real time once you're acquiring the data?

One of the developers I work with not only mocked his model of the data but wrote tight loops on background threads to modify values so he could "fake" what his real UI would look like.

Not sure if that answers your question but it might get you thinking along the right path.

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