ソースを参照

1

JXJAgvReake
pry 1年前
コミット
70ca161975
100個のファイルの変更192行の追加204行の削除
  1. +1
    -3
      BPASmartClient.Business/BPASmartClient.Business.csproj
  2. +1
    -2
      BPASmartClient.CustomResource/BPASmartClient.CustomResource.csproj
  3. +4
    -4
      BPASmartClient.CustomResource/Pages/Model/MenuManage.cs
  4. +2
    -2
      BPASmartClient.CustomResource/Pages/Model/PlcVariableInfoManage.cs
  5. +2
    -2
      BPASmartClient.CustomResource/Pages/Model/PlcVariableInfoModel.cs
  6. +2
    -2
      BPASmartClient.CustomResource/Pages/Model/RecipeCompleteLog.cs
  7. +2
    -2
      BPASmartClient.CustomResource/Pages/Model/ReportBase.cs
  8. +1
    -1
      BPASmartClient.CustomResource/Pages/Model/ReportTestModel.cs
  9. +2
    -2
      BPASmartClient.CustomResource/Pages/Model/RunLog.cs
  10. +2
    -2
      BPASmartClient.CustomResource/Pages/Model/UserInfo.cs
  11. +2
    -2
      BPASmartClient.CustomResource/Pages/Model/UserLog.cs
  12. +2
    -2
      BPASmartClient.CustomResource/Pages/Model/UserTreeViewModel.cs
  13. +2
    -2
      BPASmartClient.CustomResource/Pages/ViewModel/AddNewUserViewModel.cs
  14. +5
    -6
      BPASmartClient.CustomResource/Pages/ViewModel/AlarmViewModel.cs
  15. +3
    -3
      BPASmartClient.CustomResource/Pages/ViewModel/DebugLogViewModel.cs
  16. +2
    -2
      BPASmartClient.CustomResource/Pages/ViewModel/LoginViewModel.cs
  17. +2
    -2
      BPASmartClient.CustomResource/Pages/ViewModel/MainViewModel.cs
  18. +3
    -3
      BPASmartClient.CustomResource/Pages/ViewModel/NfcSetViewModel.cs
  19. +2
    -2
      BPASmartClient.CustomResource/Pages/ViewModel/PasswordChangeViewModel.cs
  20. +2
    -2
      BPASmartClient.CustomResource/Pages/ViewModel/PermissionConfigurationViewModel.cs
  21. +2
    -2
      BPASmartClient.CustomResource/Pages/ViewModel/ProductionDataViewModel.cs
  22. +2
    -2
      BPASmartClient.CustomResource/Pages/ViewModel/RecipeCompleteViewModel.cs
  23. +1
    -1
      BPASmartClient.CustomResource/Pages/ViewModel/ReportViewModel.cs
  24. +2
    -2
      BPASmartClient.CustomResource/Pages/ViewModel/RunLogViewModel.cs
  25. +2
    -2
      BPASmartClient.CustomResource/Pages/ViewModel/UserConfigViewModel.cs
  26. +2
    -2
      BPASmartClient.CustomResource/Pages/ViewModel/UserLogViewModel.cs
  27. +2
    -2
      BPASmartClient.CustomResource/Pages/ViewModel/UserManageViewModel.cs
  28. +2
    -2
      BPASmartClient.CustomResource/Pages/ViewModel/VariableViewModel.cs
  29. +0
    -1
      BPASmartClient.Device/BPASmartClient.Device.csproj
  30. +1
    -3
      BPASmartClient.Device/BaseDevice.cs
  31. +1
    -1
      BPASmartClient.Device/IDevice.cs
  32. +2
    -2
      BPASmartClient.Device/VariableMonitor.cs
  33. +1
    -1
      BPASmartClient.DosingSystemSingle/BPASmartClient.DosingSystemSingle.csproj
  34. +0
    -4
      BPASmartClient.EventBus/BPASmartClient.EventBus.csproj
  35. +1
    -1
      BPASmartClient.FoodStationTest/BPASmartClient.FoodStationTest.csproj
  36. +2
    -2
      BPASmartClient.FoodStationTest/Model/Bom/BomMaterial.cs
  37. +2
    -2
      BPASmartClient.FoodStationTest/Model/GVL/PlcInfos.cs
  38. +2
    -2
      BPASmartClient.FoodStationTest/Model/Par/ConnectParMode.cs
  39. +2
    -2
      BPASmartClient.FoodStationTest/Model/RawMaterial/DeviceCurrentStatus.cs
  40. +2
    -2
      BPASmartClient.FoodStationTest/Model/RawMaterial/DevicePar.cs
  41. +2
    -2
      BPASmartClient.FoodStationTest/Model/RawMaterial/DeviceParModel.cs
  42. +2
    -2
      BPASmartClient.FoodStationTest/Model/RawMaterial/RawMaterialColl.cs
  43. +2
    -2
      BPASmartClient.FoodStationTest/Model/RawMaterial/RawMaterialStockBin.cs
  44. +2
    -2
      BPASmartClient.FoodStationTest/Model/RawMaterial/RecipeModel.cs
  45. +2
    -2
      BPASmartClient.FoodStationTest/Model/Recipe/RemoteRecipeData.cs
  46. +2
    -2
      BPASmartClient.FoodStationTest/Model/Recipe/RemoteRecipeRawMaterial.cs
  47. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/BomOfMaterialViewModel.cs
  48. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/ChangeDeviceNameViewModel.cs
  49. +3
    -3
      BPASmartClient.FoodStationTest/ViewModel/DeviceListViewModel.cs
  50. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/DeviceMaterialParViewModel.cs
  51. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/HardwareStatusViewModel.cs
  52. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/ManualCommViewModel.cs
  53. +3
    -3
      BPASmartClient.FoodStationTest/ViewModel/ManualControlViewModel.cs
  54. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/ManualFlowViewModel.cs
  55. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/NewLocalRecipeViewModel.cs
  56. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/NewMaterialViewModel.cs
  57. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/NewRecipeViewModel.cs
  58. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/PlcVarMonitorViewModel.cs
  59. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/ProcessMonitorViewModel.cs
  60. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/RecipeControlViewModel.cs
  61. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/RecipeInfosViewModel.cs
  62. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/RecipeReceiveViewModel.cs
  63. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/RecipeSettingsViewModel.cs
  64. +3
    -3
      BPASmartClient.FoodStationTest/ViewModel/SelectRecipesViewModel.cs
  65. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/SiemensRecipeReceiveViewModel.cs
  66. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/StockBinRawMaterialViewModel.cs
  67. +2
    -2
      BPASmartClient.FoodStationTest/ViewModel/SystemParViewModel.cs
  68. +0
    -1
      BPASmartClient.IoT/BPASmartClient.IoT.csproj
  69. +1
    -1
      BPASmartClient.JXJFoodBigStation/BPASmartClient.JXJFoodBigStation.csproj
  70. +2
    -2
      BPASmartClient.JXJFoodBigStation/Model/DeviceCurrentStatus.cs
  71. +2
    -2
      BPASmartClient.JXJFoodBigStation/Model/DeviceInfo.cs
  72. +1
    -1
      BPASmartClient.JXJFoodBigStation/Model/HardWare/BomMaterial.cs
  73. +2
    -2
      BPASmartClient.JXJFoodBigStation/Model/PlcVarMonitor.cs
  74. +2
    -2
      BPASmartClient.JXJFoodBigStation/Model/RawMaterial/RawMaterial.cs
  75. +1
    -1
      BPASmartClient.JXJFoodBigStation/Model/RawMaterial/RawMaterialData.cs
  76. +2
    -2
      BPASmartClient.JXJFoodBigStation/Model/RawMaterial/RecipeData.cs
  77. +2
    -2
      BPASmartClient.JXJFoodBigStation/ViewModel/BomOfMaterialViewModel.cs
  78. +2
    -2
      BPASmartClient.JXJFoodBigStation/ViewModel/ChangeDeviceNameViewModel.cs
  79. +2
    -2
      BPASmartClient.JXJFoodBigStation/ViewModel/DeviceManageViewModel.cs
  80. +2
    -2
      BPASmartClient.JXJFoodBigStation/ViewModel/HKPlcCommMonitorViewModel.cs
  81. +2
    -2
      BPASmartClient.JXJFoodBigStation/ViewModel/HardwareStatusViewModel.cs
  82. +2
    -2
      BPASmartClient.JXJFoodBigStation/ViewModel/ManualFlowViewModel.cs
  83. +2
    -2
      BPASmartClient.JXJFoodBigStation/ViewModel/RecipeInfosViewModel.cs
  84. +2
    -2
      BPASmartClient.JXJFoodBigStation/ViewModel/RecipeReceiveViewModel.cs
  85. +2
    -2
      BPASmartClient.JXJFoodBigStation/ViewModel/RecipeSendDownViewModel.cs
  86. +3
    -3
      BPASmartClient.JXJFoodBigStation/ViewModel/SelectRecipesViewModel.cs
  87. +2
    -2
      BPASmartClient.JXJFoodBigStation/ViewModel/SiemensRecipeSendDownViewModel.cs
  88. +2
    -2
      BPASmartClient.JXJFoodBigStation/ViewModel/StockBinRawMaterialViewModel.cs
  89. +2
    -2
      BPASmartClient.JXJFoodSmallStation/Model/Bom/BomMaterial.cs
  90. +1
    -1
      BPASmartClient.JXJFoodSmallStation/Model/Bom/BomMaterialData.cs
  91. +2
    -2
      BPASmartClient.JXJFoodSmallStation/Model/GVL/PlcInfos.cs
  92. +2
    -2
      BPASmartClient.JXJFoodSmallStation/Model/Par/ConnectParMode.cs
  93. +2
    -2
      BPASmartClient.JXJFoodSmallStation/Model/RawMaterial/ActionMenu.cs
  94. +1
    -1
      BPASmartClient.JXJFoodSmallStation/Model/RawMaterial/ConveyorServer.cs
  95. +2
    -2
      BPASmartClient.JXJFoodSmallStation/Model/RawMaterial/CylinderStatusModel.cs
  96. +2
    -2
      BPASmartClient.JXJFoodSmallStation/Model/RawMaterial/DeviceCurrentStatus.cs
  97. +2
    -2
      BPASmartClient.JXJFoodSmallStation/Model/RawMaterial/DevicePar.cs
  98. +2
    -2
      BPASmartClient.JXJFoodSmallStation/Model/RawMaterial/DeviceParModel.cs
  99. +2
    -2
      BPASmartClient.JXJFoodSmallStation/Model/RawMaterial/RawMaterialColl.cs
  100. +2
    -2
      BPASmartClient.JXJFoodSmallStation/Model/RawMaterial/RawMaterialStockBin.cs

