using MECF.Framework.Common.CommonData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Schema;
using System.Xml.Serialization;

namespace MECF.Framework.Common.Device.Festo
{
    public class FestoDO 
    {
        [XmlAttribute(AttributeName = "Name", Form = XmlSchemaForm.Unqualified, DataType = "string")]
        public string Name { get; set; }
        [XmlAttribute(AttributeName = "Address", Form = XmlSchemaForm.Unqualified, DataType = "int")]
        public int Address { get; set; }
        [XmlAttribute(AttributeName = "Bit", Form = XmlSchemaForm.Unqualified, DataType = "int")]
        public int Bit { get; set; }

        [XmlAttribute(AttributeName = "Invert", Form = XmlSchemaForm.Unqualified, DataType = "boolean")]
        public bool Invert { get; set; }

        public int DataIndex {  get; set; }
    }
}