[성현모] CPXV2 Init

This commit is contained in:
SHM
2024-06-26 10:30:00 +09:00
parent cdf12248c5
commit 5958993b6a
588 changed files with 698420 additions and 0 deletions

View File

@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using SystemX.Common;
using SystemX.Common.Serialization;
using SystemX.Net.BaseProtocol;
using SystemX.Net.XAdaptor.PC;
using SystemX.Net.Schedule;
namespace SystemX.Net.XAdaptor.PC.ProtocolMethod
{
public class CONNECT_STATE : ProtocolShell, IProtocol
{
public CONNECT_STATE(XAdaptorPC xAdaptor, int iPos)
: base(xAdaptor, iPos)
{
}
public override void ExecuteProtocol(BASE_PROTOCOL GET_PROTOCOL,
BASE_PROTOCOL.PROTOCOL_CODE CODE,
HEADER_PACKET getHeader,
object objData)
{
}
}
}

View File

@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using SystemX.Common;
using SystemX.Common.Serialization;
using SystemX.Net.BaseProtocol;
using SystemX.Net.XAdaptor.PC;
using SystemX.Net.Schedule;
namespace SystemX.Net.XAdaptor.PC.ProtocolMethod
{
public class HOST_INFO_CHECK : ProtocolShell, IProtocol
{
public HOST_INFO_CHECK(XAdaptorPC xAdaptor, int iPos)
: base(xAdaptor, iPos)
{
}
public override void ExecuteProtocol(BASE_PROTOCOL GET_PROTOCOL,
BASE_PROTOCOL.PROTOCOL_CODE CODE,
HEADER_PACKET getHeader,
object objData)
{
}
}
}

View File

@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using SystemX.Common;
using SystemX.Common.Serialization;
using SystemX.Net.BaseProtocol;
using SystemX.Net.XAdaptor.PC;
using SystemX.Net.Schedule;
namespace SystemX.Net.XAdaptor.PC.ProtocolMethod
{
public class INITILALIZE_INFO : ProtocolShell, IProtocol
{
public INITILALIZE_INFO(XAdaptorPC xAdaptor, int iPos)
: base(xAdaptor, iPos)
{
}
public override void ExecuteProtocol(BASE_PROTOCOL GET_PROTOCOL,
BASE_PROTOCOL.PROTOCOL_CODE CODE,
HEADER_PACKET getHeader,
object objData)
{
}
}
}

View File

@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemX.Common.Protocol.SIA;
using SystemX.Net.BaseProtocol;
using SystemX.Net.XAdaptor.PC;
using SystemX.Net.Schedule;
namespace SystemX.Net.XAdaptor.PC.ProtocolMethod
{
public interface IProtocol
{
}
public class ProtocolShell
{
public XAdaptorPC xAdaptor_;
//protected CustomProtocol_ cp = new CustomProtocol_();
protected int nPos;
public ProtocolShell(XAdaptorPC xAdaptor, int iPos)
{
xAdaptor_ = xAdaptor;
nPos = iPos;
}
public virtual void ExecuteProtocol(BASE_PROTOCOL GET_PROTOCOL,
BASE_PROTOCOL.PROTOCOL_CODE CODE,
HEADER_PACKET getHeader,
object objData){ /*Virtual*/ }
}
}