You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
686 B
C#

namespace OPCDA
{
using System;
using System.Runtime.InteropServices;
[Serializable, StructLayout(LayoutKind.Sequential, CharSet=CharSet.Unicode, Pack=2)]
public class SERVERSTATUS
{
public long ftStartTime;
public long ftCurrentTime;
public long ftLastUpdateTime;
[MarshalAs(UnmanagedType.U4)]
public OpcServerState eServerState;
public int dwGroupCount;
public int dwBandWidth;
public short wMajorVersion;
public short wMinorVersion;
public short wBuildNumber;
public short wReserved;
[MarshalAs(UnmanagedType.LPWStr)]
public string szVendorInfo;
}
}