view Test/Example/HelloWorld/HelloWorldCodeGear.cs @ 42:ce46626dddb1

RemoteDG string send test
author riono <e165729@ie.u-ryukyu.ac.jp>
date Sun, 19 Sep 2021 17:04:08 +0900
parents 6399d784c6d1
children
line wrap: on
line source

using System;
using Christie_net.annotation;
using Christie_net.codegear;
using Christie_net.Test.Example.RemoteTake;

namespace Christie_net.Test.Example.HelloWorld {
public class HelloWorldCodeGear : CodeGear {
    [Take] public string helloWorld;
    
    public override void Run(CodeGearManager cgm) {
        Console.Write(helloWorld + " " );
        cgm.Setup(new HelloWorldCodeGear());
        cgm.GetLocalDGM().Put(helloWorld, helloWorld);
    }
}
}