Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
1069_MIMO_PlUS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 8359205b
由
刘韬
编写于
2023-03-10 08:35:03 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
c8751624
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
24 行增加
和
21 行删除
Common/Common.csproj
DeviceLibrary/DeviceLibrary.csproj
DeviceLibrary/DeviceLibrary/ServerCommunication.cs
DeviceLibrary/theMachine/LabelParam.cs
DeviceLibrary/theMachine/MainMachine.cs
LoadCVSLibrary/LoadCSVLibrary.csproj
TheMachine/App.config
TheMachine/Form1.cs
TheMachine/Properties/Resources.Designer.cs
TheMachine/Properties/Settings.Designer.cs
TheMachine/TheMachine.csproj
Common/Common.csproj
查看文件 @
8359205
...
...
@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>OnlineStore.Common</RootNamespace>
<AssemblyName>MyCommon</AssemblyName>
<TargetFrameworkVersion>v4.6.
1
</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.
2
</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
...
...
DeviceLibrary/DeviceLibrary.csproj
查看文件 @
8359205
...
...
@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>DeviceLibrary</RootNamespace>
<AssemblyName>DeviceLibrary</AssemblyName>
<TargetFrameworkVersion>v4.6.
1
</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.
2
</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
...
...
DeviceLibrary/DeviceLibrary/ServerCommunication.cs
查看文件 @
8359205
...
...
@@ -435,6 +435,8 @@ namespace DeviceLibrary
)
return
map
;
if
(
RobotManage
.
mainMachine
==
null
)
return
map
;
if
(
RobotManage
.
mainMachine
.
IOValue
(
IO_Type
.
StringDoor_Close
).
Equals
(
IO_VALUE
.
HIGH
)
&&
(
RobotManage
.
mainMachine
.
StringMoveInfo
.
MoveStep
==
MoveStep
.
StringOut_Released
...
...
@@ -461,10 +463,10 @@ namespace DeviceLibrary
{
map
[
ParamDefine
.
singleReelIn
]
=
ParamDefine
.
enable
;
}
map
.
Add
(
ParamDefine
.
SendEmptyShelf
,
ParamDefine
.
disable
)
;
map
.
Add
(
ParamDefine
.
SendFullShelf
,
ParamDefine
.
disable
)
;
map
.
Add
(
ParamDefine
.
NeedEmptySHelf
,
ParamDefine
.
disable
)
;
map
.
Add
(
ParamDefine
.
NeedFullShelf
,
ParamDefine
.
disable
)
;
map
[
ParamDefine
.
SendEmptyShelf
]=
ParamDefine
.
disable
;
map
[
ParamDefine
.
SendFullShelf
]
=
ParamDefine
.
disable
;
map
[
ParamDefine
.
NeedEmptySHelf
]=
ParamDefine
.
disable
;
map
[
ParamDefine
.
NeedFullShelf
]=
ParamDefine
.
disable
;
if
(
RobotManage
.
mainMachine
?.
StringState
==
MainMachine
.
StringStateE
.
None
)
{
//map[ParamDefine.NeedEmptySHelf] = ParamDefine.enable;
...
...
DeviceLibrary/theMachine/LabelParam.cs
查看文件 @
8359205
...
...
@@ -190,7 +190,7 @@ namespace DeviceLibrary
int
reelhighdiff
=
0
;
if
(
reel
.
PlateW
>
7
)
reelhighdiff
=
ConfigHelper
.
Config
.
Get
(
"Device_1315_ReelHeight_Compensation"
,
0
);
Comp_PH
=
Config
.
Comp_P2
-
Config
.
Comp_PoToMM
*
(
reel
.
PlateH
-
8
+
Config
.
Comp_PH_MM
+
20
);
Comp_PH
=
Config
.
Comp_P2
-
Config
.
Comp_PoToMM
*
(
reel
.
PlateH
-
8
+
Config
.
Comp_PH_MM
+
ConfigHelper
.
Config
.
Get
(
"Device_NGDoor_Compensation"
,
20
)
);
Comp_PL
=
Config
.
Comp_P2
-
Config
.
Comp_PoToMM
*
(
reel
.
PlateH
-
8
+
reelhighdiff
)
-
(
reel
.
PlateH
>
8
?
Config
.
Comp_PoToMM
*
Config
.
Comp_PL_MM
:
0
);
Comp_PH
=
Comp_PH
<
0
?
0
:
Comp_PH
;
Comp_PL
=
Comp_PL
<
0
?
0
:
Comp_PL
;
...
...
DeviceLibrary/theMachine/MainMachine.cs
查看文件 @
8359205
...
...
@@ -572,15 +572,15 @@ namespace DeviceLibrary
bool
SafeCheck
()
{
bool
ok
=
true
;
var
ignorestring
=
"["
+
crc
.
GetString
(
L
.
ignored
,
"已忽略"
)
+
"]"
;
if
(
IOValue
(
IO_Type
.
SafetyLightCurtains
).
Equals
(
IO_VALUE
.
LOW
))
{
if
(!
IgnoreSafecheck
)
// && IOValue(IO_Type.NGDoor_Open).Equals(IO_VALUE.HIGH))
{
ok
=
false
;
DeviceSuddenStop
();
}
Msg
.
add
(
crc
.
GetString
(
L
.
SafetyLight_is_block
,
"安全光栅被遮挡"
)
+
(
ok
?
ignorestring
:
""
),
MsgLevel
.
warning
);
}
//
if (IOValue(IO_Type.SafetyLightCurtains).Equals(IO_VALUE.LOW))
//
{
//
if (!IgnoreSafecheck)// && IOValue(IO_Type.NGDoor_Open).Equals(IO_VALUE.HIGH))
//
{
//
ok = false;
//
DeviceSuddenStop();
//
}
//
Msg.add(crc.GetString(L.SafetyLight_is_block, "安全光栅被遮挡") + (ok ? ignorestring : ""), MsgLevel.warning);
//
}
if
(
ConfigHelper
.
Config
.
Get
(
"Device_IO_X08IsStringDoor_SafetyLightCurtains"
,
false
))
{
if
(
IOValue
(
IO_Type
.
StringFront_Check
).
Equals
(
IO_VALUE
.
LOW
)
&&
IOValue
(
IO_Type
.
AGV_OnPosition
).
Equals
(
IO_VALUE
.
LOW
)
&&
IOValue
(
IO_Type
.
StringDoor_Close
).
Equals
(
IO_VALUE
.
LOW
))
...
...
LoadCVSLibrary/LoadCSVLibrary.csproj
查看文件 @
8359205
...
...
@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>OnlineStore.LoadCSVLibrary</RootNamespace>
<AssemblyName>LoadCSVLibrary</AssemblyName>
<TargetFrameworkVersion>v4.6.
1
</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.
2
</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
...
...
TheMachine/App.config
查看文件 @
8359205
...
...
@@ -57,7 +57,7 @@
</
root
>-->
</
log4net
>
<
startup
>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.6.
1
"
/>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.6.
2
"
/>
</
startup
>
<
runtime
>
<
assemblyBinding
xmlns
=
"urn:schemas-microsoft-com:asm.v1"
>
...
...
TheMachine/Form1.cs
查看文件 @
8359205
...
...
@@ -352,6 +352,7 @@ namespace TheMachine
else
if
(
msg
.
errInfo
==
ErrInfo
.
RunBtn
||
msg
.
errInfo
==
ErrInfo
.
ResetBtn
)
{
Task
.
Run
(()=>
{
Task
.
Delay
(
2000
).
Wait
();
if
(!
RobotManage
.
isRunning
)
btn_run_Click
(
this
,
EventArgs
.
Empty
);
});
...
...
TheMachine/Properties/Resources.Designer.cs
查看文件 @
8359205
...
...
@@ -19,7 +19,7 @@ namespace TheMachine.Properties {
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCodeAttribute
(
"System.Resources.Tools.StronglyTypedResourceBuilder"
,
"1
6
.0.0.0"
)]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCodeAttribute
(
"System.Resources.Tools.StronglyTypedResourceBuilder"
,
"1
7
.0.0.0"
)]
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
[
global
::
System
.
Runtime
.
CompilerServices
.
CompilerGeneratedAttribute
()]
internal
class
Resources
{
...
...
TheMachine/Properties/Settings.Designer.cs
查看文件 @
8359205
...
...
@@ -12,7 +12,7 @@ namespace TheMachine.Properties {
[
global
::
System
.
Runtime
.
CompilerServices
.
CompilerGeneratedAttribute
()]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCodeAttribute
(
"Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator"
,
"1
6.10
.0.0"
)]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCodeAttribute
(
"Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator"
,
"1
7.5
.0.0"
)]
internal
sealed
partial
class
Settings
:
global
::
System
.
Configuration
.
ApplicationSettingsBase
{
private
static
Settings
defaultInstance
=
((
Settings
)(
global
::
System
.
Configuration
.
ApplicationSettingsBase
.
Synchronized
(
new
Settings
())));
...
...
TheMachine/TheMachine.csproj
查看文件 @
8359205
...
...
@@ -8,7 +8,7 @@
<OutputType>WinExe</OutputType>
<RootNamespace>TheMachine</RootNamespace>
<AssemblyName>MIMO_PLUS</AssemblyName>
<TargetFrameworkVersion>v4.6.
1
</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.
2
</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>false</Deterministic>
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论