Mercurial > hg > Database > Christie-sharp
view Test/Example/RemoteTake/StartRemoteTake.cs @ 45:98ee1ee1efb7
error message is change
author | riono <e165729@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 30 Nov 2021 19:34:24 +0900 |
parents | 87d88bc28ac0 |
children | 41aae40a611c |
line wrap: on
line source
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); } } }