..
This commit is contained in:
@@ -10,6 +10,7 @@ using System.Threading.Tasks;
|
||||
using System.Drawing.Imaging;
|
||||
using System.Runtime.InteropServices;
|
||||
using AR;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace Project.Device
|
||||
{
|
||||
@@ -323,7 +324,30 @@ namespace Project.Device
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public bool BSave(int no)
|
||||
{
|
||||
var cmd = "BSAVE,{no}";
|
||||
try
|
||||
{
|
||||
ws.Send(cmd + "\r");
|
||||
return true;
|
||||
}
|
||||
catch {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
public bool BLoad(int no)
|
||||
{
|
||||
var cmd = "BLOAD,{no}";
|
||||
try
|
||||
{
|
||||
ws.Send(cmd + "\r");
|
||||
return true;
|
||||
}
|
||||
catch {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
public void Trigger(bool bOn)
|
||||
{
|
||||
//if (IsTriggerOn) return;
|
||||
|
||||
Reference in New Issue
Block a user