Ver a proveniência

MORkt

样式分支
NXX há 2 anos
ascendente
cometimento
bb615749d9
3 ficheiros alterados com 15 adições e 0 eliminações
  1. +11
    -0
      BPASmartClient.CustomResource/BPASmartClient.CustomResource.csproj
  2. +1
    -0
      BPASmartClient.IoT/DataVClient.cs
  3. +3
    -0
      BPASmartClient.IoT/Model/DataVReport.cs

+ 11
- 0
BPASmartClient.CustomResource/BPASmartClient.CustomResource.csproj Ver ficheiro

@@ -7,6 +7,10 @@
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>

<ItemGroup>
<Compile Remove="Properties\App.xaml.cs" />
</ItemGroup>

<ItemGroup>
<None Remove="Fonts\iconfont.ttf" />
<None Remove="Image\bg.png" />
@@ -167,6 +171,13 @@
<None Remove="Image\黑菠萝科技.png" />
</ItemGroup>

<ItemGroup>
<ApplicationDefinition Include="Properties\App.xaml">
<XamlRuntime>$(DefaultXamlRuntime)</XamlRuntime>
<Generator>MSBuild:Compile</Generator>
</ApplicationDefinition>
</ItemGroup>

<ItemGroup>
<Resource Include="Image\btn_close.png" />
<Resource Include="Image\ComboBoxPopSelect.png" />


+ 1
- 0
BPASmartClient.IoT/DataVClient.cs Ver ficheiro

@@ -159,6 +159,7 @@ namespace BPASmartClient.IoT
if (DeviceDataV.InitializeNo(ProductKey, DeviceName, DeviceSecret, ref message))
{
MessageLog.GetInstance.Show($"客户端:【{ClientId}】,设备名称{DeviceName}阿里云连接成功");
DeviceDataV.DataVMessageAction += DevIOTActionHandler;
UpDataFile();
}
else


+ 3
- 0
BPASmartClient.IoT/Model/DataVReport.cs Ver ficheiro

@@ -75,6 +75,9 @@ namespace BPASmartDatavDeviceClient.IoT
return false;
}
IOT_Subscribe(BroadcastTopic);//订阅广播主题
IOT_Subscribe(FileUpLoadReplyTopic);
IOT_Subscribe(FileUpLoadSendReplyTopic);
IOT_Subscribe(CancelFileUpLoadSendTopic);
if (!DatavDeviceClient.IsConnected) message += $"客户端:【】,设备名称{deviceTable.devicename}阿里云连接失败.不能上报业务信息";
return DatavDeviceClient.IsConnected;
}


Carregando…
Cancelar
Guardar