Ver a proveniência

调整可视化

master
fyf há 2 anos
ascendente
cometimento
4845448373
22 ficheiros alterados com 37 adições e 71 eliminações
  1. +0
    -9
      BPASmartClient.DATABUS/BPASmartClient.DATABUS.csproj
  2. +0
    -1
      BPASmartClient.SCADAControl/BPASmartClient.SCADAControl.csproj
  3. +0
    -1
      BPASmartClient.SCADAControl/CustomerControls/Silos.xaml.cs
  4. +0
    -1
      BPASmartClient.SCADAControl/CustomerControls/SwitchButton.cs
  5. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheAPI.xaml.cs
  6. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheButton.xaml.cs
  7. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheCheckBox.xaml.cs
  8. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheCylinder.xaml.cs
  9. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheDataGrid.xaml.cs
  10. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheListBox.xaml.cs
  11. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheMQTT.xaml.cs
  12. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheRedis.xaml.cs
  13. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheTextBlock.cs
  14. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheTextBox.cs
  15. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheToggleButton.xaml.cs
  16. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheWuLiaoControl.xaml.cs
  17. +15
    -7
      BPASmartClient.SCADAControl/DATABUS/Class_DataBus.cs
  18. +0
    -2
      BeDesignerSCADA/BeDesignerSCADA.csproj
  19. +0
    -1
      BeDesignerSCADA/Controls/CanvasPanelNew.xaml.cs
  20. +0
    -1
      BeDesignerSCADA/Controls/MainCanvasPanel.xaml.cs
  21. +7
    -7
      BeDesignerSCADA/Helper/SystemHelper.cs
  22. +3
    -29
      SmartClient.sln

+ 0
- 9
BPASmartClient.DATABUS/BPASmartClient.DATABUS.csproj Ver ficheiro

@@ -1,9 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>

+ 0
- 1
BPASmartClient.SCADAControl/BPASmartClient.SCADAControl.csproj Ver ficheiro

@@ -92,7 +92,6 @@

<ItemGroup>
<ProjectReference Include="..\BPASmart.Model\BPASmart.Model.csproj" />
<ProjectReference Include="..\BPASmartClient.DATABUS\BPASmartClient.DATABUS.csproj" />
</ItemGroup>

<ItemGroup>


+ 0
- 1
BPASmartClient.SCADAControl/CustomerControls/Silos.xaml.cs Ver ficheiro

@@ -1,5 +1,4 @@
using BPASmartClient.Compiler;
using BPASmartClient.DATABUS;
using Newtonsoft.Json;
using System;
using System.Collections;


+ 0
- 1
BPASmartClient.SCADAControl/CustomerControls/SwitchButton.cs Ver ficheiro

@@ -1,6 +1,5 @@
using BPASmart.Model;
using BPASmartClient.Compiler;
using BPASmartClient.DATABUS;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheAPI.xaml.cs Ver ficheiro

@@ -1,6 +1,6 @@
using BPASmart.Model;
using BPASmartClient.Compiler;
using BPASmartClient.DATABUS;
using BPASmartClient.SCADAControl;
using BPASmartClient.SCADAControl.EnumClass;
using Newtonsoft.Json;


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheButton.xaml.cs Ver ficheiro

@@ -1,5 +1,5 @@
using BPASmartClient.Compiler;
using BPASmartClient.DATABUS;
using System;
using System.Collections.Generic;
using System.ComponentModel;


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheCheckBox.xaml.cs Ver ficheiro

@@ -1,6 +1,6 @@
using BPASmart.Model;
using BPASmartClient.Compiler;
using BPASmartClient.DATABUS;
using BPASmartClient.SCADAControl;
using Newtonsoft.Json;
using System;


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheCylinder.xaml.cs Ver ficheiro

@@ -1,5 +1,5 @@
using BPASmartClient.Compiler;
using BPASmartClient.DATABUS;
using System;
using System.Collections.Generic;
using System.Linq;


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheDataGrid.xaml.cs Ver ficheiro

