Commit dbb0dbb9 authored by 潘栩锋's avatar 潘栩锋 🚴

修复 FObject.Reflect_Proxy 接收到客户端的推送,但不会再发送给其它客户端

parent d17b0a44
...@@ -183,8 +183,8 @@ namespace FObjBase.Reflect ...@@ -183,8 +183,8 @@ namespace FObjBase.Reflect
private void Obj_PropertyChanged(object sender, PropertyChangedEventArgs e) private void Obj_PropertyChanged(object sender, PropertyChangedEventArgs e)
{ {
if (ignoreSet)//从服务器接收的数据,不用再推送给服务器 //if (ignoreSet)//从服务器接收的数据,不用再推送给服务器
return; // return;
if (interfaceType == null) if (interfaceType == null)
return; return;
...@@ -207,8 +207,8 @@ namespace FObjBase.Reflect ...@@ -207,8 +207,8 @@ namespace FObjBase.Reflect
private void Sub_PropertyChanged(object sender, PropertyChangedEventArgs e) private void Sub_PropertyChanged(object sender, PropertyChangedEventArgs e)
{ {
if (ignoreSet)//从服务器接收的数据,不用再推送给服务器 //if (ignoreSet)//从服务器接收的数据,不用再推送给服务器
return; // return;
if (!subProperties.ContainsKey(sender)) if (!subProperties.ContainsKey(sender))
return;//异常, 不是子property return;//异常, 不是子property
...@@ -276,9 +276,9 @@ namespace FObjBase.Reflect ...@@ -276,9 +276,9 @@ namespace FObjBase.Reflect
case Reflect_OBJ_INTERFACE.CALL_SetProperty: case Reflect_OBJ_INTERFACE.CALL_SetProperty:
{ {
string json = Misc.Converter.BytesToString(infodata); string json = Misc.Converter.BytesToString(infodata);
ignoreSet = true; //ignoreSet = true;
JsonConvert.PopulateObject(json, obj); JsonConvert.PopulateObject(json, obj);
ignoreSet = false; //ignoreSet = false;
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment