The algorithm of WF control logic circuit

Source: Internet
Author: User

This paper takes control of a group of logical circuit switches as an example to demonstrate the application of WF in the algorithm, and this article is a combination of [rules engine], we can be a good comparison of the effect of C # code, State machine, rule engine, flow chart in the process control and algorithm of the respective characteristics

In the [Rule engine] article, I use C # code separately, WF3. X's state machine workflow, WF3. X's rule engine three ways to implement

This paper is realized by WF4.0 flowchart,

Application Scenarios

1.Y device startup to start X device, x device shutdown to first turn off Y device

2.N device startup to start M device, m device shutdown to turn off N device first

3.M equipment, n equipment to rely on a device power supply, so to start m or N devices must first start a device

4. To turn off a device, the M device and N device must be turned off

5. Because of the power consumption efficiency of n equipment, n equipment running, in order to ensure safety, should be irrelevant equipment shut down

Rules for the Kai n device

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.