Mercurial > hg > Database > Christie-sharp
view Test/Example/RemoteTake/StartRemoteTake.cs @ 46:41aae40a611c
bug fix
author | riono <e165729@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 07 Jan 2022 19:38:49 +0900 |
parents | 98ee1ee1efb7 |
children |
line wrap: on
line source
using System; using System.Threading; using Christie_net.codegear; namespace Christie_net.Test.Example.RemoteTake { public class StartRemoteTake : StartCodeGear { public StartRemoteTake(CodeGearManager cgm) : base(cgm) { } public static void Main() { CodeGearManager cgm = CreateCgm(10001); cgm.CreateRemoteDGM("remote", "localhost", 10001); cgm.Setup(new CreateRemoteTakeTest()); cgm.Setup(new FinishRemoteTake()); RTCommand cmd = new RTCommand("insert", "line", 0); cgm.GetDGM("remote").Put("command", cmd); //Thread.Sleep(9999); } } }