Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit a7e239d7
由
几米阳光
编写于
2019-01-23 15:46:40 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
部分文字调整
1 个父辈
01011033
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
47 行增加
和
44 行删除
source/ACSingleStore/FrmAxisDebug.cs
source/ACSingleStore/FrmStoreBox.Designer.cs
source/ACSingleStore/FrmStoreBox.cs
source/ACSingleStore/FrmStoreBox.resx
source/ACSingleStore/FrmAxisDebug.cs
查看文件 @
a7e239d
...
...
@@ -100,7 +100,7 @@ namespace OnlineStore.ACSingleStore
{
if
(
ACStoreManager
.
store
.
LoacationIsDown
().
Equals
(
false
))
{
MessageBox
.
Show
(
cannotMove
,
warn
,
MessageBoxButtons
.
OK
,
MessageBoxIcon
.
Warning
);
MessageBox
.
Show
(
FrmStoreBox
.
cannotMove
,
FrmStoreBox
.
warn
,
MessageBoxButtons
.
OK
,
MessageBoxIcon
.
Warning
);
return
;
}
int
speed
=
FormUtil
.
GetIntValue
(
txtInOutSpeed
);
...
...
@@ -147,8 +147,8 @@ namespace OnlineStore.ACSingleStore
// ShuoKeControls.SuddownStop(compress_Slv);
// }
//}
private
string
cannotMove
=
ResourceCulture
.
GetString
(
ResourceCulture
.
CannotMove
,
"定位气缸不在下降端,不能移动进出轴"
);
private
string
warn
=
ResourceCulture
.
GetString
(
ResourceCulture
.
WarnMsg
,
"警告"
);
//
private string cannotMove = ResourceCulture.GetString(ResourceCulture.CannotMove, "定位气缸不在下降端,不能移动进出轴");
//
private string warn = ResourceCulture.GetString(ResourceCulture.WarnMsg, "警告");
private
void
btnMiddleMovej_MouseDown
(
object
sender
,
MouseEventArgs
e
)
{
int
speed
=
FormUtil
.
GetIntValue
(
txtMiddleSpeed
);
...
...
@@ -197,7 +197,7 @@ namespace OnlineStore.ACSingleStore
{
if
(
ACStoreManager
.
store
.
LoacationIsDown
().
Equals
(
false
))
{
MessageBox
.
Show
(
cannotMove
,
warn
,
MessageBoxButtons
.
OK
,
MessageBoxIcon
.
Warning
);
MessageBox
.
Show
(
FrmStoreBox
.
cannotMove
,
FrmStoreBox
.
warn
,
MessageBoxButtons
.
OK
,
MessageBoxIcon
.
Warning
);
return
;
}
int
speed
=
FormUtil
.
GetIntValue
(
txtInOutSpeed
);
...
...
source/ACSingleStore/FrmStoreBox.Designer.cs
查看文件 @
a7e239d
...
...
@@ -31,6 +31,9 @@
this
.
notifyIcon1
=
new
System
.
Windows
.
Forms
.
NotifyIcon
(
this
.
components
);
this
.
chbAuto
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
groupBox1
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
axis_1_Alarm
=
new
UserFromControl
.
IOStatusControl
();
this
.
axis_3_Alarm
=
new
UserFromControl
.
IOStatusControl
();
this
.
axis_2_Alarm
=
new
UserFromControl
.
IOStatusControl
();
this
.
label38
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtMiddleTarget
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtInoutTarget
=
new
System
.
Windows
.
Forms
.
TextBox
();
...
...
@@ -175,9 +178,6 @@
this
.
英文
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
toolStripSeparator11
=
new
System
.
Windows
.
Forms
.
ToolStripSeparator
();
this
.
德文
ToolStripMenuItem
=
new
System
.
Windows
.
Forms
.
ToolStripMenuItem
();
this
.
axis_1_Alarm
=
new
UserFromControl
.
IOStatusControl
();
this
.
axis_3_Alarm
=
new
UserFromControl
.
IOStatusControl
();
this
.
axis_2_Alarm
=
new
UserFromControl
.
IOStatusControl
();
this
.
contextMenuStrip1
.
SuspendLayout
();
this
.
groupBox1
.
SuspendLayout
();
this
.
groupBox3
.
SuspendLayout
();
...
...
@@ -262,6 +262,36 @@
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
Text
=
"伺服状态"
;
//
// axis_1_Alarm
//
this
.
axis_1_Alarm
.
IOName
=
""
;
this
.
axis_1_Alarm
.
IOValue
=
0
;
this
.
axis_1_Alarm
.
isCanClick
=
false
;
this
.
axis_1_Alarm
.
Location
=
new
System
.
Drawing
.
Point
(
200
,
64
);
this
.
axis_1_Alarm
.
Name
=
"axis_1_Alarm"
;
this
.
axis_1_Alarm
.
Size
=
new
System
.
Drawing
.
Size
(
43
,
39
);
this
.
axis_1_Alarm
.
TabIndex
=
264
;
//
// axis_3_Alarm
//
this
.
axis_3_Alarm
.
IOName
=
""
;
this
.
axis_3_Alarm
.
IOValue
=
0
;
this
.
axis_3_Alarm
.
isCanClick
=
false
;
this
.
axis_3_Alarm
.
Location
=
new
System
.
Drawing
.
Point
(
402
,
64
);
this
.
axis_3_Alarm
.
Name
=
"axis_3_Alarm"
;
this
.
axis_3_Alarm
.
Size
=
new
System
.
Drawing
.
Size
(
43
,
39
);
this
.
axis_3_Alarm
.
TabIndex
=
266
;
//
// axis_2_Alarm
//
this
.
axis_2_Alarm
.
IOName
=
""
;
this
.
axis_2_Alarm
.
IOValue
=
0
;
this
.
axis_2_Alarm
.
isCanClick
=
false
;
this
.
axis_2_Alarm
.
Location
=
new
System
.
Drawing
.
Point
(
297
,
64
);
this
.
axis_2_Alarm
.
Name
=
"axis_2_Alarm"
;
this
.
axis_2_Alarm
.
Size
=
new
System
.
Drawing
.
Size
(
43
,
39
);
this
.
axis_2_Alarm
.
TabIndex
=
265
;
//
// label38
//
this
.
label38
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
...
...
@@ -1901,41 +1931,11 @@
// 德文ToolStripMenuItem
//
this
.
德文
ToolStripMenuItem
.
Name
=
"德文ToolStripMenuItem"
;
this
.
德文
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
80
,
26
);
this
.
德文
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
12
,
26
);
this
.
德文
ToolStripMenuItem
.
Text
=
"德文"
;
this
.
德文
ToolStripMenuItem
.
Visible
=
false
;
this
.
德文
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
德文
ToolStripMenuItem_Click
);
//
// axis_1_Alarm
//
this
.
axis_1_Alarm
.
IOName
=
""
;
this
.
axis_1_Alarm
.
IOValue
=
0
;
this
.
axis_1_Alarm
.
isCanClick
=
false
;
this
.
axis_1_Alarm
.
Location
=
new
System
.
Drawing
.
Point
(
200
,
64
);
this
.
axis_1_Alarm
.
Name
=
"axis_1_Alarm"
;
this
.
axis_1_Alarm
.
Size
=
new
System
.
Drawing
.
Size
(
43
,
39
);
this
.
axis_1_Alarm
.
TabIndex
=
264
;
//
// axis_3_Alarm
//
this
.
axis_3_Alarm
.
IOName
=
""
;
this
.
axis_3_Alarm
.
IOValue
=
0
;
this
.
axis_3_Alarm
.
isCanClick
=
false
;
this
.
axis_3_Alarm
.
Location
=
new
System
.
Drawing
.
Point
(
402
,
64
);
this
.
axis_3_Alarm
.
Name
=
"axis_3_Alarm"
;
this
.
axis_3_Alarm
.
Size
=
new
System
.
Drawing
.
Size
(
43
,
39
);
this
.
axis_3_Alarm
.
TabIndex
=
266
;
//
// axis_2_Alarm
//
this
.
axis_2_Alarm
.
IOName
=
""
;
this
.
axis_2_Alarm
.
IOValue
=
0
;
this
.
axis_2_Alarm
.
isCanClick
=
false
;
this
.
axis_2_Alarm
.
Location
=
new
System
.
Drawing
.
Point
(
297
,
64
);
this
.
axis_2_Alarm
.
Name
=
"axis_2_Alarm"
;
this
.
axis_2_Alarm
.
Size
=
new
System
.
Drawing
.
Size
(
43
,
39
);
this
.
axis_2_Alarm
.
TabIndex
=
265
;
//
// FrmStoreBox
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
96F
,
96F
);
...
...
source/ACSingleStore/FrmStoreBox.cs
查看文件 @
a7e239d
...
...
@@ -100,11 +100,15 @@ namespace OnlineStore.ACSingleStore
private
string
StopAuto
=
ResourceCulture
.
GetString
(
ResourceCulture
.
StopAuto
,
"停止自动出入库"
);
private
string
AutoOut
=
ResourceCulture
.
GetString
(
ResourceCulture
.
AutoOut
,
"自动出库:"
);
private
string
AutoIn
=
ResourceCulture
.
GetString
(
ResourceCulture
.
AutoIn
,
"自动入库:"
);
public
static
string
cannotMove
=
ResourceCulture
.
GetString
(
ResourceCulture
.
CannotMove
,
"定位气缸不在下降端,不能移动进出轴"
);
public
static
string
warn
=
ResourceCulture
.
GetString
(
ResourceCulture
.
WarnMsg
,
"警告"
);
public
void
processMenu
()
{
string
class
Name
=
this
.
ClassName
;
CurrLanguage
=
ResourceCulture
.
CurrLanguage
;
ResourceCulture
.
GetString
(
ResourceCulture
.
CannotMove
,
"定位气缸不在下降端,不能移动进出轴"
);
warn
=
ResourceCulture
.
GetString
(
ResourceCulture
.
WarnMsg
,
"警告"
);
WaitStart
=
ResourceCulture
.
GetString
(
ResourceCulture
.
WaitStart
,
"等待启动"
);
dooropen
=
ResourceCulture
.
GetString
(
ResourceCulture
.
DoorOpen
,
" 前门未关"
);
HasWare
=
ResourceCulture
.
GetString
(
ResourceCulture
.
HasWare
,
" 叉子料盘检测有料,请检查"
);
...
...
@@ -510,8 +514,7 @@ namespace OnlineStore.ACSingleStore
//}
}
}
private
string
cannotMove
=
ResourceCulture
.
GetString
(
ResourceCulture
.
CannotMove
,
"定位气缸不在下降端,不能移动进出轴"
);
private
string
warn
=
ResourceCulture
.
GetString
(
ResourceCulture
.
WarnMsg
,
"警告"
);
private
void
btnAxisAMove_Click
(
object
sender
,
EventArgs
e
)
{
//ConfigMoveAxis axisC = store.moveAxisList[cmbAxisList.SelectedIndex];
...
...
@@ -844,11 +847,11 @@ namespace OnlineStore.ACSingleStore
if
(
store
.
autoNext
)
{
store
.
autoNext
=
false
;
btnStartAuTo
.
Text
=
"开始自动出入库"
;
btnStartAuTo
.
Text
=
StartAuto
;
;
}
else
{
DialogResult
res
=
MessageBox
.
Show
(
"确定开始自动出入库
?"
,
"提示"
,
MessageBoxButtons
.
YesNo
);
DialogResult
res
=
MessageBox
.
Show
(
StartAuto
+
"
?"
,
"提示"
,
MessageBoxButtons
.
YesNo
);
if
(
res
.
Equals
(
DialogResult
.
Yes
))
{
store
.
autoNext
=
true
;
...
...
@@ -865,7 +868,7 @@ namespace OnlineStore.ACSingleStore
//store.StartOutStoreMove(new InOutStoreParam("", poText));
store
.
StartInStoreMove
(
new
InOutStoreParam
(
""
,
poText
));
}
btnStartAuTo
.
Text
=
"停止自动出入库"
;
btnStartAuTo
.
Text
=
StopAuto
;
}
}
}
...
...
source/ACSingleStore/FrmStoreBox.resx
查看文件 @
a7e239d
...
...
@@ -1263,7 +1263,7 @@
<value>107, 16</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>1
06
</value>
<value>1
62
</value>
</metadata>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论