38 lines
857 B
C#
38 lines
857 B
C#
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*/ }
|
|
}
|
|
}
|