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); } } } }