Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
IoTSharp
IoTSharp
提交
2cd47cba
IoTSharp
项目概览
IoTSharp
/
IoTSharp
10 个月 前同步成功
通知
15
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
IoTSharp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
2cd47cba
编写于
11月 17, 2022
作者:
W
wq1234wq
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
规则链适配
上级
4c0463bc
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
20 addition
and
12 deletion
+20
-12
IoTSharp/Controllers/RulesController.cs
IoTSharp/Controllers/RulesController.cs
+12
-10
IoTSharp/IoTSharp.xml
IoTSharp/IoTSharp.xml
+7
-2
IoTSharp/Models/Rule/ModelWorkFlow.cs
IoTSharp/Models/Rule/ModelWorkFlow.cs
+1
-0
未找到文件。
IoTSharp/Controllers/RulesController.cs
浏览文件 @
2cd47cba
...
...
@@ -687,7 +687,7 @@ namespace IoTSharp.Controllers
FlowRule
=
rule
,
Flowname
=
item
.
name
,
bpmnid
=
item
.
nodeId
,
FlowType
=
item
.
nodetyp
e
,
FlowType
=
item
.
@namespac
e
,
FlowStatus
=
1
,
CreateId
=
CreatorId
,
Createor
=
profile
.
Id
,
...
...
@@ -696,7 +696,7 @@ namespace IoTSharp.Controllers
Tenant
=
rule
.
Tenant
,
FlowClass
=
item
.
@class
,
FlowNameSpace
=
item
.
@namespac
e
,
FlowNameSpace
=
item
.
nodetyp
e
,
FlowIcon
=
item
.
icon
,
Top
=
item
.
top
,
Left
=
item
.
left
...
...
@@ -712,9 +712,9 @@ namespace IoTSharp.Controllers
FlowRule
=
rule
,
Flowname
=
item
.
name
,
bpmnid
=
item
.
nodeId
,
FlowType
=
item
.
nodetyp
e
,
FlowType
=
item
.
@namespac
e
,
NodeProcessParams
=
item
.
content
,
NodeProcessClass
=
item
.
mata
,
FlowStatus
=
1
,
CreateId
=
CreatorId
,
...
...
@@ -724,9 +724,9 @@ namespace IoTSharp.Controllers
Tenant
=
rule
.
Tenant
,
FlowClass
=
item
.
@class
,
FlowNameSpace
=
item
.
@namespac
e
,
FlowNameSpace
=
item
.
nodetyp
e
,
FlowIcon
=
item
.
icon
,
Top
=
item
.
top
,
Top
=
item
.
top
,
Left
=
item
.
left
};
_context
.
Flows
.
AddRange
(
node
);
...
...
@@ -740,7 +740,7 @@ namespace IoTSharp.Controllers
FlowRule
=
rule
,
Flowname
=
item
.
name
,
bpmnid
=
item
.
nodeId
,
FlowType
=
item
.
nodetyp
e
,
FlowType
=
item
.
@namespac
e
,
NodeProcessScript
=
item
.
content
,
NodeProcessScriptType
=
item
.
mata
,
FlowStatus
=
1
,
...
...
@@ -751,7 +751,7 @@ namespace IoTSharp.Controllers
Tenant
=
rule
.
Tenant
,
FlowClass
=
item
.
@class
,
FlowNameSpace
=
item
.
@namespac
e
,
FlowNameSpace
=
item
.
nodetyp
e
,
FlowIcon
=
item
.
icon
,
Top
=
item
.
top
,
Left
=
item
.
left
...
...
@@ -774,10 +774,11 @@ namespace IoTSharp.Controllers
FlowRule
=
rule
,
Flowname
=
item
.
linename
,
bpmnid
=
item
.
lineId
,
FlowType
=
"line"
,
FlowType
=
item
.
@namespace
,
TargetId
=
item
.
targetId
,
SourceId
=
item
.
sourceId
,
Conditionexpression
=
item
.
condition
,
FlowNameSpace
=
"line"
,
FlowStatus
=
1
,
CreateId
=
CreatorId
,
Createor
=
profile
.
Id
,
...
...
@@ -806,7 +807,7 @@ namespace IoTSharp.Controllers
m
.
nodes
=
new
List
<
NodeObject
>();
foreach
(
var
item
in
flows
)
{
switch
(
item
.
Flow
Typ
e
)
switch
(
item
.
Flow
NameSpac
e
)
{
case
"line"
:
{
...
...
@@ -883,6 +884,7 @@ namespace IoTSharp.Controllers
}
[
HttpGet
]
public
async
Task
<
ApiResult
<
Activity
>>
GetDiagram
(
Guid
id
)
{
...
...
IoTSharp/IoTSharp.xml
浏览文件 @
2cd47cba
...
...
@@ -235,7 +235,6 @@
<summary>
生成一个图形认证
</summary>
<param
name=
"clientid"
></param>
<returns></returns>
</member>
<member
name=
"M:IoTSharp.Controllers.CaptchaController.Vertify(System.String,IoTSharp.Models.ModelCaptchaVertify)"
>
...
...
@@ -560,7 +559,13 @@
<param
name=
"m"
></param>
<returns></returns>
</member>
<!-- Badly formed XML comment ignored for member "M:IoTSharp.Controllers.HealthChecksController.Get" -->
<member
name=
"M:IoTSharp.Controllers.HealthChecksController.Get"
>
<summary>
返回指定id的客户
</summary>
<param
name=
"id"
></param>
<returns></returns>
</member>
<member
name=
"T:IoTSharp.Controllers.InstallerController"
>
<summary>
安装
...
...
IoTSharp/Models/Rule/ModelWorkFlow.cs
浏览文件 @
2cd47cba
...
...
@@ -30,6 +30,7 @@ namespace IoTSharp.Models.Rule
public
string
linename
{
get
;
set
;
}
public
string
condition
{
get
;
set
;
}
public
string
lineId
{
get
;
set
;
}
public
string
@namespace
{
get
;
set
;
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录