Commit 2afb984e authored by 潘栩锋's avatar 潘栩锋 🚴

1.修复 WebSocketClient 的 IsConnected 与 Reflect_SeviceClient 的 IsConnected…

1.修复 WebSocketClient 的 IsConnected 与 Reflect_SeviceClient 的 IsConnected 不相同。导致关闭时,Reflect_SeviceClient.IsConnected 没有被设置=false
parent dd2729a2
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
<Compile Include="..\WSCF\IReflectSeviceClientCore.cs" Link="IReflectSeviceClientCore.cs" /> <Compile Include="..\WSCF\IReflectSeviceClientCore.cs" Link="IReflectSeviceClientCore.cs" />
<Compile Include="..\WSCF\WsServiceProxy.cs" Link="WsServiceProxy.cs" /> <Compile Include="..\WSCF\WsServiceProxy.cs" Link="WsServiceProxy.cs" />
<Compile Include="..\WSCF\WsServiceClient.cs" Link="WsServiceClient.cs" /> <Compile Include="..\WSCF\WsServiceClient.cs" Link="WsServiceClient.cs" />
<Compile Include="..\WSCF\ReflectSeviceClientAssistant.cs" Link="ReflectSeviceClientAssistant.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
......
This diff is collapsed.
This diff is collapsed.
...@@ -19,11 +19,6 @@ namespace WSCF ...@@ -19,11 +19,6 @@ namespace WSCF
/// </summary> /// </summary>
protected abstract Type InterfaceType { get; } protected abstract Type InterfaceType { get; }
/// <summary>
/// 连接成功
/// </summary>
public new bool IsConnected { get; set; }
/// <summary> /// <summary>
/// 已经同步完成; /// 已经同步完成;
/// 已经收到了 CALL_GetAllProperties, 全部属性都与服务器一致 /// 已经收到了 CALL_GetAllProperties, 全部属性都与服务器一致
......
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="AsyncCBHandler.cs" /> <Compile Include="AsyncCBHandler.cs" />
<Compile Include="ReflectSeviceClientAssistant.cs" />
<Compile Include="RevCtrl\RevCtrl_ServiceClient.cs" /> <Compile Include="RevCtrl\RevCtrl_ServiceClient.cs" />
<Compile Include="RevCtrl\RevCtrl_Proxy.cs" /> <Compile Include="RevCtrl\RevCtrl_Proxy.cs" />
<Compile Include="RevCtrl\IRevCtrlAdmin.cs" /> <Compile Include="RevCtrl\IRevCtrlAdmin.cs" />
......
...@@ -13,7 +13,7 @@ namespace WSCF ...@@ -13,7 +13,7 @@ namespace WSCF
{ {
public event PropertyChangedEventHandler PropertyChanged; public event PropertyChangedEventHandler PropertyChanged;
public bool IsConnected { get; private set; } public bool IsConnected { get; set; }
/// <summary> /// <summary>
/// 重连剩余秒数 /// 重连剩余秒数
......
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