to3796zw 6223627821 CleanVersion_1st
PTOP 각형만 남은 버전
2026-06-18 11:15:10 +09:00

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,
}
}
}