示例#1
0
        private void init(int id
                          , MoSIoTGenNHibernate.EN.MosIoT.DeviceTemplateEN deviceTemplate, string name, bool isWritable, bool isCloudable, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.TelemetryEN> telemetry)
        {
            this.Id = id;


            this.DeviceTemplate = deviceTemplate;

            this.Name = name;

            this.IsWritable = isWritable;

            this.IsCloudable = isCloudable;

            this.Telemetry = telemetry;
        }
示例#2
0
        private void init(int id
                          , MoSIoTGenNHibernate.EN.MosIoT.DeviceTemplateEN deviceTemplate, string name, bool isSynchronous, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.EventTelemetryEN> telemetries, MoSIoTGenNHibernate.Enumerated.MosIoT.OperationTypeEnum type, string description)
        {
            this.Id = id;


            this.DeviceTemplate = deviceTemplate;

            this.Name = name;

            this.IsSynchronous = isSynchronous;

            this.Telemetries = telemetries;

            this.Type = type;

            this.Description = description;
        }
        private void init(int id
                          , MoSIoTGenNHibernate.EN.MosIoT.DeviceTemplateEN deviceTemplate, double frecuency, MoSIoTGenNHibernate.EN.MosIoT.SpecificTelemetryEN typeTelemetry, MoSIoTGenNHibernate.Enumerated.MosIoT.DataTypeEnum schema, MoSIoTGenNHibernate.Enumerated.MosIoT.TypeUnitEnum unit, string name, MoSIoTGenNHibernate.Enumerated.MosIoT.TelemetryTypeEnum type, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.PropertyEN> properties, MoSIoTGenNHibernate.EN.MosIoT.MeasureEN vitalSign)
        {
            this.Id = id;


            this.DeviceTemplate = deviceTemplate;

            this.Frecuency = frecuency;

            this.TypeTelemetry = typeTelemetry;

            this.Schema = schema;

            this.Unit = unit;

            this.Name = name;

            this.Type = type;

            this.Properties = properties;

            this.VitalSign = vitalSign;
        }
示例#4
0
        private void init(int id
                          , bool deviceSwitch, string tag, bool isSimulated, string serialNumber, string firmVersion, string trademark, MoSIoTGenNHibernate.EN.MosIoT.DeviceTemplateEN deviceTemplate, string name, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.AssociationEN> originAssociation, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.AssociationEN> targetAssociation, MoSIoTGenNHibernate.EN.MosIoT.IoTScenarioEN scenario, string description, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.EntityOperationEN> operations, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.EntityAttributesEN> attributes, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.EntityStateEN> states)
        {
            this.Id = id;


            this.DeviceSwitch = deviceSwitch;

            this.Tag = tag;

            this.IsSimulated = isSimulated;

            this.SerialNumber = serialNumber;

            this.FirmVersion = firmVersion;

            this.Trademark = trademark;

            this.DeviceTemplate = deviceTemplate;

            this.Name = name;

            this.OriginAssociation = originAssociation;

            this.TargetAssociation = targetAssociation;

            this.Scenario = scenario;

            this.Description = description;

            this.Operations = operations;

            this.Attributes = attributes;

            this.States = states;
        }
示例#5
0
 public CommandEN(int id, MoSIoTGenNHibernate.EN.MosIoT.DeviceTemplateEN deviceTemplate, string name, bool isSynchronous, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.EventTelemetryEN> telemetries, MoSIoTGenNHibernate.Enumerated.MosIoT.OperationTypeEnum type, string description
                  )
 {
     this.init(Id, deviceTemplate, name, isSynchronous, telemetries, type, description);
 }
 public TelemetryEN(int id, MoSIoTGenNHibernate.EN.MosIoT.DeviceTemplateEN deviceTemplate, double frecuency, MoSIoTGenNHibernate.EN.MosIoT.SpecificTelemetryEN typeTelemetry, MoSIoTGenNHibernate.Enumerated.MosIoT.DataTypeEnum schema, MoSIoTGenNHibernate.Enumerated.MosIoT.TypeUnitEnum unit, string name, MoSIoTGenNHibernate.Enumerated.MosIoT.TelemetryTypeEnum type, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.PropertyEN> properties, MoSIoTGenNHibernate.EN.MosIoT.MeasureEN vitalSign
                    )
 {
     this.init(Id, deviceTemplate, frecuency, typeTelemetry, schema, unit, name, type, properties, vitalSign);
 }
示例#7
0
 public PropertyEN(int id, MoSIoTGenNHibernate.EN.MosIoT.DeviceTemplateEN deviceTemplate, string name, bool isWritable, bool isCloudable, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.TelemetryEN> telemetry
                   )
 {
     this.init(Id, deviceTemplate, name, isWritable, isCloudable, telemetry);
 }
示例#8
0
 public DeviceEN(int id, bool deviceSwitch, string tag, bool isSimulated, string serialNumber, string firmVersion, string trademark, MoSIoTGenNHibernate.EN.MosIoT.DeviceTemplateEN deviceTemplate
                 , string name, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.AssociationEN> originAssociation, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.AssociationEN> targetAssociation, MoSIoTGenNHibernate.EN.MosIoT.IoTScenarioEN scenario, string description, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.EntityOperationEN> operations, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.EntityAttributesEN> attributes, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.EntityStateEN> states
                 )
 {
     this.init(Id, deviceSwitch, tag, isSimulated, serialNumber, firmVersion, trademark, deviceTemplate, name, originAssociation, targetAssociation, scenario, description, operations, attributes, states);
 }