initial commit

This commit is contained in:
2025-11-25 20:14:41 +09:00
commit 5cb1ff372c
559 changed files with 149800 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace Project
{
public partial class FMain
{
/// <summary>
/// 프로그램을 닫을때 1회 실행되는 함수
/// </summary>
private void _Close_Start()
{
//연결체크용 쓰레드 종료
bRunConnection = false;
this.thConnection.Abort();
//Light off 220714
DIO.SetRoomLight(false, true);
//Pub.dio.SetOutput((int)eDOName.ABRUN, false); //stop mgz loader a/c motor
PUB.log.Add("Program Close");
PUB.LogFlush();
//키엔트추가 210114
if(PUB.keyenceF != null)
{
PUB.keyenceF.ExecCommand("QUIT");
PUB.keyenceF.Dispose();
}
if(PUB.keyenceR != null)
{
PUB.keyenceR.ExecCommand("QUIT");
PUB.keyenceR.Dispose();
}
PUB.dio.StopMonitor();
PUB.mot.StopMonitor();
PUB.sm.Stop();
}
}
}