예제 #1
0
        public async Task StopAsync(string configuration, TargetDevice targetdevice, Action ApplicationStopped)
        {
            await api.ApplicationStopAsync(this.Id, configuration, targetdevice.Id);

            ApplicationStopped?.Invoke();
        }
예제 #2
0
 public DockerImageInstantiator(TargetDevice device)
 {
     this.device = device;
 }
예제 #3
0
 public DockerImages(TargetDevice device) : base("Id", new DockerImageInstantiator(device))
 {
     this.api    = TorizonAPIManager.GetDevicesApi();
     this.device = device;
 }
예제 #4
0
파일: Process.cs 프로젝트: toradex/moses
        public Processes(TargetDevice device) : base("Pid", new ProcessInstantiator())
        {
            this.device = device;

            api = TorizonAPIManager.GetDevicesApi();
        }