| 1234567891011121314151617181920212223242526272829303132333435363738 |
- using System.Xml;
- namespace System.Net.HomeMatic {
- public class HMSystemNotification : HMBase {
- private string _hssType;
- private int _timestamp;
- protected override string GetClassName() {
- return "HMSystemNotification";
- }
- protected override string ValuesToString() {
- return this._hssType + ";" +
- this._timestamp.ToString() + ";";
- }
- public HMSystemNotification(HMApi Api) : base(Api) {
- }
- public HMSystemNotification(HMApi Api, XmlNode Data) :base(Api, Data) {
- this.Init(Data);
- }
- private void Init(XmlNode Data) {
- this._hssType = this.Attr_String(Data, "type");
- this._timestamp = this.Attr_Int32(Data, "timestamp");
- }
- public string HSS_Type {
- get { return this._hssType; }
- }
- public int TimeStamp {
- get { return this._timestamp; }
- }
- }
- }
|