@@ -1,5 +1,5 @@
using BPASmartClient.Compiler;
using BPASmartClient.DATABUS;
using BPASmartClient.SCADAControl.Converters;
using BPASmartClient.SCADAControl.EnumClass;
using Newtonsoft.Json;


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheListBox.xaml.cs Ver ficheiro

@@ -1,5 +1,5 @@
using BPASmartClient.Compiler;
using BPASmartClient.DATABUS;
using BPASmartClient.SCADAControl.Converters;
using BPASmartClient.SCADAControl.EnumClass;
using Newtonsoft.Json;


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheMQTT.xaml.cs Ver ficheiro

@@ -1,6 +1,6 @@
using BPASmart.Model;
using BPASmartClient.Compiler;
using BPASmartClient.DATABUS;
using BPASmartClient.SCADAControl;
using Newtonsoft.Json;
using StackExchange.Redis;


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheRedis.xaml.cs Ver ficheiro

@@ -1,6 +1,6 @@
using BPASmart.Model;
using BPASmartClient.Compiler;
using BPASmartClient.DATABUS;
using BPASmartClient.SCADAControl;
using Newtonsoft.Json;
using StackExchange.Redis;


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheTextBlock.cs Ver ficheiro

@@ -1,5 +1,5 @@
using BPASmartClient.Compiler;
using BPASmartClient.DATABUS;
using BPASmartClient.SCADAControl;
using Newtonsoft.Json;
using System;


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheTextBox.cs Ver ficheiro

@@ -1,6 +1,6 @@
using BPASmart.Model;
using BPASmartClient.Compiler;
using BPASmartClient.DATABUS;
using BPASmartClient.SCADAControl;
using Newtonsoft.Json;
using System;


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheToggleButton.xaml.cs Ver ficheiro

@@ -1,6 +1,6 @@
using BPASmart.Model;
using BPASmartClient.Compiler;
using BPASmartClient.DATABUS;
using BPASmartClient.SCADAControl;
using Newtonsoft.Json;
using System;


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheWuLiaoControl.xaml.cs Ver ficheiro

@@ -1,5 +1,5 @@
using BPASmartClient.Compiler;
using BPASmartClient.DATABUS;
using Newtonsoft.Json;
using System;
using System.Collections;


BPASmartClient.DATABUS/Class_DataBus.cs → BPASmartClient.SCADAControl/DATABUS/Class_DataBus.cs Ver ficheiro

@@ -1,6 +1,11 @@
using System.Collections.Concurrent;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPASmartClient.DATABUS
namespace BPASmartClient.SCADAControl
{
/// <summary>
/// 数据总线
@@ -29,10 +34,14 @@ namespace BPASmartClient.DATABUS
/// <summary>
/// 绑定数据
/// </summary>
public Dictionary<string, object> Dic_RedisDataBinding=new Dictionary<string, object>();
public Dictionary<string, object> Dic_RedisDataBinding = new Dictionary<string, object>();
/// <summary>
/// 刷新数据
/// </summary>
/// <param name="Name"></param>
public void refreshDataAction(string Name)
{
BindingAction?.Invoke(Name,null);
BindingAction?.Invoke(Name, null);
}
/// <summary>
/// 缓存Redis数据
@@ -42,15 +51,14 @@ namespace BPASmartClient.DATABUS
/// 缓存Redis数据相关类型
/// </summary>
public ConcurrentDictionary<string, Dictionary<string, string>> Dic_RedisDataType = new ConcurrentDictionary<string, Dictionary<string, string>>();

/// <summary>
/// API数据
/// </summary>
public ConcurrentDictionary<string,string> Dic_APIData = new ConcurrentDictionary<string,string>();
public ConcurrentDictionary<string, string> Dic_APIData = new ConcurrentDictionary<string, string>();
#endregion

#region 配置数据

#endregion
}
}
}

+ 0
- 2
BeDesignerSCADA/BeDesignerSCADA.csproj Ver ficheiro

