Files
2026-06-08 17:06:10 +08:00

27 lines
578 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MesWork
{
public partial class Temp { }
public partial class MesWorkForm
{
private static void Heartbeat(string opName, string tagValue)
{
if (tagValue == "1")
{
WritePLC((int)EnumTagTypeCodeID.HeartBeatMIS, opName, true);
}
else
{
WritePLC((int)EnumTagTypeCodeID.HeartBeatMIS, opName, false);
}
}
}
}