Mercurial > hg > Database > Christie-sharp
diff Test/Example/RemoteTake/CreateRemoteTakeTest.cs @ 36:3929e66a6645
add RemoteTakeTest
author | riono <e165729@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 11 May 2021 19:02:08 +0900 |
parents | |
children | ce46626dddb1 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Test/Example/RemoteTake/CreateRemoteTakeTest.cs Tue May 11 19:02:08 2021 +0900 @@ -0,0 +1,15 @@ +using System; +using Christie_net.annotation; +using Christie_net.codegear; + +namespace Christie_net.Test.Example.RemoteTake { +public class CreateRemoteTakeTest : CodeGear { + [Take] public RTCommand command; + + + public override void Run(CodeGearManager cgm) { + Console.WriteLine(command); + cgm.GetLocalDGM().Put("finish" , "end"); + } +} +} \ No newline at end of file