本文介绍了使用线程处理C#的设计工作流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我是设计工作流程的新手.
我有一个问题:
我有一个图形接口单元,所需的工作流状态机和一个轮询硬件设备并通过RS232每1毫秒(大约)接收响应的线程.
这些响应可能会改变状态机.
GID可能会修改状态机.
我发现了许多用于主机与工作流通信的示例,但我不知道如何处理该线程.
您能帮我一下,给我一些建议吗?
再见

Hello, I''m new in the design workflow.
I have a question:
I have a graphics interface unit, a desired workflow state machine and a thread that polls a hardware device and receives a response every 1 ms (approximately) via RS232.
These responses may alter the state machine.
The GID may modify the state machine.
I found lots of examples for host-workflow communication, but I do not know how to handle this thread.
Could you help me and give me some suggestions?
Bye

推荐答案



这篇关于使用线程处理C#的设计工作流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 22:48