Files
ENIG/Cs_HMI/Project/StateMachine/_SPS.cs
backuppc 98d638cd9a ..
2025-12-05 17:31:56 +09:00

43 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Media.Animation;
using AR;
using arCtl;
using COMM;
using Project.StateMachine;
namespace Project
{
/// <summary>
/// SPS (Scan Per Second) 이벤트 핸들러
/// - 장치 연결 및 상태 전송 기능은 _DeviceManagement.cs로 분리됨
/// </summary>
public partial class fMain
{
DateTime chargesynctime = DateTime.Now;
DateTime agvsendstarttime = DateTime.Now;
void sm_SPS(object sender, EventArgs e)
{
if (PUB.sm.Step < eSMStep.IDLE || PUB.sm.Step >= eSMStep.CLOSING) return;
// SPS는 이제 간단한 작업만 수행
// 장치 연결 및 상태 전송은 별도 태스크(_DeviceManagement.cs)에서 처리
try
{
// 여기에 SPS에서 처리해야 할 간단한 작업만 남김
// 현재는 비어있음 - 필요한 경우 추가
}
catch (Exception ex)
{
PUB.log.AddE($"sm_SPS Exception: {ex.Message}");
}
}
}
}