Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
Line-Smart-Workstation
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 74ca67e9
由
LN
编写于
2023-07-31 10:46:11 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
气压报警时增加文字显示
1 个父辈
b3049428
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
16 行增加
和
1 行删除
DeviceLibrary/manager/AlarmProcess.cs
DeviceLibrary/manager/ResourceControl.cs
DeviceLibrary/manager/TSAVBean.cs
TSA-V/Properties/Resource.en-US.resx
TSA-V/Properties/Resource.zh-CN.resx
DeviceLibrary/manager/AlarmProcess.cs
查看文件 @
74ca67e
...
...
@@ -8,6 +8,7 @@ using System.Threading.Tasks;
using
System.Windows.Forms
;
using
TSA_V.Common
;
using
TSA_V.DeviceLibrary
;
using
static
TSA_V
.
Common
.
LogUtil
;
namespace
TSA_V
{
...
...
@@ -44,7 +45,7 @@ namespace TSA_V
}
else
if
(
TSAVBean
.
NoAirAlarm
)
{
msg
=
"未检测到气压信号"
;
msg
=
ResourceControl
.
GetString
(
ResourceControl
.
NoAirAlarm
,
"未检测到气压信号"
);
;
return
true
;
}
return
false
;
...
...
DeviceLibrary/manager/ResourceControl.cs
查看文件 @
74ca67e
...
...
@@ -161,5 +161,10 @@ namespace TSA_V
/// 等待目标位置{0}超时
/// </summary>
public
static
string
WaitChangeWOk
=
"WaitChangeWOk"
;
/// <summary>
/// 未检测到气压信号
/// </summary>
public
static
string
NoAirAlarm
=
"NoAirAlarm"
;
}
}
DeviceLibrary/manager/TSAVBean.cs
查看文件 @
74ca67e
...
...
@@ -928,6 +928,9 @@ namespace TSA_V.DeviceLibrary
if
(
TSAVBean
.
IsInSuddenDown
)
{
ShowMsg
=
ResourceControl
.
GetString
(
ResourceControl
.
DeviceInSuddenStop
,
"设备急停中"
);
}
else
if
(
TSAVBean
.
NoAirAlarm
)
{
ShowMsg
=
ResourceControl
.
GetString
(
ResourceControl
.
NoAirAlarm
,
"未检测到气压信号"
);
}
else
if
(
TSAVBean
.
Status
.
Equals
(
TSAVStatus
.
Wait
))
{
...
...
TSA-V/Properties/Resource.en-US.resx
查看文件 @
74ca67e
...
...
@@ -2579,4 +2579,7 @@
<data name="PreNotEnd" xml:space="preserve">
<value>The last adjustment of width has not yet ended</value>
</data>
<data name="NoAirAlarm" xml:space="preserve">
<value>No air pressure signal.</value>
</data>
</root>
\ No newline at end of file
TSA-V/Properties/Resource.zh-CN.resx
查看文件 @
74ca67e
...
...
@@ -2577,4 +2577,7 @@
<data name="PreNotEnd" xml:space="preserve">
<value>上次调宽还未结束</value>
</data>
<data name="NoAirAlarm" xml:space="preserve">
<value>未检测到气压信号</value>
</data>
</root>
\ No newline at end of file
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论