@@ -91,7 +91,6 @@
<PackageReference Include="Microsoft.Toolkit.Mvvm" Version="7.1.2" />
<PackageReference Include="MQTTnet" Version="3.1.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="NPinyinPro" Version="0.3.3" />
<PackageReference Include="StackExchange.Redis" Version="2.6.66" />
</ItemGroup>

@@ -125,7 +124,6 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\BPASmart.Model\BPASmart.Model.csproj" />
<ProjectReference Include="..\BPASmartClient.SCADAControl\BPASmartClient.SCADAControl.csproj" />
</ItemGroup>



+ 0
- 1
BeDesignerSCADA/Controls/CanvasPanelNew.xaml.cs Ver ficheiro

@@ -4,7 +4,6 @@ using Newtonsoft.Json;
using BeDesignerSCADA.ViewModel;
using BPASmart.Model;
using BPASmartClient.Compiler;
using BPASmartClient.DATABUS;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;


+ 0
- 1
BeDesignerSCADA/Controls/MainCanvasPanel.xaml.cs Ver ficheiro

@@ -3,7 +3,6 @@ using BeDesignerSCADA.View;
using BeDesignerSCADA.ViewModel;
using BPASmart.Model;
using BPASmartClient.Compiler;
using BPASmartClient.DATABUS;
using System;
using System.Collections.Generic;
using System.ComponentModel;


+ 7
- 7
BeDesignerSCADA/Helper/SystemHelper.cs Ver ficheiro

@@ -259,7 +259,7 @@ namespace BeDesignerSCADA.Helper
for (int i = 0; i < strChinese.Length; i++)
{
var chr = strChinese[i];
fullSpell.Append(GetSpell(chr));
//fullSpell.Append(GetSpell(chr));
}
return fullSpell.ToString().ToUpper();
}
@@ -286,7 +286,7 @@ namespace BeDesignerSCADA.Helper
for (int i = 0; i < strChinese.Length; i++)
{
var chr = strChinese[i];
fullSpell.Append(GetSpell(chr)[0]);
//fullSpell.Append(GetSpell(chr)[0]);
}
return fullSpell.ToString().ToUpper();
}
@@ -299,11 +299,11 @@ namespace BeDesignerSCADA.Helper
return string.Empty;
}

private static string GetSpell(char chr)
{
var coverchr = NPinyin.Pinyin.GetPinyin(chr);
return coverchr;
}
//private static string GetSpell(char chr)
//{
// var coverchr = NPinyin.Pinyin.GetPinyin(chr);
// return coverchr;
//}
}

[StructLayout(LayoutKind.Sequential)]


+ 3
- 29
SmartClient.sln Ver ficheiro