+ 1
- 3
BPASmartClient.Business/BPASmartClient.Business.csproj ファイルの表示

@@ -8,7 +8,7 @@

<ItemGroup>
<PackageReference Include="BPA.ApolloClient" Version="1.0.12" />
<PackageReference Include="BPA.Helper" Version="1.0.54" />
<PackageReference Include="BPA.Helper" Version="1.0.64" />
<PackageReference Include="BPA.Message" Version="1.0.86" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="6.0.0" />
@@ -17,10 +17,8 @@

<ItemGroup>
<ProjectReference Include="..\BPASmartClient.Device\BPASmartClient.Device.csproj" />
<ProjectReference Include="..\BPASmartClient.Helper\BPASmartClient.Helper.csproj" />
<ProjectReference Include="..\BPASmartClient.Http\BPASmartClient.Http.csproj" />
<ProjectReference Include="..\BPASmartClient.Model\BPASmartClient.Model.csproj" />
<ProjectReference Include="..\BPASmartClient.MQTT\BPASmartClient.MQTT.csproj" />
</ItemGroup>

</Project>

+ 1
- 2
BPASmartClient.CustomResource/BPASmartClient.CustomResource.csproj ファイルの表示

@@ -459,14 +459,13 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="BPA.Helper" Version="1.0.62" />
<PackageReference Include="BPA.Helper" Version="1.0.64" />
<PackageReference Include="BPA.Message" Version="1.0.86" />
<PackageReference Include="MahApps.Metro.IconPacks.FontAwesome" Version="4.11.0" />
<PackageReference Include="Microsoft.Toolkit.Mvvm" Version="7.1.2" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\BPASmartClient.Helper\BPASmartClient.Helper.csproj" />
<ProjectReference Include="..\BPASmartClient.Model\BPASmartClient.Model.csproj" />
<ProjectReference Include="..\BPASmartClient.Nfc\BPASmartClient.Nfc.csproj" />
</ItemGroup>


+ 4
- 4
BPASmartClient.CustomResource/Pages/Model/MenuManage.cs ファイルの表示

@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using BPASmartClient.CustomResource.Pages.Enums;
using System.Windows;

@@ -13,7 +13,7 @@ namespace BPASmartClient.CustomResource.Pages.Model
/// <summary>
/// 在启动界面之前设置菜单项
/// </summary>
public class MenuManage : ObservableObject
public class MenuManage : NotifyBase
{
private volatile static MenuManage _Instance;
public static MenuManage GetInstance => _Instance ?? (_Instance = new MenuManage());
@@ -22,7 +22,7 @@ namespace BPASmartClient.CustomResource.Pages.Model
public ObservableCollection<MenuModel> menuModels { get; set; } = new ObservableCollection<MenuModel>();
}

public class MenuModel : ObservableObject
public class MenuModel : NotifyBase
{

private Permission[] pers
@@ -84,7 +84,7 @@ namespace BPASmartClient.CustomResource.Pages.Model

}

