annotate Test/Example/RemoteTake/FinishRemoteTake.cs @ 36:3929e66a6645

add RemoteTakeTest
author riono <e165729@ie.u-ryukyu.ac.jp>
date Tue, 11 May 2021 19:02:08 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
36
3929e66a6645 add RemoteTakeTest
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 using Christie_net.annotation;
3929e66a6645 add RemoteTakeTest
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 using Christie_net.codegear;
3929e66a6645 add RemoteTakeTest
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
3929e66a6645 add RemoteTakeTest
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 namespace Christie_net.Test.Example.RemoteTake {
3929e66a6645 add RemoteTakeTest
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 public class FinishRemoteTake : CodeGear {
3929e66a6645 add RemoteTakeTest
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 [Take] public string finish;
3929e66a6645 add RemoteTakeTest
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7
3929e66a6645 add RemoteTakeTest
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 public override void Run(CodeGearManager cgm) {
3929e66a6645 add RemoteTakeTest
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 cgm.GetDGM("remote").Finish();
3929e66a6645 add RemoteTakeTest
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 cgm.GetLocalDGM().Finish();
3929e66a6645 add RemoteTakeTest
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 }
3929e66a6645 add RemoteTakeTest
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 }
3929e66a6645 add RemoteTakeTest
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 }