view Test/Example/RemoteTake/RTCommand.cs @ 36:3929e66a6645

add RemoteTakeTest
author riono <e165729@ie.u-ryukyu.ac.jp>
date Tue, 11 May 2021 19:02:08 +0900
parents
children 090be804eaa9
line wrap: on
line source

using MessagePack;

namespace Christie_net.Test.Example.RemoteTake {

[MessagePackObject]
public class RTCommand {
    public string line;
    public string cmd;
    public int offset;

    public RTCommand(string line, string cmd, int i) {
        this.line = line;
        this.cmd = cmd;
        this.offset = i;
    }

    public override string ToString() {
        return "RTCommand{ line=" + line + "\\" +
               ", cmd=" + cmd + "\\" + ", offset=" + offset + "}";
    }
}
}