Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张东亮
/
SO1131-AGVDispatch
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 40fdf150
由
张东亮
编写于
2022-12-26 09:11:28 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
手动清除料箱
1 个父辈
e8bbd759
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
12 行增加
和
6 行删除
.vs/SO1131-AGVDispatch/v17/.suo
Source/AGVDispatch/FrmSetting.cs
Source/AGVDispatch/bin/ProCopyClient.exe.config
Source/AGVDispatch/obj/Debug/AGVDispatch.csproj.AssemblyReference.cache
Source/AGVDispatch/obj/Debug/DesignTimeResolveAssemblyReferences.cache
Source/Common/obj/Debug/Common.csproj.AssemblyReference.cache
Source/DeviceLib/obj/Debug/DeviceLib.csproj.AssemblyReference.cache
Source/UIControls/obj/Debug/DesignTimeResolveAssemblyReferences.cache
Source/UIControls/obj/Debug/UIControl.csproj.AssemblyReference.cache
.vs/SO1131-AGVDispatch/v17/.suo
查看文件 @
40fdf15
此文件类型无法预览
Source/AGVDispatch/FrmSetting.cs
查看文件 @
40fdf15
using
DeviceLib.BLL
;
using
DeviceLib.Model.AGV
;
using
Dolen.Forms
;
using
System
;
using
System.Collections.Generic
;
...
...
@@ -23,18 +24,23 @@ namespace AGVDispatch
private
void
button1_Click
(
object
sender
,
EventArgs
e
)
{
if
(
string
.
IsNullOrEmpty
(
txtRfid
.
Text
))
return
;
bool
rtn
=
HttpManager
.
ClearBoxBind
(
txtRfid
.
Text
.
ToUpper
(),
"Manual"
);
string
msg
=
$
"清除料箱【{txtRfid.Text}】"
+(
rtn
?
"成功"
:
"失败"
);
bool
rtn
=
HttpManager
.
BoxToAgv
(
txtRfid
.
Text
.
ToUpper
(),
"Manual"
);
if
(
rtn
)
{
rtn
=
HttpManager
.
ClearBoxBind
(
txtRfid
.
Text
.
ToUpper
(),
"Manual"
);
string
msg
=
$
"清除料箱【{txtRfid.Text}】"
+
(
rtn
?
"成功"
:
"失败"
);
MessageBox
.
Show
(
msg
,
"结果"
);
}
}
private
void
button2_Click
(
object
sender
,
EventArgs
e
)
{
if
(
string
.
IsNullOrEmpty
(
txtRfid
.
Text
))
return
;
bool
rtn
=
HttpManager
.
GetBoxTarget
(
txtRfid
.
Text
.
ToUpper
(),
out
BoxTaskInfo
boxTaskInfo
);
if
(
rtn
)
bool
rtn
=
HttpManager
.
GetBoxTarget
(
txtRfid
.
Text
.
ToUpper
(),
out
BoxTaskInfo
boxTaskInfo
);
if
(
rtn
)
{
label2
.
Text
=
$
"料箱【{txtRfid.Text}】出库信息:"
+
"\r\n"
+
boxTaskInfo
?.
ToStr
()??
""
;
label2
.
Text
=
$
"料箱【{txtRfid.Text}】出库信息:"
+
"\r\n"
+
boxTaskInfo
?.
ToStr
()
??
""
;
}
else
{
...
...
Source/AGVDispatch/bin/ProCopyClient.exe.config
查看文件 @
40fdf15
...
...
@@ -4,6 +4,6 @@
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.6.1"
/>
</
startup
>
<
appSettings
>
<
add
key
=
"ProName"
value
=
"AGVDispatch-在共享通道冲突问题优化"
/>
<
add
key
=
"ProName"
value
=
"AGVDispatch-在共享通道冲突问题
及出料口箱子冲突
优化"
/>
</
appSettings
>
</
configuration
>
\ No newline at end of file
Source/AGVDispatch/obj/Debug/AGVDispatch.csproj.AssemblyReference.cache
查看文件 @
40fdf15
此文件类型无法预览
Source/AGVDispatch/obj/Debug/DesignTimeResolveAssemblyReferences.cache
查看文件 @
40fdf15
此文件类型无法预览
Source/Common/obj/Debug/Common.csproj.AssemblyReference.cache
查看文件 @
40fdf15
此文件类型无法预览
Source/DeviceLib/obj/Debug/DeviceLib.csproj.AssemblyReference.cache
查看文件 @
40fdf15
此文件类型无法预览
Source/UIControls/obj/Debug/DesignTimeResolveAssemblyReferences.cache
查看文件 @
40fdf15
此文件类型无法预览
Source/UIControls/obj/Debug/UIControl.csproj.AssemblyReference.cache
查看文件 @
40fdf15
此文件类型无法预览
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论