Mercurial > hg > Database > Christie-sharp
changeset 15:49521c7269bc
fix namespace
author | riono <e165729@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 21 Nov 2020 02:21:04 +0900 |
parents | 277dd59bf1e2 |
children | 7352793b5dbe |
files | datagear/DataGears.cs datagear/command/Command.cs |
diffstat | 2 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/datagear/DataGears.cs Sat Nov 21 02:03:24 2020 +0900 +++ b/datagear/DataGears.cs Sat Nov 21 02:21:04 2020 +0900 @@ -2,8 +2,9 @@ using System.Collections.Concurrent; using System.Collections.Generic; using Christie_net.datagear.command; +using Christie_net.datagear.dg; -namespace Christie_net.datagear.dg { +namespace Christie_net.datagear { public class DataGears { protected SortedDictionary<string, ConcurrentQueue<DataGear<object>>> dataGears = new SortedDictionary<string, ConcurrentQueue<DataGear<object>>>();
--- a/datagear/command/Command.cs Sat Nov 21 02:03:24 2020 +0900 +++ b/datagear/command/Command.cs Sat Nov 21 02:21:04 2020 +0900 @@ -36,9 +36,9 @@ // for remote public abstract byte[] Convert(); - // public RemoteMassage CreateRemoteMessage() { - // return new RemoteMassage(type.id); - // } + public RemoteMessage CreateRemoteMessage() { + return new RemoteMessage(type.id, fromDgmName, key, clazz.Name); + } public void SetDg(Object obj) { this.dg.SetData(obj);