Sfoglia il codice sorgente

SCADA

样式分支
NXX 2 anni fa
parent
commit
956d58fbc8
9 ha cambiato i file con 222 aggiunte e 1 eliminazioni
  1. +11
    -0
      BPASmartClient.ControlCenterService/BPASmartClient.ControlCenterService.csproj
  2. +7
    -0
      BPASmartClient.ControlCenterService/Program.cs
  3. +30
    -0
      BPASmartClient.ControlCenterService/Serviceinitialization.cs
  4. +9
    -0
      BPASmartClient.Models/BPASmartClient.Models.csproj
  5. +27
    -0
      BPASmartClient.Models/重庆胖子鱼/FryingPanDevicesModel.cs
  6. +26
    -0
      BPASmartClient.Models/重庆胖子鱼/MaterialsModel.cs
  7. +28
    -0
      BPASmartClient.Models/重庆胖子鱼/OrdersModel.cs
  8. +37
    -0
      BPASmartClient.Models/重庆胖子鱼/RecipesModel.cs
  9. +47
    -1
      SmartClient.sln

+ 11
- 0
BPASmartClient.ControlCenterService/BPASmartClient.ControlCenterService.csproj Vedi File

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

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>

</Project>

+ 7
- 0
BPASmartClient.ControlCenterService/Program.cs Vedi File

@@ -0,0 +1,7 @@
// See https://aka.ms/new-console-template for more information
using BPASmartClient.ControlCenterService;
using System;

Console.WriteLine("------------------ 控制中心服务启动 ------------------");

Serviceinitialization serviceinitialization = new Serviceinitialization();

+ 30
- 0
BPASmartClient.ControlCenterService/Serviceinitialization.cs Vedi File

@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPASmartClient.ControlCenterService
{
public class Serviceinitialization
{
public Serviceinitialization()
{
//初始化加载
init();
}


private void init()
{
//订单接收模块

//AGV通讯模块

}
}

}

+ 9
- 0
BPASmartClient.Models/BPASmartClient.Models.csproj Vedi File

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

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

</Project>

+ 27
- 0
BPASmartClient.Models/重庆胖子鱼/FryingPanDevicesModel.cs Vedi File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPASmartClient.Models.重庆胖子鱼
{
/// <summary>
/// 炒锅model
/// </summary>
public class FryingPanDevicesModel
{
/// <summary>
/// 炒锅ID
/// </summary>
public int FryingPanId { get; set; }
/// <summary>
/// 炒锅名称
/// </summary>
public string FryingPanName { get; set; }
/// <summary>
/// 炒锅IP地址
/// </summary>
public int FryingPanAddress { get; set; }
}
}

+ 26
- 0
BPASmartClient.Models/重庆胖子鱼/MaterialsModel.cs Vedi File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPASmartClient.Models.重庆胖子鱼
{
public class MaterialsModel
{
/// <summary>
/// 原料ID
/// </summary>
public int MaterialId { get; set; }
/// <summary>
/// 原料名称
/// </summary>
public string MaterialName { get; set; }
/// <summary>
/// 原料重量
/// </summary>
public int MaterialWeight { get; set; }


}
}

+ 28
- 0
BPASmartClient.Models/重庆胖子鱼/OrdersModel.cs Vedi File

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPASmartClient.Models.重庆胖子鱼
{
public class OrdersModel
{
/// <summary>
/// 订单ID
/// </summary>
public int Id { get; set; }
/// <summary>
/// 订单名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 订单数量
/// </summary>
public int Count { get; set; }

public List<OrdersModel> Orders { get; set; }

public bool Order
}
}

+ 37
- 0
BPASmartClient.Models/重庆胖子鱼/RecipesModel.cs Vedi File

@@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPASmartClient.Models.重庆胖子鱼
{
public class RecipesModel
{
/// <summary>
/// 配方ID
/// </summary>
public int RecipeId { get; set; }
/// <summary>
/// 配方名称
/// </summary>
public string RecipeName { get; set; }
/// <summary>
/// 配方可用的炒锅设备集合
/// </summary>
public List<FryingPanDevicesModel> Devices { get; set; }
/// <summary>
/// 原料集合
/// </summary>
public List<MaterialsModel> Materials { get; set; }
/// <summary>
/// 配方总重
/// </summary>
public int RecipeWeight { get; set; }
/// <summary>
/// 配方状态
/// 0:等待制作 1;正在制作 2;已完成
/// </summary>
public int RecipeState { get; set; }
}
}

+ 47
- 1
SmartClient.sln Vedi File

@@ -152,7 +152,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BPASmartClient.Compiler", "
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "4.界面加载实例", "4.界面加载实例", "{309D579E-DDA8-4B01-A0AA-0F381BC37801}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SCADA.Test", "SCADA.Test\SCADA.Test.csproj", "{1696D557-C908-4136-A5F2-FF59D69E642C}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SCADA.Test", "SCADA.Test\SCADA.Test.csproj", "{1696D557-C908-4136-A5F2-FF59D69E642C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BPASmartClient.ControlCenterService", "BPASmartClient.ControlCenterService\BPASmartClient.ControlCenterService.csproj", "{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BPASmartClient.Models", "BPASmartClient.Models\BPASmartClient.Models.csproj", "{724986EA-91D8-417A-AB10-8B589D3253C4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -1408,6 +1412,46 @@ Global
{1696D557-C908-4136-A5F2-FF59D69E642C}.Release|x64.Build.0 = Release|Any CPU
{1696D557-C908-4136-A5F2-FF59D69E642C}.Release|x86.ActiveCfg = Release|Any CPU
{1696D557-C908-4136-A5F2-FF59D69E642C}.Release|x86.Build.0 = Release|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Debug|ARM.ActiveCfg = Debug|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Debug|ARM.Build.0 = Debug|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Debug|ARM64.Build.0 = Debug|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Debug|x64.ActiveCfg = Debug|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Debug|x64.Build.0 = Debug|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Debug|x86.ActiveCfg = Debug|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Debug|x86.Build.0 = Debug|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Release|Any CPU.Build.0 = Release|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Release|ARM.ActiveCfg = Release|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Release|ARM.Build.0 = Release|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Release|ARM64.ActiveCfg = Release|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Release|ARM64.Build.0 = Release|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Release|x64.ActiveCfg = Release|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Release|x64.Build.0 = Release|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Release|x86.ActiveCfg = Release|Any CPU
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172}.Release|x86.Build.0 = Release|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Debug|ARM.ActiveCfg = Debug|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Debug|ARM.Build.0 = Debug|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Debug|ARM64.Build.0 = Debug|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Debug|x64.ActiveCfg = Debug|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Debug|x64.Build.0 = Debug|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Debug|x86.ActiveCfg = Debug|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Debug|x86.Build.0 = Debug|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Release|Any CPU.Build.0 = Release|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Release|ARM.ActiveCfg = Release|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Release|ARM.Build.0 = Release|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Release|ARM64.ActiveCfg = Release|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Release|ARM64.Build.0 = Release|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Release|x64.ActiveCfg = Release|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Release|x64.Build.0 = Release|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Release|x86.ActiveCfg = Release|Any CPU
{724986EA-91D8-417A-AB10-8B589D3253C4}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -1479,6 +1523,8 @@ Global
{B6213013-2A0E-41DD-BA9F-775D53C19374} = {5300552F-560D-474A-8D96-0A2747D08F64}
{309D579E-DDA8-4B01-A0AA-0F381BC37801} = {7B0175AD-BB74-4A98-B9A7-1E289032485E}
{1696D557-C908-4136-A5F2-FF59D69E642C} = {309D579E-DDA8-4B01-A0AA-0F381BC37801}
{7C7FDEDE-FADB-44D3-A284-EA1E6ED31172} = {7B0175AD-BB74-4A98-B9A7-1E289032485E}
{724986EA-91D8-417A-AB10-8B589D3253C4} = {7B0175AD-BB74-4A98-B9A7-1E289032485E}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {9AEC9B81-0222-4DE9-B642-D915C29222AC}


Caricamento…
Annulla
Salva