|
using System;
using System.IO;
using System.Xml.Serialization;
namespace ProcessorData
{
/// <summary>
/// Summary description for Data
/// </summary>
public class Data
{
private Guid guidClient;
private Guid guidType;
private string name;
private string strServerObjectName;
private string strCommandText;
private int iCommandID;
private string strResult;
private string strError;
public void Init(string name, string strServerObjectName, Guid guidClient, Guid guidType,
string strCommandText, int iCommandID)
{
this.name = name;
this.strServerObjectName = strServerObjectName;
this.guidClient = guidClient;
this.guidType = guidType;
this.strCommandText = strCommandText;
this.iCommandID = iCommandID;
}
public int CommandID
{
get { return this.iCommandID; }
set { this.iCommandID = value; }
}
public string Name
{
get { return this.name; }
set { this.name = value; }
}
public string ServerObjectName
{
get { return this.strServerObjectName; }
set { this.strServerObjectName = value; }
}
public Guid GuidType
{
get { return this.guidType; }
set { this.guidType = value; }
}
public Guid GuidClient
{
get { return this.guidClient; }
set { this.guidClient = value; }
}
public string CommandText
{
get { return this.strCommandText; }
set { this.strCommandText = value; }
}
public string Result
{
get { return this.strResult; }
set { this.strResult = value; }
}
public string Error
{
get { return this.strError; }
set { this.strError = value; }
}
static public string[] SplitString(string str)
{
char[] separator = new char[] {'|'};
return str.Split(separator);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here