@@ -136,13 +136,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WPFDemo", "WPFDemo\WPFDemo.
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "0.SCADA", "0.SCADA", "{7B0175AD-BB74-4A98-B9A7-1E289032485E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BPASmartClient.DATABUS", "BPASmartClient.DATABUS\BPASmartClient.DATABUS.csproj", "{7C1AF86E-867C-427E-90DB-6473D88F51EB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BPASmartClient.SCADAControl", "BPASmartClient.SCADAControl\BPASmartClient.SCADAControl.csproj", "{6A3FC66D-0B89-45E8-B39B-9D81538002D1}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "1.可视化内存数据", "1.可视化内存数据", "{7BED8969-7EA7-409C-8BBC-D2777ECDA2F1}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "2.可视化控件集", "2.可视化控件集", "{5300552F-560D-474A-8D96-0A2747D08F64}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "可视化控件集", "可视化控件集", "{5300552F-560D-474A-8D96-0A2747D08F64}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BPASmart.VariableManager", "BPASmart.VariableManager\BPASmart.VariableManager.csproj", "{2C17B9A9-B27B-4F07-AFB0-0F56A975D501}"
EndProject
@@ -156,7 +152,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BPASmart.Server", "BPASmart
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputerTestDemo", "ComputerTestDemo\ComputerTestDemo.csproj", "{8940F1E2-693D-407E-AD03-722718860609}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "3.可视化配置工具", "3.可视化配置工具", "{06F0B369-0483-46DD-82D2-70431FB505C1}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "可视化配置工具", "可视化配置工具", "{06F0B369-0483-46DD-82D2-70431FB505C1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BeDesignerSCADA", "BeDesignerSCADA\BeDesignerSCADA.csproj", "{DF8B4C38-39DE-4220-AB60-885CAE6D1E47}"
EndProject
@@ -180,7 +176,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BPASmartClient.MorkMOC", "B
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BPASmartClient.DosingHKProject", "BPASmartClient.DosingProject\BPASmartClient.DosingHKProject.csproj", "{6763F73A-555C-41E2-91F7-ADF26C59A946}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BPASmart.MenuLoad", "BPASmart.MenuLoad\BPASmart.MenuLoad.csproj", "{7A7547D3-F2EF-4DA4-AD45-D1B49210082B}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BPASmart.MenuLoad", "BPASmart.MenuLoad\BPASmart.MenuLoad.csproj", "{7A7547D3-F2EF-4DA4-AD45-D1B49210082B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -1336,26 +1332,6 @@ Global
{A456D582-D910-4CA2-8620-6D8F63344B47}.Release|x64.Build.0 = Release|Any CPU
{A456D582-D910-4CA2-8620-6D8F63344B47}.Release|x86.ActiveCfg = Release|Any CPU
{A456D582-D910-4CA2-8620-6D8F63344B47}.Release|x86.Build.0 = Release|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Debug|ARM.ActiveCfg = Debug|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Debug|ARM.Build.0 = Debug|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Debug|ARM64.Build.0 = Debug|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Debug|x64.ActiveCfg = Debug|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Debug|x64.Build.0 = Debug|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Debug|x86.ActiveCfg = Debug|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Debug|x86.Build.0 = Debug|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Release|Any CPU.Build.0 = Release|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Release|ARM.ActiveCfg = Release|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Release|ARM.Build.0 = Release|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Release|ARM64.ActiveCfg = Release|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Release|ARM64.Build.0 = Release|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Release|x64.ActiveCfg = Release|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Release|x64.Build.0 = Release|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Release|x86.ActiveCfg = Release|Any CPU
{7C1AF86E-867C-427E-90DB-6473D88F51EB}.Release|x86.Build.0 = Release|Any CPU
{6A3FC66D-0B89-45E8-B39B-9D81538002D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6A3FC66D-0B89-45E8-B39B-9D81538002D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6A3FC66D-0B89-45E8-B39B-9D81538002D1}.Debug|ARM.ActiveCfg = Debug|Any CPU
@@ -1778,9 +1754,7 @@ Global
{FA695D7E-6F12-4483-A16D-8494609FAE68} = {8712125E-14CD-4E1B-A1CE-4BDE03805942}
{D609C4CF-FA5C-4D39-B12F-07A60FFE5E40} = {8712125E-14CD-4E1B-A1CE-4BDE03805942}
{A456D582-D910-4CA2-8620-6D8F63344B47} = {8712125E-14CD-4E1B-A1CE-4BDE03805942}
{7C1AF86E-867C-427E-90DB-6473D88F51EB} = {7BED8969-7EA7-409C-8BBC-D2777ECDA2F1}
{6A3FC66D-0B89-45E8-B39B-9D81538002D1} = {5300552F-560D-474A-8D96-0A2747D08F64}
{7BED8969-7EA7-409C-8BBC-D2777ECDA2F1} = {7B0175AD-BB74-4A98-B9A7-1E289032485E}
{5300552F-560D-474A-8D96-0A2747D08F64} = {7B0175AD-BB74-4A98-B9A7-1E289032485E}
{2C17B9A9-B27B-4F07-AFB0-0F56A975D501} = {CDC1E762-5E1D-4AE1-9DF2-B85761539086}
{00C5B45D-9799-43F1-B07B-9F638AA9FF72} = {CDC1E762-5E1D-4AE1-9DF2-B85761539086}


Carregando…
Cancelar
Guardar