Ejemplo n.º 1
0
 /// <summary>
 /// Tries to optain a new Device id
 /// </summary>
 public void Setup()
 {
     ConfigController.DeviceId = clientCoreInstance.CreateEntity <RegisterDevice>().Id;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Generates a new Installation
 /// </summary>
 public void Setup(EntityId DeviceId)
 {
     ConfigController.InstallationId = clientCoreInstance.CreateEntity <RegisterInstallation>(DeviceId).Id;
     // assign id
     clientCoreInstance.Id = ConfigController.InstallationId;
 }