Пример #1
0
 protected override void EstablishContext()
 {
     base.EstablishContext();
     DigitalTag         = new DigitalTag(new DispatcherService(), 1, "name", () => "");
     ReturnedDigitalTag = IoDevice.AddDigTag(DigitalTag);
     NumericTag         = new NumericTag(new DispatcherService(), 1, "name", () => "", () => "", () => "", 0, 0);
     ReturnedNumericTag = IoDevice.AddNumTag(NumericTag);
 }
Пример #2
0
 protected override void EstablishContext()
 {
     base.EstablishContext();
     DigitalTag = new DigitalTag(new DispatcherService(), 1, "name", () => "");
     ReturnedDigitalTag = IoDevice.AddDigTag(DigitalTag);
     NumericTag = new NumericTag(new DispatcherService(), 1, "name", () => "", () => "", () => "", 0, 0);
     ReturnedNumericTag = IoDevice.AddNumTag(NumericTag);
 }