Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 5653af1d
由
几米阳光
编写于
2019-03-13 16:01:19 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
客户端启动时默认状态为回原点
1 个父辈
5c460336
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
8 行增加
和
4 行删除
source/ACSingleStore/记录.txt
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
source/DeviceLibrary/store/KTK_DeviceBase.cs
source/ACSingleStore/记录.txt
查看文件 @
5653af1
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
20190312
20190312
1.测高AI模块BUG修改。
1.测高AI模块BUG修改。
2.出库增加缓存功能,若出库失败也放入缓存。
2.出库增加缓存功能,若出库失败也放入缓存。
3.客户端启动时默认状态为回原点
...
...
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
查看文件 @
5653af1
...
@@ -89,7 +89,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -89,7 +89,7 @@ namespace OnlineStore.DeviceLibrary
//初始化摄像机配置
//初始化摄像机配置
string
nameStr
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
CameraName
);
string
nameStr
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
CameraName
);
string
codeStr
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
CodeType
);
string
codeStr
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
CodeType
);
CodeManager
.
LoadConfig
(
nameStr
,
codeStr
);
CodeManager
.
LoadConfig
(
nameStr
,
codeStr
);
//初始化 //连接设备
//初始化 //连接设备
KNDManager
.
ConnectionKND
(
Config
.
DIODeviceNameList
);
KNDManager
.
ConnectionKND
(
Config
.
DIODeviceNameList
);
...
@@ -108,8 +108,11 @@ namespace OnlineStore.DeviceLibrary
...
@@ -108,8 +108,11 @@ namespace OnlineStore.DeviceLibrary
KNDIOMove
(
IO_Type
.
Alarm_HddLed
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
Alarm_HddLed
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
AutoRun_HddLed
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
AutoRun_HddLed
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
RunSign_HddLed
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
RunSign_HddLed
,
IO_VALUE
.
LOW
);
}
string
server
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
http_server
);
string
url
=
StoreManager
.
GetPostApi
(
server
);
LogUtil
.
info
(
"服务器地址:"
+
url
);
}
private
void
IoCheckTimer_Elapsed
(
object
sender
,
System
.
Timers
.
ElapsedEventArgs
e
)
private
void
IoCheckTimer_Elapsed
(
object
sender
,
System
.
Timers
.
ElapsedEventArgs
e
)
{
{
//判断急停
//判断急停
...
@@ -187,6 +190,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -187,6 +190,7 @@ namespace OnlineStore.DeviceLibrary
//TODO 启动时先所有轴远点返回,测试暂时关闭
//TODO 启动时先所有轴远点返回,测试暂时关闭
storeRunStatus
=
StoreRunStatus
.
HomeMoving
;
storeRunStatus
=
StoreRunStatus
.
HomeMoving
;
storeStatus
=
StoreStatus
.
ResetMove
;
//启动温湿度服务器
//启动温湿度服务器
//HumitureServer.StartTemperateServer(Config.TemperateServer_Port);
//HumitureServer.StartTemperateServer(Config.TemperateServer_Port);
HumitureController
.
Init
(
Config
.
Humiture_Port
);
HumitureController
.
Init
(
Config
.
Humiture_Port
);
...
...
source/DeviceLibrary/store/KTK_DeviceBase.cs
查看文件 @
5653af1
...
@@ -24,7 +24,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -24,7 +24,7 @@ namespace OnlineStore.DeviceLibrary
/// 6=入库执行中,7=入仓完成,8=入仓失败
/// 6=入库执行中,7=入仓完成,8=入仓失败
/// 9=出库执行,10=出仓完成,11=出库失败
/// 9=出库执行,10=出仓完成,11=出库失败
/// </summary>
/// </summary>
public
StoreStatus
storeStatus
=
StoreStatus
.
StoreOnlin
e
;
public
StoreStatus
storeStatus
=
StoreStatus
.
ResetMov
e
;
/// <summary>
/// <summary>
/// 提示消息,一般发给服务器后清空(LineBean表示报警提示消息,BoxBean表示出入库失败的原因记录)
/// 提示消息,一般发给服务器后清空(LineBean表示报警提示消息,BoxBean表示出入库失败的原因记录)
/// </summary>
/// </summary>
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论