Background Color:
 
Background Pattern:
Reset
Tuesday, September 26, 2017
menu click
Search

RCharDev

using System;
using StatConnectorCommonLib;
using System.Text;

namespace RNET {
public class RCharDev:IStatConnectorCharacterDevice {
private StringBuilder _sb=new StringBuilder();

public RCharDev() {
}

public void Clear(){
_sb=
new StringBuilder();
}

public void WriteString(string s){
_sb.Append(s);
}

public void WriteStringLevel(string s, int l){
_sb.Append(
new string(' ',l));
_sb.Append(s);
}

public string Text{
get{
return _sb.ToString();
}
}
}
}