- namespace/using ILSOS_PrismaticScanner → ILSOS_PrismaticRD_PTOP (전 .cs/.xaml) - 파일/클래스 리네임 7개: AlarmCode/AlarmManager/PAIX/EquipmentSpecificModel→_PTOP, RMSHandlerForScanner→ForPTOP, SettingUploadDataListForScanner→ForPTOP, SeqAutoRunPrismaticScanner→SeqAutoRunPrismatic, PLCControllerPrismaticScanner→PLCControllerPTOP - PAIX_PrismaticScanner: 머신 참조만 PAIX_PTOP로 변경, WeldingCommon 공유 참조(SeqTestRun)는 보존 - XAML 3종(x:Class/clr-namespace/code-behind) 일치, csproj Compile Include 갱신 - csproj 빌드 경로 TDC→PTOP(_out_prismatic_rd_ptop) - sln에서 Scanner/Gun/CleanLaser 제거 및 해당 머신 소스 삭제 → Machines에 PTOP만 - 분석/작업일지 문서 추가 (참고본: 정리후(빌드완) 기준) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
40 lines
1.2 KiB
C#
40 lines
1.2 KiB
C#
using Aurora;
|
|
using AuroraIO;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ILSOS_PrismaticRD_PTOP.Device.IO
|
|
{
|
|
public class PAIX_PTOP : IODevice
|
|
{
|
|
public PAIX_PTOP(IAuroraEnvironment auroraEnv, string deviceId, bool isSimul) : base(auroraEnv, deviceId, isSimul)
|
|
{
|
|
}
|
|
public int WriteDoBit(ePrismaticDOAddress index, bool bit) => _iOUnit.WriteDoBit((int)index, bit);
|
|
public bool ReadDiBit(ePrismaticDIAddress index) => _iOUnit.ReadDiBit((int)index);
|
|
|
|
public enum ePrismaticDIAddress
|
|
{
|
|
CoreLaser_Laser_Ready = 9,
|
|
CoreLaser_Error_State,
|
|
CoreLaser_Laser_Output_State,
|
|
CoreLaser_Control_Status,
|
|
RingLaser_Laser_Ready,
|
|
RingLaser_Error_State,
|
|
RingLaser_Laser_Output_State,
|
|
RingLaser_Control_Status = 23,
|
|
}
|
|
public enum ePrismaticDOAddress
|
|
{
|
|
CoreLaser_Control = 9,
|
|
CoreLaser_ErrorClearing,
|
|
RingLaser_Control = 13,
|
|
RingLaser_ErrorClearing,
|
|
EX_Red_Control = 17,
|
|
}
|
|
}
|
|
}
|