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.
31 lines
646 B
C#
31 lines
646 B
C#
namespace OPCDA.NET
|
|
{
|
|
using OPC;
|
|
using OPCDA;
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
[Serializable]
|
|
public class OPCItemResult
|
|
{
|
|
public OPCACCESSRIGHTS AccessRights;
|
|
public byte[] Blob;
|
|
public VarEnum CanonicalDataType;
|
|
public int Error;
|
|
public int HandleServer;
|
|
|
|
public Type CanonicalType
|
|
{
|
|
get
|
|
{
|
|
return types.ConvertToSystemType(this.CanonicalDataType);
|
|
}
|
|
set
|
|
{
|
|
this.CanonicalDataType = types.ConvertToVarType(value);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|