This commit is contained in:
chi
2025-04-24 11:51:55 +09:00
parent 0a93a54a6f
commit f71b963851
62 changed files with 1748 additions and 4105 deletions

View File

@@ -6,6 +6,8 @@ using System.Threading;
using System.Threading.Tasks;
using arDev.Arduino;
using COMM;
using AR;
namespace arDev
{
@@ -17,7 +19,7 @@ namespace arDev
public FakePLC()
{
COMM.VAR.Init(128);
VAR.Init(128);
}
~FakePLC()
@@ -198,12 +200,12 @@ namespace arDev
}
public Boolean GetFlag(int flag)
{
return COMM.VAR.BOOL[flag];
return VAR.BOOL[flag];
}
public Boolean GetFlag(COMM.eVarBool flag)
{
return COMM.VAR.BOOL[(int)flag];
return VAR.BOOL[(int)flag];
}
public Boolean SetFlag(byte idx, Boolean value)