111,128
社区成员
发帖
与我相关
我的任务
分享///
///单行文字和多行文字对象窗口的属性
///
public struct TextWindowsAttribute
{
[XmlAttribute("NodeName")]
public string NodeName; //节点名字
[XmlElement("NodeText")]
public string NodeText; //节点文本
[XmlElement("NodeIndex")]
public int NodeIndex; //节点序号
[XmlElement("X")]
public int X; //X坐标
[XmlElement("Y")]
public int Y; //Y坐标
[XmlElement("Width")]
public int Width; //宽度
[XmlElement("Height")]
public int Height; //高度
[XmlElement("Text")]
public string Text; //文字
[XmlElement("FontName")]
public string FontName; //字体
[XmlElement("FontSize")]
public float FontSize; //字号
[XmlElement("FontBold")]
public bool FontBold; //是否粗体
[XmlElement("FontItalic")]
public bool FontItalic; //是否斜体
[XmlElement("FontUnderline")]
public bool FontUnderline; //是否有下划线
[XmlElement("FontColor")]
public int FontColor; //文字颜色
}
///
///时间对象窗口的属性
///
public struct TimeWindowsAttribute
{
[XmlAttribute("NodeName")]
public string NodeName; //节点名字
[XmlElement("NodeText")]
public string NodeText; //节点文本
[XmlElement("NodeIndex")]
public int NodeIndex; //节点序号
[XmlElement("X")]
public int X; //X坐标
[XmlElement("Y")]
public int Y; //Y坐标
[XmlElement("Width")]
public int Width; //宽度
[XmlElement("Height")]
public int Height; //高度
[XmlElement("FontName")]
public string FontName; //字体
[XmlElement("FontSize")]
public float FontSize; //字号
[XmlElement("FontBold")]
public bool FontBold; //是否粗体
[XmlElement("FontItalic")]
public bool FontItalic; //是否斜体
[XmlElement("FontUnderline")]
public bool FontUnderline; //是否有下划线
[XmlElement("FontColor")]
public int FontColor; //文字颜色
}
///
///LED显示屏对象窗口的属性
///
public struct LEDWindowsAttribute
{
[XmlAttribute("NodeName")]
public string NodeName; //节点名字
[XmlElement("NodeText")]
public string NodeText; //节点文本
[XmlElement("NodeIndex")]
public int NodeIndex; //节点序号
[XmlElement("X")]
public int X; //X坐标
[XmlElement("Y")]
public int Y; //Y坐标
[XmlElement("Width")]
public int Width; //宽度
[XmlElement("Height")]
public int Height; //高度
}