34 lines
498 B
C#
34 lines
498 B
C#
using System;
|
|||
|
|
using System.Collections.Generic;
|
||
|
|
using System.Linq;
|
||
|
|
using System.Text;
|
||
|
|
using System.Threading.Tasks;
|
||
|
|
|
||
|
|
namespace PLCCommunication
|
||
|
|
{
|
||
|
|
public class TriggerParams
|
||
|
|
{
|
||
|
|
public int Index;
|
||
|
|
|
||
|
|
public string ThreadName;
|
||
|
|
|
||
|
|
public string TriggerAddr;
|
||
|
|
|
||
|
|
public string TriggerCmd;
|
||
|
|
|
||
|
|
public VarType TriggerType;
|
||
|
|
|
||
|
|
public string ResultAddr;
|
||
|
|
|
||
|
|
public VarType ResultType;
|
||
|
|
|
||
|
|
public bool IsRead;
|
||
|
|
|
||
|
|
public string ReadAddr;
|
||
|
|
|
||
|
|
public int ReadLength;
|
||
|
|
|
||
|
|
public VarType ReadType;
|
||
|
|
}
|
||
|
|
}
|