修改
This commit is contained in:
@@ -2285,7 +2285,7 @@ namespace CapMachine.Wpf.Services
|
||||
/// <returns></returns>
|
||||
public bool SysReset()
|
||||
{
|
||||
return true;
|
||||
//return true;
|
||||
|
||||
//取消XXX
|
||||
var FindData = ListHandSwitchData.Where(a => a.Name == "复位");
|
||||
@@ -2310,7 +2310,7 @@ namespace CapMachine.Wpf.Services
|
||||
/// <returns></returns>
|
||||
public bool SysMute()
|
||||
{
|
||||
return true;
|
||||
//return true;
|
||||
|
||||
//取消XXX
|
||||
var FindData = ListHandSwitchData.Where(a => a.Name == "消音");
|
||||
@@ -2336,18 +2336,18 @@ namespace CapMachine.Wpf.Services
|
||||
/// <returns></returns>
|
||||
public bool SysStart()
|
||||
{
|
||||
return true;
|
||||
//return true;
|
||||
|
||||
//取消XXX
|
||||
//var Result = SiemensDrive.Write("M0.4", true);
|
||||
//if (Result.IsSuccess)
|
||||
//{
|
||||
// return true;
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// return false;
|
||||
//}
|
||||
var Result = SiemensDrive.Write("M0.4", true);
|
||||
if (Result.IsSuccess)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -2357,7 +2357,7 @@ namespace CapMachine.Wpf.Services
|
||||
/// <returns></returns>
|
||||
public bool SysEnd()
|
||||
{
|
||||
return true;
|
||||
//return true;
|
||||
|
||||
//取消XXX
|
||||
var Result = SiemensDrive.Write("M0.7", true);
|
||||
@@ -2379,7 +2379,7 @@ namespace CapMachine.Wpf.Services
|
||||
/// <returns></returns>
|
||||
public bool SysPause()
|
||||
{
|
||||
return true;
|
||||
//return true;
|
||||
|
||||
//取消XXX
|
||||
var StateResult = SiemensDrive.ReadBool("M0.6");
|
||||
|
||||
Reference in New Issue
Block a user