public void Modify(int p_EntityOperation_OID, string p_name, MoSIoTGenNHibernate.Enumerated.MosIoT.DataTypeEnum p_type, MoSIoTGenNHibernate.Enumerated.MosIoT.ServiceTypeEnum p_serviceType, string p_description) { EntityOperationEN entityOperationEN = null; //Initialized EntityOperationEN entityOperationEN = new EntityOperationEN(); entityOperationEN.Id = p_EntityOperation_OID; entityOperationEN.Name = p_name; entityOperationEN.Type = p_type; entityOperationEN.ServiceType = p_serviceType; entityOperationEN.Description = p_description; //Call to EntityOperationCAD _IEntityOperationCAD.Modify(entityOperationEN); }
public int New_(string p_name, MoSIoTGenNHibernate.Enumerated.MosIoT.DataTypeEnum p_type, MoSIoTGenNHibernate.Enumerated.MosIoT.ServiceTypeEnum p_serviceType, string p_description, int p_entity) { EntityOperationEN entityOperationEN = null; int oid; //Initialized EntityOperationEN entityOperationEN = new EntityOperationEN(); entityOperationEN.Name = p_name; entityOperationEN.Type = p_type; entityOperationEN.ServiceType = p_serviceType; entityOperationEN.Description = p_description; if (p_entity != -1) { // El argumento p_entity -> Property entity es oid = false // Lista de oids id entityOperationEN.Entity = new MoSIoTGenNHibernate.EN.MosIoT.EntityEN(); entityOperationEN.Entity.Id = p_entity; } //Call to EntityOperationCAD oid = _IEntityOperationCAD.New_(entityOperationEN); return(oid); }
private void init(int id , MoSIoTGenNHibernate.EN.MosIoT.CommandEN command, string name, MoSIoTGenNHibernate.Enumerated.MosIoT.DataTypeEnum type, MoSIoTGenNHibernate.Enumerated.MosIoT.ServiceTypeEnum serviceType, string description, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.EntityArgumentEN> entityArgument, MoSIoTGenNHibernate.EN.MosIoT.EntityEN entity, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.RecipeActionEN> ruleAction, MoSIoTGenNHibernate.EN.MosIoT.EntityStateEN originState, MoSIoTGenNHibernate.EN.MosIoT.EntityStateEN targetState, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.RecipeTriggerEN> triggers) { this.Id = id; this.Command = command; this.Name = name; this.Type = type; this.ServiceType = serviceType; this.Description = description; this.EntityArgument = entityArgument; this.Entity = entity; this.RuleAction = ruleAction; this.OriginState = originState; this.TargetState = targetState; this.Triggers = triggers; }
public IMCommandEN(int id, MoSIoTGenNHibernate.EN.MosIoT.CommandEN command , string name, MoSIoTGenNHibernate.Enumerated.MosIoT.DataTypeEnum type, MoSIoTGenNHibernate.Enumerated.MosIoT.ServiceTypeEnum serviceType, string description, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.EntityArgumentEN> entityArgument, MoSIoTGenNHibernate.EN.MosIoT.EntityEN entity, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.RecipeActionEN> ruleAction, MoSIoTGenNHibernate.EN.MosIoT.EntityStateEN originState, MoSIoTGenNHibernate.EN.MosIoT.EntityStateEN targetState, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.RecipeTriggerEN> triggers ) { this.init(Id, command, name, type, serviceType, description, entityArgument, entity, ruleAction, originState, targetState, triggers); }
public void Modify(int p_Notify_OID, string p_name, MoSIoTGenNHibernate.Enumerated.MosIoT.DataTypeEnum p_type, MoSIoTGenNHibernate.Enumerated.MosIoT.ServiceTypeEnum p_serviceType, string p_description) { NotifyEN notifyEN = null; //Initialized NotifyEN notifyEN = new NotifyEN(); notifyEN.Id = p_Notify_OID; notifyEN.Name = p_name; notifyEN.Type = p_type; notifyEN.ServiceType = p_serviceType; notifyEN.Description = p_description; //Call to NotifyCAD _INotifyCAD.Modify(notifyEN); }
public void Modify(int p_IMCommand_OID, string p_name, MoSIoTGenNHibernate.Enumerated.MosIoT.DataTypeEnum p_type, MoSIoTGenNHibernate.Enumerated.MosIoT.ServiceTypeEnum p_serviceType, string p_description) { IMCommandEN iMCommandEN = null; //Initialized IMCommandEN iMCommandEN = new IMCommandEN(); iMCommandEN.Id = p_IMCommand_OID; iMCommandEN.Name = p_name; iMCommandEN.Type = p_type; iMCommandEN.ServiceType = p_serviceType; iMCommandEN.Description = p_description; //Call to IMCommandCAD _IIMCommandCAD.Modify(iMCommandEN); }
public int New_(string p_name, MoSIoTGenNHibernate.Enumerated.MosIoT.DataTypeEnum p_type, MoSIoTGenNHibernate.Enumerated.MosIoT.ServiceTypeEnum p_serviceType, string p_description, int p_entity, int p_command) { IMCommandEN iMCommandEN = null; int oid; //Initialized IMCommandEN iMCommandEN = new IMCommandEN(); iMCommandEN.Name = p_name; iMCommandEN.Type = p_type; iMCommandEN.ServiceType = p_serviceType; iMCommandEN.Description = p_description; if (p_entity != -1) { // El argumento p_entity -> Property entity es oid = false // Lista de oids id iMCommandEN.Entity = new MoSIoTGenNHibernate.EN.MosIoT.EntityEN(); iMCommandEN.Entity.Id = p_entity; } if (p_command != -1) { // El argumento p_command -> Property command es oid = false // Lista de oids id iMCommandEN.Command = new MoSIoTGenNHibernate.EN.MosIoT.CommandEN(); iMCommandEN.Command.Id = p_command; } //Call to IMCommandCAD oid = _IIMCommandCAD.New_(iMCommandEN); return(oid); }