public class SubMenumodel : ObservableObject
public class SubMenumodel : NotifyBase
{
/// <summary>
/// 子菜单名称


+ 2
- 2
BPASmartClient.CustomResource/Pages/Model/PlcVariableInfoManage.cs ファイルの表示

@@ -1,4 +1,4 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
@@ -9,7 +9,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.CustomResource.Pages.Model
{
public class PlcVariableInfoManage:ObservableObject
public class PlcVariableInfoManage:NotifyBase
{
public ConcurrentDictionary<string, ObservableCollection<PlcVariableInfoModel>> VariablesInfo { get; set; } = new ConcurrentDictionary<string, ObservableCollection<PlcVariableInfoModel>>();
}


+ 2
- 2
BPASmartClient.CustomResource/Pages/Model/PlcVariableInfoModel.cs ファイルの表示

@@ -1,5 +1,5 @@

using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -8,7 +8,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.CustomResource.Pages.Model
{
public class PlcVariableInfoModel : ObservableObject
public class PlcVariableInfoModel : NotifyBase
{
//public int Id { get { return _id; } set { _id = value;OnPropertyChanged(); } }
//private int _id;


+ 2
- 2
BPASmartClient.CustomResource/Pages/Model/RecipeCompleteLog.cs ファイルの表示

@@ -1,4 +1,4 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
@@ -8,7 +8,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.CustomResource.Pages.Model
{
public class RecipeCompleteLog : ObservableObject
public class RecipeCompleteLog : NotifyBase
{
[Key]
public int Id { get; set; }


+ 2
- 2
BPASmartClient.CustomResource/Pages/Model/ReportBase.cs ファイルの表示

@@ -4,12 +4,12 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.CustomResource.Pages.Model
{
[Serializable]
public class ReportBase : ObservableObject
public class ReportBase : NotifyBase
{
}
}

+ 1
- 1
BPASmartClient.CustomResource/Pages/Model/ReportTestModel.cs ファイルの表示

@@ -4,7 +4,7 @@ using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.CustomResource.Pages.Model
{


+ 2
- 2
BPASmartClient.CustomResource/Pages/Model/RunLog.cs ファイルの表示

@@ -4,11 +4,11 @@ using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.CustomResource.Pages.Model
{
public class RunLog : ObservableObject
public class RunLog : NotifyBase
{
[Key]
public int Id { get; set; }


+ 2
- 2
BPASmartClient.CustomResource/Pages/Model/UserInfo.cs ファイルの表示

@@ -1,6 +1,6 @@
using BPASmartClient.CustomResource.Pages.Enums;
using BPASmartClient.Model;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -9,7 +9,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.CustomResource.Pages.Model
{
public class UserInfo : ObservableObject
public class UserInfo : NotifyBase
{
public String LastLogInTime { get; set; } = "无";



+ 2
- 2
BPASmartClient.CustomResource/Pages/Model/UserLog.cs ファイルの表示

@@ -4,11 +4,11 @@ using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.CustomResource.Pages.Model
{
public class UserLog : ObservableObject
public class UserLog : NotifyBase
{
[Key]
public int Id { get; set; }


+ 2
- 2
BPASmartClient.CustomResource/Pages/Model/UserTreeViewModel.cs ファイルの表示

@@ -1,4 +1,4 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -7,7 +7,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.CustomResource.Pages.Model
{
public class UserTreeViewModel: ObservableObject
public class UserTreeViewModel: NotifyBase
{
public string Name { get; set; }



+ 2
- 2
BPASmartClient.CustomResource/Pages/ViewModel/AddNewUserViewModel.cs ファイルの表示

@@ -1,6 +1,6 @@
using BPASmartClient.CustomResource.Pages.Model;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.Generic;
@@ -10,7 +10,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.CustomResource.Pages.ViewModel
{
public class AddNewUserViewModel:ObservableObject
public class AddNewUserViewModel:NotifyBase
{
public string ErrorInfo { get { return _mErrorInfo; } set { _mErrorInfo = value; OnPropertyChanged(); } }
private string _mErrorInfo;


+ 5
- 6
BPASmartClient.CustomResource/Pages/ViewModel/AlarmViewModel.cs ファイルの表示

@@ -3,11 +3,10 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System.Collections.Concurrent;
using System.Collections.ObjectModel;
using System.Windows;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using BPASmartClient.CustomResource.Pages.Model;
using BPASmartClient.Model;
@@ -16,7 +15,7 @@ using System.Threading;

namespace BPASmartClient.CustomResource.Pages.ViewModel
{
public class AlarmViewModel : ObservableObject
public class AlarmViewModel : NotifyBase
{
public AlarmViewModel()
{
@@ -72,7 +71,7 @@ namespace BPASmartClient.CustomResource.Pages.ViewModel

private void GetHistoryAlarm()
{
var data = Sqlite<Alarm>.GetInstance.GetData();
var data = Sqlite<BPASmartClient.Model.Alarm>.GetInstance.GetData();
if (data != null)
{
HistoryAlarm.Clear();
@@ -132,8 +131,8 @@ namespace BPASmartClient.CustomResource.Pages.ViewModel
private DateTime _mEndDateTime = DateTime.Now;


public static ObservableCollection<Alarm> AlarmInfos { get; set; }
public ObservableCollection<Alarm> HistoryAlarm { get; set; } = new ObservableCollection<Alarm>();
public static ObservableCollection<BPASmartClient.Model.Alarm> AlarmInfos { get; set; }
public ObservableCollection<BPASmartClient.Model.Alarm> HistoryAlarm { get; set; } = new();

}
}

+ 3
- 3
BPASmartClient.CustomResource/Pages/ViewModel/DebugLogViewModel.cs ファイルの表示

@@ -5,14 +5,14 @@ using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using BPA.Helper;
using System.Collections.ObjectModel;
using System.Windows.Media;

namespace BPASmartClient.CustomResource.Pages.ViewModel
{
public class DebugLogViewModel : ObservableObject
public class DebugLogViewModel : NotifyBase
{
public DebugLogViewModel()
{
@@ -38,7 +38,7 @@ namespace BPASmartClient.CustomResource.Pages.ViewModel

}

public class MessageModel : ObservableObject
public class MessageModel : NotifyBase
{
public string LogInfo { get { return _mLogInfo; } set { _mLogInfo = value; OnPropertyChanged(); } }
private string _mLogInfo;


+ 2
- 2
BPASmartClient.CustomResource/Pages/ViewModel/LoginViewModel.cs ファイルの表示

@@ -6,12 +6,12 @@ using System.Threading.Tasks;
using System.Windows;
using BPASmartClient.CustomResource.Pages.Model;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;

namespace BPASmartClient.CustomResource.Pages.ViewModel
{
public class LoginViewModel : ObservableObject
public class LoginViewModel : NotifyBase
{
public LoginViewModel()
{


+ 2
- 2
BPASmartClient.CustomResource/Pages/ViewModel/MainViewModel.cs ファイルの表示

@@ -11,12 +11,12 @@ using System.Windows.Media;
using BPASmartClient.CustomResource.Pages.Model;
using BPASmartClient.Helper;
using BPASmartClient.Model;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;

namespace BPASmartClient.CustomResource.Pages.ViewModel
{
public class MainViewModel : ObservableObject
public class MainViewModel : NotifyBase
{
public MainViewModel()
{


+ 3
- 3
BPASmartClient.CustomResource/Pages/ViewModel/NfcSetViewModel.cs ファイルの表示

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System.Collections.ObjectModel;
using BPASmartClient.CustomResource.Pages.Enums;
using Microsoft.Toolkit.Mvvm.Input;
@@ -14,7 +14,7 @@ using BPASmartClient.Helper;

namespace BPASmartClient.CustomResource.Pages.ViewModel
{
public class NfcSetViewModel : ObservableObject
public class NfcSetViewModel : NotifyBase
{
public NfcSetViewModel()
{
@@ -161,7 +161,7 @@ namespace BPASmartClient.CustomResource.Pages.ViewModel

}

public class PermissionSelect : ObservableObject
public class PermissionSelect : NotifyBase
{

public string PermissionName { get { return _mPermissionName; } set { _mPermissionName = value; OnPropertyChanged(); } }


+ 2
- 2
BPASmartClient.CustomResource/Pages/ViewModel/PasswordChangeViewModel.cs ファイルの表示

@@ -5,13 +5,13 @@ using System.Text;
using System.Threading.Tasks;
using BPASmartClient.CustomResource.Pages.Model;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;

namespace BPASmartClient.CustomResource.Pages.ViewModel
{

public class PasswordChangeViewModel : ObservableObject
public class PasswordChangeViewModel : NotifyBase
{
private void CheckPassword(UserInfo userInfo)
{


+ 2
- 2
BPASmartClient.CustomResource/Pages/ViewModel/PermissionConfigurationViewModel.cs ファイルの表示

@@ -1,4 +1,4 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -7,7 +7,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.CustomResource.Pages.ViewModel
{
public class PermissionConfigurationViewModel:ObservableObject
public class PermissionConfigurationViewModel:NotifyBase
{
}


+ 2
- 2
BPASmartClient.CustomResource/Pages/ViewModel/ProductionDataViewModel.cs ファイルの表示

@@ -3,11 +3,11 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.CustomResource.Pages.ViewModel
{
public class ProductionDataViewModel : ObservableObject
public class ProductionDataViewModel : NotifyBase
{
public ProductionDataViewModel()
{


+ 2
- 2
BPASmartClient.CustomResource/Pages/ViewModel/RecipeCompleteViewModel.cs ファイルの表示

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System.Collections.ObjectModel;
using BPASmartClient.CustomResource.Pages.Model;
@@ -12,7 +12,7 @@ using BPASmartClient.Helper;

namespace BPASmartClient.CustomResource.Pages.ViewModel
{
public class RecipeCompleteViewModel : ObservableObject
public class RecipeCompleteViewModel : NotifyBase
{
public RecipeCompleteViewModel()
{


+ 1
- 1
BPASmartClient.CustomResource/Pages/ViewModel/ReportViewModel.cs ファイルの表示

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System.Collections.ObjectModel;
using BPASmartClient.CustomResource.Pages.Model;
using Microsoft.Toolkit.Mvvm.Input;


+ 2
- 2
BPASmartClient.CustomResource/Pages/ViewModel/RunLogViewModel.cs ファイルの表示

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System.Collections.ObjectModel;
using BPASmartClient.CustomResource.Pages.Model;
@@ -13,7 +13,7 @@ using System.Diagnostics;

namespace BPASmartClient.CustomResource.Pages.ViewModel
{
public class RunLogViewModel : ObservableObject
public class RunLogViewModel : NotifyBase
{
public RunLogViewModel()
{


+ 2
- 2
BPASmartClient.CustomResource/Pages/ViewModel/UserConfigViewModel.cs ファイルの表示

@@ -2,7 +2,7 @@
using BPASmartClient.CustomResource.Pages.View;
using BPASmartClient.Helper;
using BPASmartClient.Model;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.Generic;
@@ -14,7 +14,7 @@ using System.Windows;

namespace BPASmartClient.CustomResource.Pages.ViewModel
{
public class UserConfigViewModel:ObservableObject
public class UserConfigViewModel:NotifyBase
{
/// <summary>
/// 页面列表集合


+ 2
- 2
BPASmartClient.CustomResource/Pages/ViewModel/UserLogViewModel.cs ファイルの表示

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System.Collections.ObjectModel;
using BPASmartClient.CustomResource.Pages.Model;
using System.Windows;
@@ -12,7 +12,7 @@ using BPASmartClient.Helper;

namespace BPASmartClient.CustomResource.Pages.ViewModel
{
public class UserLogViewModel : ObservableObject
public class UserLogViewModel : NotifyBase
{
public UserLogViewModel()
{


+ 2
- 2
BPASmartClient.CustomResource/Pages/ViewModel/UserManageViewModel.cs ファイルの表示

@@ -1,7 +1,7 @@
using BPA.Message;
using BPASmartClient.CustomResource.Pages.Enums;
using BPASmartClient.CustomResource.Pages.Model;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using Newtonsoft.Json;
using System;
@@ -15,7 +15,7 @@ using System.Windows;

namespace BPASmartClient.CustomResource.Pages.ViewModel
{
internal class UserManageViewModel:ObservableObject
internal class UserManageViewModel:NotifyBase
{
//private static UserManageViewModel _instance;
//public static UserManageViewModel GetInstance => _instance ??= new UserManageViewModel();


+ 2
- 2
BPASmartClient.CustomResource/Pages/ViewModel/VariableViewModel.cs ファイルの表示

@@ -2,7 +2,7 @@
using BPASmartClient.CustomResource.UserControls;
using BPASmartClient.CustomResource.UserControls.MessageShow;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.Generic;
@@ -14,7 +14,7 @@ using System.Windows;

namespace BPASmartClient.CustomResource.Pages.ViewModel
{
public class VariableViewModel : ObservableObject
public class VariableViewModel : NotifyBase
{
public ObservableCollection<PlcVariableInfoModel> Variables { get; set; } = new ObservableCollection<PlcVariableInfoModel>();



+ 0
- 1
BPASmartClient.Device/BPASmartClient.Device.csproj ファイルの表示

@@ -12,7 +12,6 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\BPASmartClient.Helper\BPASmartClient.Helper.csproj" />
<ProjectReference Include="..\BPASmartClient.Model\BPASmartClient.Model.csproj" />
<ProjectReference Include="..\BPASmartClient.Peripheral\BPASmartClient.Peripheral.csproj" />
</ItemGroup>


+ 1
- 3
BPASmartClient.Device/BaseDevice.cs ファイルの表示

@@ -1,7 +1,5 @@
using BPA.Message;
using BPA.Message.Enum;
using BPASmartClient.Helper;
using BPASmartClient.Message;
using BPASmartClient.Model;
using BPASmartClient.Peripheral;
using System;
@@ -14,8 +12,8 @@ using System.Threading;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
using BPASmartClient.Model.单片机;
using BPASmartClient.EventBus;
using BPA.Models;
using BPA.Helper;

namespace BPASmartClient.Device
{


+ 1
- 1
BPASmartClient.Device/IDevice.cs ファイルの表示

@@ -67,7 +67,7 @@ namespace BPASmartClient.Device
/// <summary>
/// 设备报警信息集合
/// </summary>
List<Alarm> alarms { get; set; }
List<BPASmartClient.Model.Alarm> alarms { get; set; }

/// <summary>
/// 接口报警对象


+ 2
- 2
BPASmartClient.Device/VariableMonitor.cs ファイルの表示

@@ -3,11 +3,11 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.Device
{
public class VariableMonitor : ObservableObject
public class VariableMonitor : NotifyBase
{
public int Id { get { return _mId; } set { _mId = value; OnPropertyChanged(); } }
private int _mId;


+ 1
- 1
BPASmartClient.DosingSystemSingle/BPASmartClient.DosingSystemSingle.csproj ファイルの表示

@@ -16,7 +16,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="BPA.Helper" Version="1.0.54" />
<PackageReference Include="BPA.Helper" Version="1.0.64" />
<PackageReference Include="BPA.Message" Version="1.0.86" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>


+ 0
- 4
BPASmartClient.EventBus/BPASmartClient.EventBus.csproj ファイルの表示

@@ -6,8 +6,4 @@
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\BPASmartClient.Helper\BPASmartClient.Helper.csproj" />
</ItemGroup>

</Project>

+ 1
- 1
BPASmartClient.FoodStationTest/BPASmartClient.FoodStationTest.csproj ファイルの表示

@@ -16,7 +16,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="BPA.Communication" Version="1.0.105" />
<PackageReference Include="BPA.Communication" Version="1.0.106" />
</ItemGroup>

<ItemGroup>


+ 2
- 2
BPASmartClient.FoodStationTest/Model/Bom/BomMaterial.cs ファイルの表示

@@ -1,8 +1,8 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.FoodStationTest.Model.Bom
{
public class BomMaterial : ObservableObject
public class BomMaterial : NotifyBase
{
public int Count { get { return _count; } set { _count = value; OnPropertyChanged(); } }
public int _count { get; set; }


+ 2
- 2
BPASmartClient.FoodStationTest/Model/GVL/PlcInfos.cs ファイルの表示

@@ -1,11 +1,11 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.FoodStationTest.Model.GVL
{
/// <summary>
/// PLC变量信息
/// </summary>
public class PlcInfos : ObservableObject
public class PlcInfos : NotifyBase
{
/// <summary>
/// 变量序号


+ 2
- 2
BPASmartClient.FoodStationTest/Model/Par/ConnectParMode.cs ファイルの表示

@@ -1,11 +1,11 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.FoodStationTest.Model.Par
{
/// <summary>
/// 连接参数设置。
/// </summary>
public class ConnectParMode : ObservableObject
public class ConnectParMode : NotifyBase
{
/// <summary>
/// 海科PLC是否连接


+ 2
- 2
BPASmartClient.FoodStationTest/Model/RawMaterial/DeviceCurrentStatus.cs ファイルの表示

@@ -1,11 +1,11 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.FoodStationTest.Model
{
/// <summary>
/// 味魔方当前状态。
/// </summary>
public class DeviceCurrentStatus : ObservableObject
public class DeviceCurrentStatus : NotifyBase
{

public double Weight { get { return _mWeight; } set { _mWeight = value; OnPropertyChanged(); } }


+ 2
- 2
BPASmartClient.FoodStationTest/Model/RawMaterial/DevicePar.cs ファイルの表示

@@ -1,12 +1,12 @@
using BPASmartClient.FoodStationTest.Model.Bom;
using BPASmartClient.FoodStationTest.Model.Par;
using BPASmartClient.FoodStationTest.Model.RawMaterial;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System.Collections.ObjectModel;

namespace BPASmartClient.FoodStationTest.Model
{
public class DevicePar : ObservableObject
public class DevicePar : NotifyBase
{
public ObservableCollection<DeviceParMode> deviceParModels { get; set; } = new ObservableCollection<DeviceParMode>();
public ConnectParMode deviceConnectPar { get { return _mdeviceConnectPar; } set { _mdeviceConnectPar = value; OnPropertyChanged(); } }


+ 2
- 2
BPASmartClient.FoodStationTest/Model/RawMaterial/DeviceParModel.cs ファイルの表示

@@ -1,8 +1,8 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.FoodStationTest.Model
{
public class DeviceParMode : ObservableObject
public class DeviceParMode : NotifyBase
{

/// <summary>


+ 2
- 2
BPASmartClient.FoodStationTest/Model/RawMaterial/RawMaterialColl.cs ファイルの表示

@@ -1,8 +1,8 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.FoodStationTest.Model.RawMaterial
{
public class RawMaterialColl : ObservableObject
public class RawMaterialColl : NotifyBase
{
/// <summary>
/// 原料设备IP


+ 2
- 2
BPASmartClient.FoodStationTest/Model/RawMaterial/RawMaterialStockBin.cs ファイルの表示

@@ -1,8 +1,8 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.FoodStationTest.Model.RawMaterial
{
public class RawMaterialStockBin : ObservableObject
public class RawMaterialStockBin : NotifyBase
{

public short RawMaterialCount { get { return _mRawMaterialCount; } set { _mRawMaterialCount = value; OnPropertyChanged(); } }


+ 2
- 2
BPASmartClient.FoodStationTest/Model/RawMaterial/RecipeModel.cs ファイルの表示

@@ -1,5 +1,5 @@
using BPASmartClient.Model;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System.Collections.ObjectModel;
using System.Threading;

@@ -8,7 +8,7 @@ namespace BPASmartClient.FoodStationTest.Model
/// <summary>
/// 配方模块
/// </summary>
public class RecipeModel : ObservableObject
public class RecipeModel : NotifyBase
{
[Newtonsoft.Json.JsonIgnore]
public bool IsEnable { get { return _mIsEnable; } set { _mIsEnable = value; OnPropertyChanged(); } }


+ 2
- 2
BPASmartClient.FoodStationTest/Model/Recipe/RemoteRecipeData.cs ファイルの表示

@@ -1,4 +1,4 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System.Collections.ObjectModel;

namespace BPASmartClient.FoodStationTest.Model
@@ -7,7 +7,7 @@ namespace BPASmartClient.FoodStationTest.Model
/// <summary>
/// 远程配方数据。
/// </summary>
public class RemoteRecipeData : ObservableObject
public class RemoteRecipeData : NotifyBase
{
/// <summary>
/// 配方名称


+ 2
- 2
BPASmartClient.FoodStationTest/Model/Recipe/RemoteRecipeRawMaterial.cs ファイルの表示

@@ -1,8 +1,8 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.FoodStationTest.Model
{
public class RemoteRecipeRawMaterial : ObservableObject
public class RemoteRecipeRawMaterial : NotifyBase
{
public int DeviceIp { get { return _mIp; } set { _mIp = value; } }
private int _mIp;


+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/BomOfMaterialViewModel.cs ファイルの表示

@@ -4,14 +4,14 @@ using BPASmartClient.CustomResource.UserControls.MessageShow;
using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.FoodStationTest.Model.Bom;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System.Collections.ObjectModel;
using System.Linq;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class BomOfMaterialViewModel : ObservableObject
public class BomOfMaterialViewModel : NotifyBase
{
public BomOfMaterialViewModel()
{


+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/ChangeDeviceNameViewModel.cs ファイルの表示

@@ -1,14 +1,14 @@
using BPASmartClient.CustomResource.Pages.Model;
using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Linq;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class ChangeDeviceNameViewModel : ObservableObject
public class ChangeDeviceNameViewModel : NotifyBase
{
public ChangeDeviceNameViewModel()
{


+ 3
- 3
BPASmartClient.FoodStationTest/ViewModel/DeviceListViewModel.cs ファイルの表示

@@ -1,13 +1,13 @@
using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.FoodStationTest.View;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System.Collections.ObjectModel;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class DeviceListViewModel : ObservableObject
public class DeviceListViewModel : NotifyBase
{
public DeviceListViewModel()
{
@@ -53,7 +53,7 @@ namespace BPASmartClient.FoodStationTest.ViewModel
public ObservableCollection<Devices> devices { get; set; }
}

public class Devices : ObservableObject
public class Devices : NotifyBase
{
public int Serial { get { return _mSerial; } set { _mSerial = value; OnPropertyChanged(); } }
private int _mSerial;


+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/DeviceMaterialParViewModel.cs ファイルの表示

@@ -2,14 +2,14 @@
using BPASmartClient.CustomResource.UserControls.MessageShow;
using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System.Collections.ObjectModel;
using System.Linq;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class DeviceMaterialParViewModel : ObservableObject
public class DeviceMaterialParViewModel : NotifyBase
{
public DeviceMaterialParViewModel()
{


+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/HardwareStatusViewModel.cs ファイルの表示

@@ -1,10 +1,10 @@
using BPASmartClient.FoodStationTest.Model;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System.Collections.ObjectModel;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class HardwareStatusViewModel : ObservableObject
public class HardwareStatusViewModel : NotifyBase
{
public HardwareStatusViewModel()
{


+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/ManualCommViewModel.cs ファイルの表示

@@ -1,12 +1,12 @@
using BPASmartClient.FoodStationTest.Model;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System.Collections.ObjectModel;
using System.Linq;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class ManualCommViewModel : ObservableObject
public class ManualCommViewModel : NotifyBase
{
public ManualCommViewModel()
{


+ 3
- 3
BPASmartClient.FoodStationTest/ViewModel/ManualControlViewModel.cs ファイルの表示

@@ -2,7 +2,7 @@
using BPASmartClient.CustomResource.UserControls.MessageShow;
using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.ObjectModel;
@@ -13,7 +13,7 @@ using System.Threading;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class ManualControlViewModel : ObservableObject
public class ManualControlViewModel : NotifyBase
{
public ManualControlViewModel()
{
@@ -409,7 +409,7 @@ namespace BPASmartClient.FoodStationTest.ViewModel



public class CylinderModel : ObservableObject
public class CylinderModel : NotifyBase
{
public bool LeftTog { get { return _mLeftTog; } set { _mLeftTog = value; OnPropertyChanged(); } }
private bool _mLeftTog;


+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/ManualFlowViewModel.cs ファイルの表示

@@ -4,7 +4,7 @@ using BPASmartClient.CustomResource.UserControls.MessageShow;
using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.FoodStationTest.Model.HK_PLC;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.ComponentModel;
@@ -15,7 +15,7 @@ using System.Windows;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class ManualFlowViewModel : ObservableObject
public class ManualFlowViewModel : NotifyBase
{
public ManualFlowViewModel()
{


+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/NewLocalRecipeViewModel.cs ファイルの表示

@@ -3,7 +3,7 @@ using BPASmartClient.CustomResource.UserControls;
using BPASmartClient.CustomResource.UserControls.MessageShow;
using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.ObjectModel;
@@ -11,7 +11,7 @@ using System.Linq;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class NewLocalRecipeViewModel : ObservableObject
public class NewLocalRecipeViewModel : NotifyBase
{
public NewLocalRecipeViewModel()
{


+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/NewMaterialViewModel.cs ファイルの表示

@@ -1,7 +1,7 @@
using BPASmartClient.CustomResource.Pages.Model;
using BPASmartClient.Helper;
using BPASmartClient.Model;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.ObjectModel;
@@ -9,7 +9,7 @@ using System.Linq;

namespace BPASmartClient.FoodStationTest.ViewModel;

public class NewMaterialViewModel : ObservableObject
public class NewMaterialViewModel : NotifyBase
{
public ObservableCollection<RawMaterialModel> Materials { get; set; } = Json<LocaMaterial>.Data.LocalMaterails;



+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/NewRecipeViewModel.cs ファイルの表示

@@ -2,7 +2,7 @@
using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.Helper;
using BPASmartClient.Model;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.ObjectModel;
@@ -11,7 +11,7 @@ using System.Text;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class NewRecipeViewModel : ObservableObject
public class NewRecipeViewModel : NotifyBase
{
public NewRecipeViewModel()
{


+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/PlcVarMonitorViewModel.cs ファイルの表示

@@ -1,11 +1,11 @@
using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.FoodStationTest.Model.GVL;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System.Collections.ObjectModel;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class PlcVarMonitorViewModel : ObservableObject
public class PlcVarMonitorViewModel : NotifyBase
{
public PlcVarMonitorViewModel()
{


+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/ProcessMonitorViewModel.cs ファイルの表示

@@ -1,11 +1,11 @@
using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.FoodStationTest.Model.GVL;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System.Collections.ObjectModel;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class ProcessMonitorViewModel : ObservableObject
public class ProcessMonitorViewModel : NotifyBase
{
public ProcessMonitorViewModel()
{


+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/RecipeControlViewModel.cs ファイルの表示

@@ -4,7 +4,7 @@ using BPASmartClient.CustomResource.UserControls.MessageShow;
using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.Helper;
using BPASmartClient.Model;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.Concurrent;
@@ -14,7 +14,7 @@ using System.Threading;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class RecipeControlViewModel : ObservableObject
public class RecipeControlViewModel : NotifyBase
{
ConcurrentQueue<string> devices = new ConcurrentQueue<string>();



+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/RecipeInfosViewModel.cs ファイルの表示

@@ -1,6 +1,6 @@
using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.ObjectModel;
@@ -8,7 +8,7 @@ using System.Linq;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class RecipeInfosViewModel : ObservableObject
public class RecipeInfosViewModel : NotifyBase
{
public RecipeInfosViewModel()
{


+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/RecipeReceiveViewModel.cs ファイルの表示

@@ -4,7 +4,7 @@ using BPASmartClient.CustomResource.UserControls.MessageShow;
using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.FoodStationTest.View;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.ObjectModel;
@@ -12,7 +12,7 @@ using System.Linq;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class RecipeReceiveViewModel : ObservableObject
public class RecipeReceiveViewModel : NotifyBase
{
//ObservableCollection<RemoteRecipeRawMaterial> RawMaterials { get; set; } = new ObservableCollection<RemoteRecipeRawMaterial>();
public RecipeReceiveViewModel()


+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/RecipeSettingsViewModel.cs ファイルの表示

@@ -4,14 +4,14 @@ using BPASmartClient.CustomResource.UserControls.MessageShow;
using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.FoodStationTest.View;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System.Collections.ObjectModel;
using System.Linq;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class RecipeSettingsViewModel : ObservableObject
public class RecipeSettingsViewModel : NotifyBase
{
public RecipeSettingsViewModel()
{


+ 3
- 3
BPASmartClient.FoodStationTest/ViewModel/SelectRecipesViewModel.cs ファイルの表示

@@ -1,13 +1,13 @@
using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System.Collections.ObjectModel;
using System.Linq;

namespace BPASmartClient.FoodStationTest.ViewModel
{
internal class SelectRecipesViewModel : ObservableObject
internal class SelectRecipesViewModel : NotifyBase
{
public SelectRecipesViewModel()
{
@@ -93,7 +93,7 @@ namespace BPASmartClient.FoodStationTest.ViewModel
public RelayCommand ConfirmCommand { get; set; }


internal class RecipeDataWithCheck : ObservableObject
internal class RecipeDataWithCheck : NotifyBase
{
public RemoteRecipeData Recipe { get; set; }
private bool _IsSelected;


+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/SiemensRecipeReceiveViewModel.cs ファイルの表示

@@ -2,14 +2,14 @@
using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.FoodStationTest.View;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System.Collections.ObjectModel;
using System.Linq;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class SiemensRecipeReceiveViewModel : ObservableObject
public class SiemensRecipeReceiveViewModel : NotifyBase
{
//ObservableCollection<RemoteRecipeRawMaterial> RawMaterials { get; set; } = new ObservableCollection<RemoteRecipeRawMaterial>();
public SiemensRecipeReceiveViewModel()


+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/StockBinRawMaterialViewModel.cs ファイルの表示

@@ -4,7 +4,7 @@ using BPASmartClient.CustomResource.UserControls.MessageShow;
using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.FoodStationTest.Model.RawMaterial;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.ObjectModel;
@@ -12,7 +12,7 @@ using System.Linq;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class StockBinRawMaterialViewModel : ObservableObject
public class StockBinRawMaterialViewModel : NotifyBase
{
public StockBinRawMaterialViewModel()
{


+ 2
- 2
BPASmartClient.FoodStationTest/ViewModel/SystemParViewModel.cs ファイルの表示

@@ -4,12 +4,12 @@ using BPASmartClient.FoodStationTest.Model;
using BPASmartClient.FoodStationTest.Model.HK_PLC;
using BPASmartClient.FoodStationTest.Model.Par;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;

namespace BPASmartClient.FoodStationTest.ViewModel
{
public class SystemParViewModel : ObservableObject
public class SystemParViewModel : NotifyBase
{
public SystemParViewModel()
{


+ 0
- 1
BPASmartClient.IoT/BPASmartClient.IoT.csproj ファイルの表示

@@ -18,7 +18,6 @@

<ItemGroup>
<ProjectReference Include="..\BPASmartClient.Business\BPASmartClient.Business.csproj" />
<ProjectReference Include="..\BPASmartClient.Helper\BPASmartClient.Helper.csproj" />
</ItemGroup>

</Project>

+ 1
- 1
BPASmartClient.JXJFoodBigStation/BPASmartClient.JXJFoodBigStation.csproj ファイルの表示

@@ -17,7 +17,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="BPA.Communication" Version="1.0.36" />
<PackageReference Include="BPA.Communication" Version="1.0.106" />
</ItemGroup>

<ItemGroup>


+ 2
- 2
BPASmartClient.JXJFoodBigStation/Model/DeviceCurrentStatus.cs ファイルの表示

@@ -3,11 +3,11 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.JXJFoodBigStation.Model
{
public class DeviceCurrentStatus : ObservableObject
public class DeviceCurrentStatus : NotifyBase
{

public double Weight { get { return _mWeight; } set { _mWeight = value; OnPropertyChanged(); } }


+ 2
- 2
BPASmartClient.JXJFoodBigStation/Model/DeviceInfo.cs ファイルの表示

@@ -1,4 +1,4 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -7,7 +7,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.JXJFoodBigStation.Model
{
internal class DeviceInfo:ObservableObject
internal class DeviceInfo:NotifyBase
{
public string IpAddress { get { return _mIpAddress; } set { _mIpAddress = value; OnPropertyChanged(); } }
private string _mIpAddress;


+ 1
- 1
BPASmartClient.JXJFoodBigStation/Model/HardWare/BomMaterial.cs ファイルの表示

@@ -1,4 +1,4 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;


+ 2
- 2
BPASmartClient.JXJFoodBigStation/Model/PlcVarMonitor.cs ファイルの表示

@@ -1,4 +1,4 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -7,7 +7,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.JXJFoodBigStation.Model
{
public class PlcVarMonitor: ObservableObject
public class PlcVarMonitor: NotifyBase
{
private int _serialNum;
public int SerialNum { get { return _serialNum; } set { _serialNum = value;OnPropertyChanged(); } }


+ 2
- 2
BPASmartClient.JXJFoodBigStation/Model/RawMaterial/RawMaterial.cs ファイルの表示

@@ -1,4 +1,4 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -7,7 +7,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.JXJFoodBigStation.Model
{
public class RawMaterial :ObservableObject
public class RawMaterial :NotifyBase
{
private int _mIp;
public int DeviceIp { get { return _mIp; } set { _mIp = value; OnPropertyChanged(); } }


+ 1
- 1
BPASmartClient.JXJFoodBigStation/Model/RawMaterial/RawMaterialData.cs ファイルの表示

@@ -1,4 +1,4 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;


+ 2
- 2
BPASmartClient.JXJFoodBigStation/Model/RawMaterial/RecipeData.cs ファイルの表示

@@ -1,4 +1,4 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
@@ -8,7 +8,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.JXJFoodBigStation.Model
{
public class RecipeData : ObservableObject
public class RecipeData : NotifyBase
{
/// <summary>
/// 配方名称


+ 2
- 2
BPASmartClient.JXJFoodBigStation/ViewModel/BomOfMaterialViewModel.cs ファイルの表示

@@ -4,7 +4,7 @@ using BPASmartClient.CustomResource.UserControls.MessageShow;
using BPASmartClient.Helper;
using BPASmartClient.JXJFoodBigStation.Model;
using BPASmartClient.JXJFoodBigStation.Model.HK_PLC;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.Generic;
@@ -18,7 +18,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.JXJFoodBigStation.ViewModel
{
public class BomOfMaterialViewModel : ObservableObject
public class BomOfMaterialViewModel : NotifyBase
{
public BomOfMaterialViewModel()
{


+ 2
- 2
BPASmartClient.JXJFoodBigStation/ViewModel/ChangeDeviceNameViewModel.cs ファイルの表示

@@ -1,6 +1,6 @@
using BPASmartClient.CustomResource.Pages.Model;
using BPASmartClient.Helper;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.Generic;
@@ -10,7 +10,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.JXJFoodBigStation.ViewModel
{
internal class ChangeDeviceNameViewModel:ObservableObject
internal class ChangeDeviceNameViewModel:NotifyBase
{
private static string IpAddress = string.Empty;



+ 2
- 2
BPASmartClient.JXJFoodBigStation/ViewModel/DeviceManageViewModel.cs ファイルの表示

@@ -2,7 +2,7 @@
using BPASmartClient.Helper;
using BPASmartClient.JXJFoodBigStation.Model;
using BPASmartClient.JXJFoodBigStation.View;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.Generic;
@@ -13,7 +13,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.JXJFoodBigStation.ViewModel
{
internal class DeviceManageViewModel:ObservableObject
internal class DeviceManageViewModel:NotifyBase
{

public ObservableCollection<DeviceInfo> Devices { get; set; } = new ObservableCollection<DeviceInfo>() { new DeviceInfo { DeviceName = "123", IpAddress = "123.213.123.213." } };


+ 2
- 2
BPASmartClient.JXJFoodBigStation/ViewModel/HKPlcCommMonitorViewModel.cs ファイルの表示

@@ -1,7 +1,7 @@
using BPASmartClient.Helper;
using BPASmartClient.JXJFoodBigStation.Model;
using BPASmartClient.JXJFoodBigStation.Model.HK_PLC;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.Generic;
@@ -15,7 +15,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.JXJFoodBigStation.ViewModel
{
public class HKPlcCommMonitorViewModel:ObservableObject
public class HKPlcCommMonitorViewModel:NotifyBase
{
public HKPlcCommMonitorViewModel()
{


+ 2
- 2
BPASmartClient.JXJFoodBigStation/ViewModel/HardwareStatusViewModel.cs ファイルの表示

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System.Collections.Concurrent;
using System.Collections.ObjectModel;
using System.Windows;
@@ -17,7 +17,7 @@ using System.Reflection;

namespace BPASmartClient.JXJFoodBigStation.ViewModel
{
public class HardwareStatusViewModel : ObservableObject
public class HardwareStatusViewModel : NotifyBase
{
public HardwareStatusViewModel()
{


+ 2
- 2
BPASmartClient.JXJFoodBigStation/ViewModel/ManualFlowViewModel.cs ファイルの表示

@@ -5,7 +5,7 @@ using BPASmartClient.Helper;
using BPASmartClient.JXJFoodBigStation.Model;
using BPASmartClient.JXJFoodBigStation.Model.HK_PLC;
using BPASmartClient.JXJFoodBigStation.Model.Siemens;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.Generic;
@@ -20,7 +20,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.JXJFoodBigStation.ViewModel
{
public class ManualFlowViewModel:ObservableObject
public class ManualFlowViewModel:NotifyBase
{
public ManualFlowViewModel()
{


+ 2
- 2
BPASmartClient.JXJFoodBigStation/ViewModel/RecipeInfosViewModel.cs ファイルの表示

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System.Collections.ObjectModel;
using Microsoft.Toolkit.Mvvm.Input;
using BPASmartClient.Helper;
@@ -16,7 +16,7 @@ using BPASmartClient.CustomResource.UserControls.MessageShow;

namespace BPASmartClient.JXJFoodBigStation.ViewModel
{
public class RecipeInfosViewModel : ObservableObject
public class RecipeInfosViewModel : NotifyBase
{
public RecipeInfosViewModel()
{


+ 2
- 2
BPASmartClient.JXJFoodBigStation/ViewModel/RecipeReceiveViewModel.cs ファイルの表示

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System.Collections.Concurrent;
using System.Collections.ObjectModel;
using System.Windows;
@@ -21,7 +21,7 @@ using BPASmartClient.JXJFoodBigStation.Model.Siemens;

namespace BPASmartClient.JXJFoodBigStation.ViewModel
{
public class RecipeReceiveViewModel : ObservableObject
public class RecipeReceiveViewModel : NotifyBase
{
public ObservableCollection<RawMaterial> RawMaterials { get; set; } = new ObservableCollection<RawMaterial>();
public RecipeReceiveViewModel()


+ 2
- 2
BPASmartClient.JXJFoodBigStation/ViewModel/RecipeSendDownViewModel.cs ファイルの表示

@@ -5,7 +5,7 @@ using BPASmartClient.Helper;
using BPASmartClient.JXJFoodBigStation.Model;
using BPASmartClient.JXJFoodBigStation.Model.Siemens;
using BPASmartClient.JXJFoodBigStation.View;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.Generic;
@@ -16,7 +16,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.JXJFoodBigStation.ViewModel
{
internal class RecipeSendDownViewModel:ObservableObject
internal class RecipeSendDownViewModel:NotifyBase
{
public ObservableCollection<RecipeData> Recipes { get; set; } = Json<LocalRecipe>.Data.Recipes;
/// <summary>


+ 3
- 3
BPASmartClient.JXJFoodBigStation/ViewModel/SelectRecipesViewModel.cs ファイルの表示

@@ -1,7 +1,7 @@
using BPASmartClient.CustomResource.Pages.Model;
using BPASmartClient.Helper;
using BPASmartClient.JXJFoodBigStation.Model;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.Generic;
@@ -12,7 +12,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.JXJFoodBigStation.ViewModel
{
internal class SelectRecipesViewModel:ObservableObject
internal class SelectRecipesViewModel:NotifyBase
{
public SelectRecipesViewModel()
{
@@ -100,7 +100,7 @@ namespace BPASmartClient.JXJFoodBigStation.ViewModel
/// <summary>
/// 一个配方数据的包装类。
/// </summary>
internal class RecipeDataWithCheck:ObservableObject
internal class RecipeDataWithCheck:NotifyBase
{
public RecipeData Recipe { get; set; }
private bool _IsSelected;


+ 2
- 2
BPASmartClient.JXJFoodBigStation/ViewModel/SiemensRecipeSendDownViewModel.cs ファイルの表示

@@ -1,7 +1,7 @@
using BPASmartClient.Helper;
using BPASmartClient.JXJFoodBigStation.Model;
using BPASmartClient.JXJFoodBigStation.Model.Siemens;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.Generic;
@@ -12,7 +12,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.JXJFoodBigStation.ViewModel
{
public class SiemensRecipeSendDownViewModel : ObservableObject
public class SiemensRecipeSendDownViewModel : NotifyBase
{
public ObservableCollection<RecipeData> Recipes { get; set; } = Json<RemoteRecipe>.Data.Recipes;
public SiemensRecipeSendDownViewModel()


+ 2
- 2
BPASmartClient.JXJFoodBigStation/ViewModel/StockBinRawMaterialViewModel.cs ファイルの表示

@@ -4,7 +4,7 @@ using BPASmartClient.CustomResource.UserControls.MessageShow;
using BPASmartClient.Helper;
using BPASmartClient.JXJFoodBigStation.Model;
using BPASmartClient.JXJFoodBigStation.Model.HK_PLC;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;
using System;
using System.Collections.Generic;
@@ -18,7 +18,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.JXJFoodBigStation.ViewModel
{
public class StockBinRawMaterialViewModel : ObservableObject
public class StockBinRawMaterialViewModel : NotifyBase
{
public StockBinRawMaterialViewModel()
{


+ 2
- 2
BPASmartClient.JXJFoodSmallStation/Model/Bom/BomMaterial.cs ファイルの表示

@@ -1,4 +1,4 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -7,7 +7,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.JXJFoodSmallStation.Model.Bom
{
public class BomMaterial:ObservableObject
public class BomMaterial:NotifyBase
{
public int Count { get { return _count; } set { _count = value; OnPropertyChanged(); } }
public int _count { get; set; }


+ 1
- 1
BPASmartClient.JXJFoodSmallStation/Model/Bom/BomMaterialData.cs ファイルの表示

@@ -1,4 +1,4 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;


+ 2
- 2
BPASmartClient.JXJFoodSmallStation/Model/GVL/PlcInfos.cs ファイルの表示

@@ -1,4 +1,4 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -7,7 +7,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.JXJFoodSmallStation.Model.GVL
{
public class PlcInfos: ObservableObject
public class PlcInfos: NotifyBase
{
public int Count { get { return _Count; } set { _Count = value;OnPropertyChanged(); } }
private int _Count { get; set; }


+ 2
- 2
BPASmartClient.JXJFoodSmallStation/Model/Par/ConnectParMode.cs ファイルの表示

@@ -3,11 +3,11 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.JXJFoodSmallStation.Model.Par
{
public class ConnectParMode: ObservableObject
public class ConnectParMode: NotifyBase
{
public bool SiemensConnect { get { return _mSiemensConnect; } set { _mSiemensConnect = value; OnPropertyChanged(); } }
private bool _mSiemensConnect;


+ 2
- 2
BPASmartClient.JXJFoodSmallStation/Model/RawMaterial/ActionMenu.cs ファイルの表示

@@ -3,12 +3,12 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using Microsoft.Toolkit.Mvvm.Input;

namespace BPASmartClient.JXJFoodSmallStation.Model
{
public class ActionMenu : ObservableObject
public class ActionMenu : NotifyBase
{
public string CommandParameter { get { return _mCommandParameter; } set { _mCommandParameter = value; OnPropertyChanged(); } }
private string _mCommandParameter;


+ 1
- 1
BPASmartClient.JXJFoodSmallStation/Model/RawMaterial/ConveyorServer.cs ファイルの表示

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.JXJFoodSmallStation.Model
{


+ 2
- 2
BPASmartClient.JXJFoodSmallStation/Model/RawMaterial/CylinderStatusModel.cs ファイルの表示

@@ -3,11 +3,11 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.JXJFoodSmallStation.Model
{
public class CylinderStatusModel : ObservableObject
public class CylinderStatusModel : NotifyBase
{
/// <summary>
/// 气缸原点信号


+ 2
- 2
BPASmartClient.JXJFoodSmallStation/Model/RawMaterial/DeviceCurrentStatus.cs ファイルの表示

@@ -3,11 +3,11 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.JXJFoodSmallStation.Model
{
public class DeviceCurrentStatus : ObservableObject
public class DeviceCurrentStatus : NotifyBase
{

public double Weight { get { return _mWeight; } set { _mWeight = value; OnPropertyChanged(); } }


+ 2
- 2
BPASmartClient.JXJFoodSmallStation/Model/RawMaterial/DevicePar.cs ファイルの表示

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System.Collections.ObjectModel;
using BPASmartClient.JXJFoodSmallStation.Model.Par;
using BPASmartClient.JXJFoodSmallStation.Model.RawMaterial;
@@ -11,7 +11,7 @@ using BPASmartClient.JXJFoodSmallStation.Model.Bom;

namespace BPASmartClient.JXJFoodSmallStation.Model
{
public class DevicePar:ObservableObject
public class DevicePar:NotifyBase
{
public ObservableCollection<DeviceParMode> deviceParModels { get; set; } = new ObservableCollection<DeviceParMode>();
public ConnectParMode deviceConnectPar { get { return _mdeviceConnectPar; } set { _mdeviceConnectPar = value; OnPropertyChanged(); } }


+ 2
- 2
BPASmartClient.JXJFoodSmallStation/Model/RawMaterial/DeviceParModel.cs ファイルの表示

@@ -3,11 +3,11 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;

namespace BPASmartClient.JXJFoodSmallStation.Model
{
public class DeviceParMode : ObservableObject
public class DeviceParMode : NotifyBase
{

/// <summary>


+ 2
- 2
BPASmartClient.JXJFoodSmallStation/Model/RawMaterial/RawMaterialColl.cs ファイルの表示

@@ -1,4 +1,4 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -7,7 +7,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.JXJFoodSmallStation.Model.RawMaterial
{
public class RawMaterialColl : ObservableObject
public class RawMaterialColl : NotifyBase
{
/// <summary>
/// 原料设备IP


+ 2
- 2
BPASmartClient.JXJFoodSmallStation/Model/RawMaterial/RawMaterialStockBin.cs ファイルの表示

@@ -1,4 +1,4 @@
using Microsoft.Toolkit.Mvvm.ComponentModel;
using BPA.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -7,7 +7,7 @@ using System.Threading.Tasks;

namespace BPASmartClient.JXJFoodSmallStation.Model.RawMaterial
{
public class RawMaterialStockBin : ObservableObject
public class RawMaterialStockBin : NotifyBase
{

public short RawMaterialCount { get { return _mRawMaterialCount; } set { _mRawMaterialCount = value; OnPropertyChanged(); } }


変更されたファイルが多すぎるため、一部のファイルは表示されません

読み込み中…
キャンセル
保存