Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
Line-Smart-Workstation
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit a852911b
由
LN
编写于
2023-12-01 16:43:28 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
增加配置,报警时可不显示闪烁图片
1 个父辈
988d33ee
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
14 行增加
和
3 行删除
Common/Setting_Init.cs
DeviceLibrary/manager/ProjectorProcess.cs
TSA-V/App.config
TSA-V/projector/FrmProjectorScreen.cs
Common/Setting_Init.cs
查看文件 @
a852911
...
...
@@ -190,5 +190,7 @@ namespace TSA_V.Common
/// 禁用继续未完成程序功能
/// </summary>
public
static
string
DisContinueWorking
=
"DisContinueWorking"
;
public
static
string
DisShowScreenAlarm
=
"DisShowScreenAlarm"
;
}
}
DeviceLibrary/manager/ProjectorProcess.cs
查看文件 @
a852911
...
...
@@ -17,6 +17,8 @@ namespace TSA_V
public
static
bool
AOIopen
=
false
;
public
static
bool
DisShowScreenAlarm
=
ConfigAppSettings
.
GetBoolValue
(
Setting_Init
.
DisShowScreenAlarm
);
private
static
System
.
Timers
.
Timer
proTimer
=
null
;
private
static
bool
InPlay
=
false
;
...
...
TSA-V/App.config
查看文件 @
a852911
...
...
@@ -129,6 +129,7 @@
<!--禁用 继续未完成工作功能-->
<
add
key
=
"DisContinueWorking"
value
=
"1"
/>
<
add
key
=
"DisShowScreenAlarm"
value
=
"1"
/>
</
appSettings
>
<
log4net
>
<
appender
name
=
"defaultAppender"
type
=
"log4net.Appender.RollingFileAppender"
>
...
...
TSA-V/projector/FrmProjectorScreen.cs
查看文件 @
a852911
...
...
@@ -361,7 +361,7 @@ namespace TSA_V
panAoi
.
Visible
=
true
;
}
else
if
(
ProjectorProcess
.
IsAlarm
(
out
string
msg
))
{
{
panAoi
.
Visible
=
false
;
if
(
panel1
.
BackgroundImage
!=
null
)
{
...
...
@@ -369,9 +369,15 @@ namespace TSA_V
}
else
{
panel1
.
BackgroundImage
=
ImageManager
.
imgAlarm
;
panel1
.
BackgroundImageLayout
=
ImageLayout
.
Zoom
;
if
(
ProjectorProcess
.
DisShowScreenAlarm
)
{
}
else
{
panel1
.
BackgroundImage
=
ImageManager
.
imgAlarm
;
panel1
.
BackgroundImageLayout
=
ImageLayout
.
Zoom
;
}
lblAlarm
.
Text
=
msg
;
lblAlarm
.
Visible
=
true
;
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论