简体   繁体   English

.NET Winform应用程序中的模型检查过程建模流程图

[英]Flow Chart to model inspection process in .NET winform application

We're writing a .NET winform application and I'm looking for options on one of the features. 我们正在编写.NET winform应用程序,我正在寻找其中一项功能的选项。 The end user for this system will be defining inspection processes which need to be easy to follow and will be used to show inspectors their options when inspecting a product as well as to drive the inspection module on which questions need to be asked to an inspector as they perform their duties and issue a certificate. 该系统的最终用户将定义检查过程,该过程必须易于遵循,并将用于在检查产品时向检查员显示他们的选择,以及驱动需要向检查员提出问题的检查模块。他们履行职责并颁发证书。

I'd like to be able to find a flowchart addin so that admin users can create something like this (sorry, I can't find an image hosting site that work hasn't blocked) and the data generated from the flowchart (XML or something similar, don't care what the output is as long as I can parse it). 我希望能找到一个流程图的插件,这样管理员用户可以创建像这样 (对不起,我无法找到一个图片托管网站,工作不堵塞),并从流程中产生的数据(XML或类似的东西,只要我可以解析它,就不在乎输出是什么)。 This way I have something graphically to show inspectors as well as being able to generate the necessary pages when the inspector is doing the work. 这样,我可以以图形方式显示检查员,并能够在检查员进行工作时生成必要的页面。

I've evaluated Windows WF PageFlow however in their whitepaper they state that you can only have one workflow per asp.net application. 我评估了Windows WF PageFlow,但是在他们的白皮书中,他们指出每个asp.net应用程序只能有一个工作流。 There are many products and each will need their own workflow. 有很多产品,每种产品都需要自己的工作流程。 As a solution it's also a little complex for the average end user. 作为解决方案,对于普通的最终用户而言,它也有些复杂。

Another option that's been discussed is to just use words and have a logic builder interface that we would develop ourselves where the whole flow would be written out with if/else statements (almost like pseudo code). 讨论过的另一个选择是仅使用单词,并具有一个逻辑构建器接口,我们可以自行开发,使用if / else语句(几乎像伪代码)将整个流程写出来。 However IMO it makes that flow difficult to see for the inspectors who are actually doing the inspections. 但是,海事组织(IMO)使得实际进行检查的检查员很难看到这种流程。

So my question is does anybody know of any other options that would solve this issue? 所以我的问题是,是否有人知道可以解决此问题的其他选择? Ideally I'd like to offer up a free solution, however as we're evaluating options, I can also bring forward commercial solutions. 理想情况下,我想提供一个免费的解决方案,但是当我们评估选项时,我也可以提出商业解决方案。

Our environmnet is VB.NET running the 3.0 .NET runtime, The admin console (currently being built) is a Winforms application, The client component will be ASP.NET. 我们的环境是运行3.0 .NET运行时的VB.NET,管理控制台(当前正在构建)是Winforms应用程序,客户端组件将是ASP.NET。 If a solution only works in .NET 3.5 I'd like to hear about it as well please. 如果某个解决方案仅在.NET 3.5中有效,那么我也想听听。 Fixing this issue would justify migrating to the later version of .NET 解决此问题将证明有必要迁移到更高版本的.NET。

There are a couple of options that look OK to me (however I haven't used them) 有几个选项对我来说不错(但是我还没有使用它们)

This other post references some of them Embedding a flowchart design surface in a .net application 一篇文章引用了其中一些内容。 在.net应用程序中嵌入了流程图设计图

Personally I'd just try rolling my own. 就我个人而言,我只是尝试自己滚动。 If your workflows aren't too complicated I don't think it would be that that difficult. 如果您的工作流程不太复杂,那么我认为这不会那么困难。 If I were to implement this on my own I would generate a Bitmap and render the flowchart to the image through GDI. 如果要自己实现,则将生成一个位图,然后通过GDI将流程图呈现到图像上。 Another form that doesn't have to be drag and drop could control the logic of generating the flow chart structure. 不必拖放的另一种形式可以控制生成流程图结构的逻辑。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM