annotate datagear/command/TakeCommand.cs @ 71:1169915705ab default tip

fix TopologyNode connect
author KaitoMaeshiro <aosskaito@cr.ie.u-ryukyu.ac.jp>
date Sun, 06 Feb 2022 16:47:41 +0900
parents 9217d14cc220
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
7352793b5dbe add some Commands
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 using System.IO;
7352793b5dbe add some Commands
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
7352793b5dbe add some Commands
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 namespace Christie_net.datagear.command {
7352793b5dbe add some Commands
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 public class TakeCommand : Command{
7352793b5dbe add some Commands
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 public TakeCommand(CommandBuilder cb) : base(cb) {
7352793b5dbe add some Commands
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 this.clazz = dg.GetClazz();
7352793b5dbe add some Commands
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 }
7352793b5dbe add some Commands
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 public override void Execute() {
29
0cd2684e401b update InputDataGear and more
riono <e165729@ie.u-ryukyu.ac.jp>
parents: 16
diff changeset
9 cg.GetIdg().SetInputs(key, dg);
16
7352793b5dbe add some Commands
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 }
7352793b5dbe add some Commands
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11
39
9217d14cc220 fix NetworkStream
riono <e165729@ie.u-ryukyu.ac.jp>
parents: 29
diff changeset
12 public override byte[] Convert() {
16
7352793b5dbe add some Commands
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 return null;
7352793b5dbe add some Commands
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 }
7352793b5dbe add some Commands
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 }
7352793b5dbe add some Commands
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 }