Exemplo n.º 1
0
 public Observation(Component.IIdentity entity, Component.IIdentity observable, DateTimeOffset date, Component.IMeasurement measurement)
 {
     Entity      = entity;
     Observable  = observable;
     Date        = date;
     Measurement = measurement;
 }
Exemplo n.º 2
0
 public Action(Component.IIdentity entity, Component.IIdentity actionable, Component.IIdentity actor, IEnumerable <Component.IParameterValue> parameterValues)
 {
     Entity          = entity;
     Actionable      = actionable;
     Actor           = actor;
     ParameterValues = parameterValues;
 }
Exemplo n.º 3
0
 public Observation(Component.IIdentity entityIdentity, Component.IIdentity observableIdentity, DateTimeOffset asOf, Component.IMeasurement measurement)
 {
     EntityIdentity     = entityIdentity;
     ObservableIdentity = observableIdentity;
     AsOf        = asOf;
     Measurement = measurement;
 }
Exemplo n.º 4
0
        public void CanMapUniqueIdentifierFromSchemaToComponent()
        {
            Hml.Schema.Identity identifier = new Hml.Schema.Identity {
                Value = "Identifier"
            };

            Component.IIdentity identity = _subject.ToComponent(identifier);

            Assert.IsNotNull(identity);
        }
Exemplo n.º 5
0
 public Remove(Component.IIdentity registrar, Component.IIdentity component)
 {
     Registrar = registrar;
     Component = component;
 }
Exemplo n.º 6
0
 public Add(Component.IIdentity registrar, Component.IComponent component)
 {
     Registrar = registrar;
     Component = component;
 }
Exemplo n.º 7
0
 public Subscribe(Component.IIdentity entity, Component.IIdentity observable, Component.IIdentity subscriber)
 {
     Entity     = entity;
     Observable = observable;
     Subscriber = subscriber;
 }
Exemplo n.º 8
0
 public Deregister(Component.IIdentity registrar, Component.IIdentity entity)
 {
     Registrar = registrar;
     Entity    = entity;
 }
Exemplo n.º 9
0
 public IAction BuildAction(Component.IIdentity actor, Component.IIdentity entity, Component.IIdentity actionable, IEnumerable <Component.IParameterValue> parameterValues)
 {
     return(new Action(entity, actionable, actor, parameterValues));
 }
Exemplo n.º 10
0
 public IObservation BuildObservation(Component.IIdentity entity, Component.IIdentity observable, DateTimeOffset date, Component.IMeasurement measurement)
 {
     return(new Observation(entity, observable, date, measurement));
 }
Exemplo n.º 11
0
 public With.Message.IRemove BuildRemoval(Component.IIdentity registrar, Component.IIdentity component)
 {
     return(new Remove(registrar, component));
 }
Exemplo n.º 12
0
 public With.Message.IAdd BuildAddition(Component.IIdentity registrar, Component.IComponent component)
 {
     return(new Add(registrar, component));
 }
Exemplo n.º 13
0
 public IDeregister BuildDeregistration(Component.IIdentity registrar, Component.IIdentity entity)
 {
     return(new Deregister(registrar, entity));
 }
Exemplo n.º 14
0
 public IRegister BuildRegistration(Component.IIdentity registrar, Component.IEntity entity)
 {
     return(new Register(registrar, entity));
 }
Exemplo n.º 15
0
 public Ignore(Component.IIdentity entity, Component.IIdentity observable, Component.IIdentity observer)
 {
     Entity     = entity;
     Observable = observable;
     Observer   = observer;
 }
Exemplo n.º 16
0
        public void Remove(Component.IIdentity device)
        {
            //Object.Description description = _objectFactory.Describe(device);

            //Remove(description.Path);
        }