diff --git a/Cowain.TestProject.sln b/Cowain.TestProject.sln
index e9661cf..bede7ee 100644
--- a/Cowain.TestProject.sln
+++ b/Cowain.TestProject.sln
@@ -33,11 +33,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Driver", "Driver", "{30F461
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cowain.TestProject", "Cowain.TestProject\Cowain.TestProject.csproj", "{2EE939AE-6843-3006-BC7A-6542BBAABB23}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Baking", "Baking", "{0A0182D3-52CC-40AA-9A5D-FCE6A20F170B}"
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plugin.AvaloniaPreview", "Plugins\Plugin.AvaloniaPreview\Plugin.AvaloniaPreview.csproj", "{951663D7-99B7-5109-93F5-5072D8F25897}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plugin.Cowain.Baking", "Plugins\Baking\Plugin.Cowain.Baking\Plugin.Cowain.Baking.csproj", "{D0C1B285-1FDA-4C71-92BE-CF9BD28931CB}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plugin.Cowain.Wcs", "Plugins\Wcs\Plugin.Cowain.Wcs\Plugin.Cowain.Wcs.csproj", "{BEAD32CC-A67F-09CB-7A11-28495EB31A53}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -85,10 +83,10 @@ Global
{951663D7-99B7-5109-93F5-5072D8F25897}.Debug|Any CPU.Build.0 = Debug|Any CPU
{951663D7-99B7-5109-93F5-5072D8F25897}.Release|Any CPU.ActiveCfg = Release|Any CPU
{951663D7-99B7-5109-93F5-5072D8F25897}.Release|Any CPU.Build.0 = Release|Any CPU
- {D0C1B285-1FDA-4C71-92BE-CF9BD28931CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D0C1B285-1FDA-4C71-92BE-CF9BD28931CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D0C1B285-1FDA-4C71-92BE-CF9BD28931CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D0C1B285-1FDA-4C71-92BE-CF9BD28931CB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {BEAD32CC-A67F-09CB-7A11-28495EB31A53}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {BEAD32CC-A67F-09CB-7A11-28495EB31A53}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {BEAD32CC-A67F-09CB-7A11-28495EB31A53}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {BEAD32CC-A67F-09CB-7A11-28495EB31A53}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -98,9 +96,8 @@ Global
{6C22C8CF-C50F-295E-7691-1C8933521476} = {30F46168-468C-44E9-9EEF-6796FC7CE213}
{58615919-38A2-B9AA-8B03-E232DEADCFC8} = {30F46168-468C-44E9-9EEF-6796FC7CE213}
{30F46168-468C-44E9-9EEF-6796FC7CE213} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
- {0A0182D3-52CC-40AA-9A5D-FCE6A20F170B} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{951663D7-99B7-5109-93F5-5072D8F25897} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
- {D0C1B285-1FDA-4C71-92BE-CF9BD28931CB} = {0A0182D3-52CC-40AA-9A5D-FCE6A20F170B}
+ {BEAD32CC-A67F-09CB-7A11-28495EB31A53} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {83CB65B8-011F-4ED7-BCD3-A6CFA935EF7E}
diff --git a/Cowain.TestProject/Cowain.TestProject.csproj b/Cowain.TestProject/Cowain.TestProject.csproj
index 37ce5cf..6c6cb59 100644
--- a/Cowain.TestProject/Cowain.TestProject.csproj
+++ b/Cowain.TestProject/Cowain.TestProject.csproj
@@ -15,7 +15,6 @@
-
diff --git a/Cowain.TestProject/Migrations/20260122065225_init.Designer.cs b/Cowain.TestProject/Migrations/20260122065225_init.Designer.cs
deleted file mode 100644
index 4f4000b..0000000
--- a/Cowain.TestProject/Migrations/20260122065225_init.Designer.cs
+++ /dev/null
@@ -1,464 +0,0 @@
-//
-using System;
-using Cowain.TestProject.DBContext;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Metadata;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-
-#nullable disable
-
-namespace Cowain.TestProject.Migrations
-{
- [DbContext(typeof(DBContextGenerator))]
- [Migration("20260122065225_init")]
- partial class init
- {
- ///
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
-#pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "9.0.0")
- .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
- MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
-
- modelBuilder.Entity("Cowain.Base.Models.Admins.UserDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("CreateTime")
- .HasColumnType("datetime(6)");
-
- b.Property("IsValid")
- .HasColumnType("tinyint(1)");
-
- b.Property("Name")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("Password")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("Phone")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("RoleId")
- .HasColumnType("int");
-
- b.Property("Sex")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("UpdateTime")
- .HasColumnType("datetime(6)");
-
- b.Property("UserNumber")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.HasKey("Id");
-
- b.ToTable("user");
-
- b.HasData(
- new
- {
- Id = 1,
- CreateTime = new DateTime(2026, 1, 22, 14, 52, 24, 945, DateTimeKind.Local).AddTicks(547),
- IsValid = true,
- Name = "admin",
- Password = "F44DDAC49CE7A95D",
- Phone = "17625760609",
- RoleId = 1,
- Sex = "Male",
- UpdateTime = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
- UserNumber = "CWA4483"
- });
- });
-
- modelBuilder.Entity("Cowain.Base.Models.Admins.UserRoleDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("CreateTime")
- .HasColumnType("datetime(6)");
-
- b.Property("IsValid")
- .HasColumnType("tinyint(1)");
-
- b.Property("RoleName")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("UpdateTime")
- .HasColumnType("datetime(6)");
-
- b.HasKey("Id");
-
- b.ToTable("user_role");
-
- b.HasData(
- new
- {
- Id = 1,
- CreateTime = new DateTime(2026, 1, 22, 14, 52, 24, 949, DateTimeKind.Local).AddTicks(9102),
- IsValid = true,
- RoleName = "管理员",
- UpdateTime = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified)
- });
- });
-
- modelBuilder.Entity("Cowain.Base.Models.Admins.UserRoleMenuDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("MenuActions")
- .HasColumnType("longtext");
-
- b.Property("MenuKey")
- .HasColumnType("longtext");
-
- b.Property("RoleId")
- .HasColumnType("int");
-
- b.HasKey("Id");
-
- b.ToTable("user_role_menu");
-
- b.HasData(
- new
- {
- Id = 1,
- MenuActions = "[]",
- MenuKey = "Home",
- RoleId = 1
- },
- new
- {
- Id = 2,
- MenuActions = "[ \"add\", \"edit\", \"delete\"]",
- MenuKey = "UserRoleSetting",
- RoleId = 1
- },
- new
- {
- Id = 3,
- MenuActions = "[ \"edit\", \"delete\"]",
- MenuKey = "RoleMenuSetting",
- RoleId = 1
- },
- new
- {
- Id = 4,
- MenuActions = "[ \"add\", \"edit\", \"delete\"]",
- MenuKey = "UserManagement",
- RoleId = 1
- });
- });
-
- modelBuilder.Entity("Plugin.Cowain.Driver.Models.Dto.AlarmGroupDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.HasKey("Id");
-
- b.ToTable("alarm_group");
-
- b.HasData(
- new
- {
- Id = 1,
- Name = "系统"
- });
- });
-
- modelBuilder.Entity("Plugin.Cowain.Driver.Models.Dto.AlarmHistoryDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("Desc")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("Group")
- .HasColumnType("int");
-
- b.Property("Level")
- .HasColumnType("int");
-
- b.Property("StartTime")
- .HasColumnType("datetime(6)");
-
- b.Property("Status")
- .HasColumnType("tinyint(1)");
-
- b.Property("StopTime")
- .HasColumnType("datetime(6)");
-
- b.Property("TagId")
- .HasColumnType("int");
-
- b.HasKey("Id");
-
- b.ToTable("alarm_history");
- });
-
- modelBuilder.Entity("Plugin.Cowain.Driver.Models.Dto.AlarmLevelDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("Color")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.HasKey("Id");
-
- b.ToTable("alarm_level");
-
- b.HasData(
- new
- {
- Id = 1,
- Color = "Red",
- Name = "报警"
- },
- new
- {
- Id = 2,
- Color = "Yellow",
- Name = "警告"
- });
- });
-
- modelBuilder.Entity("Plugin.Cowain.Driver.Models.Dto.DeviceDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("CreateTime")
- .HasColumnType("datetime(6)");
-
- b.Property("Desc")
- .HasColumnType("longtext");
-
- b.Property("DeviceName")
- .IsRequired()
- .HasMaxLength(50)
- .HasColumnType("varchar(50)");
-
- b.Property("DeviceType")
- .IsRequired()
- .HasMaxLength(20)
- .HasColumnType("varchar(20)");
-
- b.Property("DriverName")
- .IsRequired()
- .HasMaxLength(50)
- .HasColumnType("varchar(50)");
-
- b.Property("Enable")
- .HasColumnType("tinyint(1)");
-
- b.Property("Param")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("UpdateTime")
- .HasColumnType("datetime(6)");
-
- b.HasKey("Id");
-
- b.ToTable("device");
- });
-
- modelBuilder.Entity("Plugin.Cowain.Driver.Models.Dto.TagAddressDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("Address")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.Property("AlarmEnable")
- .HasColumnType("tinyint(1)");
-
- b.Property("AlarmGroup")
- .HasColumnType("int");
-
- b.Property("AlarmLevel")
- .HasColumnType("int");
-
- b.Property("AlarmMsg")
- .IsRequired()
- .HasMaxLength(1000)
- .HasColumnType("varchar(1000)");
-
- b.Property("AlarmValue")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("ArrayCount")
- .HasColumnType("int");
-
- b.Property("DataType")
- .IsRequired()
- .HasMaxLength(50)
- .HasColumnType("varchar(50)");
-
- b.Property("Desc")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("DeviceId")
- .HasColumnType("int");
-
- b.Property("Json")
- .IsRequired()
- .HasMaxLength(1000)
- .HasColumnType("varchar(1000)");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.Property("OperMode")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.HasKey("Id");
-
- b.ToTable("tag_address");
-
- b.HasData(
- new
- {
- Id = 1,
- Address = "ns=4;s=L1RSTemp_Output1[0]",
- AlarmEnable = false,
- AlarmGroup = 0,
- AlarmLevel = 0,
- AlarmMsg = "",
- AlarmValue = "",
- ArrayCount = 1,
- DataType = "Int16",
- Desc = "Tag1",
- DeviceId = 1,
- Json = "",
- Name = "Tag1",
- OperMode = "Read"
- },
- new
- {
- Id = 2,
- Address = "ns=4;s=L1RSTemp_Output1[1]",
- AlarmEnable = false,
- AlarmGroup = 0,
- AlarmLevel = 0,
- AlarmMsg = "",
- AlarmValue = "",
- ArrayCount = 1,
- DataType = "Int16",
- Desc = "Tag2",
- DeviceId = 1,
- Json = "",
- Name = "Tag2",
- OperMode = "Read"
- });
- });
-
- modelBuilder.Entity("Plugin.Cowain.Driver.Models.Dto.VarActionDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("ActionName")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.Property("ActionValue")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.Property("Condition")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.Property("Desc")
- .IsRequired()
- .HasMaxLength(500)
- .HasColumnType("varchar(500)");
-
- b.Property("DeviceId")
- .HasColumnType("int");
-
- b.Property("Param")
- .IsRequired()
- .HasMaxLength(1000)
- .HasColumnType("varchar(1000)");
-
- b.Property("TagId")
- .HasColumnType("int");
-
- b.HasKey("Id");
-
- b.ToTable("var_action");
- });
-#pragma warning restore 612, 618
- }
- }
-}
diff --git a/Cowain.TestProject/Migrations/20260124082311_baking_model.Designer.cs b/Cowain.TestProject/Migrations/20260124082311_baking_model.Designer.cs
deleted file mode 100644
index 9235c00..0000000
--- a/Cowain.TestProject/Migrations/20260124082311_baking_model.Designer.cs
+++ /dev/null
@@ -1,621 +0,0 @@
-//
-using System;
-using Cowain.TestProject.DBContext;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Metadata;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-
-#nullable disable
-
-namespace Cowain.TestProject.Migrations
-{
- [DbContext(typeof(DBContextGenerator))]
- [Migration("20260124082311_baking_model")]
- partial class baking_model
- {
- ///
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
-#pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "9.0.0")
- .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
- MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
-
- modelBuilder.Entity("Cowain.Base.Models.Admins.UserDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("CreateTime")
- .HasColumnType("datetime(6)");
-
- b.Property("IsValid")
- .HasColumnType("tinyint(1)");
-
- b.Property("Name")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("Password")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("Phone")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("RoleId")
- .HasColumnType("int");
-
- b.Property("Sex")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("UpdateTime")
- .HasColumnType("datetime(6)");
-
- b.Property("UserNumber")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.HasKey("Id");
-
- b.ToTable("user");
-
- b.HasData(
- new
- {
- Id = 1,
- CreateTime = new DateTime(2026, 1, 24, 16, 23, 11, 270, DateTimeKind.Local).AddTicks(5712),
- IsValid = true,
- Name = "admin",
- Password = "F44DDAC49CE7A95D",
- Phone = "17625760609",
- RoleId = 1,
- Sex = "Male",
- UpdateTime = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
- UserNumber = "CWA4483"
- });
- });
-
- modelBuilder.Entity("Cowain.Base.Models.Admins.UserRoleDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("CreateTime")
- .HasColumnType("datetime(6)");
-
- b.Property("IsValid")
- .HasColumnType("tinyint(1)");
-
- b.Property("RoleName")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("UpdateTime")
- .HasColumnType("datetime(6)");
-
- b.HasKey("Id");
-
- b.ToTable("user_role");
-
- b.HasData(
- new
- {
- Id = 1,
- CreateTime = new DateTime(2026, 1, 24, 16, 23, 11, 280, DateTimeKind.Local).AddTicks(5323),
- IsValid = true,
- RoleName = "管理员",
- UpdateTime = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified)
- });
- });
-
- modelBuilder.Entity("Cowain.Base.Models.Admins.UserRoleMenuDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("MenuActions")
- .HasColumnType("longtext");
-
- b.Property("MenuKey")
- .HasColumnType("longtext");
-
- b.Property("RoleId")
- .HasColumnType("int");
-
- b.HasKey("Id");
-
- b.ToTable("user_role_menu");
-
- b.HasData(
- new
- {
- Id = 1,
- MenuActions = "[]",
- MenuKey = "Home",
- RoleId = 1
- },
- new
- {
- Id = 2,
- MenuActions = "[ \"add\", \"edit\", \"delete\"]",
- MenuKey = "UserRoleSetting",
- RoleId = 1
- },
- new
- {
- Id = 3,
- MenuActions = "[ \"edit\", \"delete\"]",
- MenuKey = "RoleMenuSetting",
- RoleId = 1
- },
- new
- {
- Id = 4,
- MenuActions = "[ \"add\", \"edit\", \"delete\"]",
- MenuKey = "UserManagement",
- RoleId = 1
- });
- });
-
- modelBuilder.Entity("Plugin.Cowain.Baking.Models.Dto.BatteryInfoDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("Code")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.Property("IsWaterBattery")
- .HasColumnType("tinyint(1)");
-
- b.Property("PalletId")
- .HasColumnType("int");
-
- b.Property("ScanTime")
- .HasColumnType("datetime(6)");
-
- b.Property("Status")
- .HasColumnType("int");
-
- b.HasKey("Id");
-
- b.ToTable("battery_info");
- });
-
- modelBuilder.Entity("Plugin.Cowain.Baking.Models.Dto.PalletInfoDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("BakingEndTime")
- .HasColumnType("datetime(6)");
-
- b.Property("BakingStartTime")
- .HasColumnType("datetime(6)");
-
- b.Property("Code")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.Property("CreateTime")
- .HasColumnType("datetime(6)");
-
- b.Property("LoadingEndTime")
- .HasColumnType("datetime(6)");
-
- b.Property("LoadingStartTime")
- .HasColumnType("datetime(6)");
-
- b.Property("PalletStatus")
- .HasColumnType("int");
-
- b.Property("StationId")
- .HasColumnType("int");
-
- b.Property("UnLoadingTime")
- .HasColumnType("datetime(6)");
-
- b.Property("UpdateTime")
- .HasColumnType("datetime(6)");
-
- b.Property("WaterValue")
- .HasColumnType("double");
-
- b.HasKey("Id");
-
- b.ToTable("pallet_info");
-
- b.UseTptMappingStrategy();
- });
-
- modelBuilder.Entity("Plugin.Cowain.Baking.Models.Dto.PalletStatusDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("Desc")
- .IsRequired()
- .HasMaxLength(500)
- .HasColumnType("varchar(500)");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.HasKey("Id");
-
- b.ToTable("pallet_status");
-
- b.HasData(
- new
- {
- Id = 1,
- Desc = "新托盘",
- Name = "New"
- },
- new
- {
- Id = 2,
- Desc = "上料中",
- Name = "Loading"
- });
- });
-
- modelBuilder.Entity("Plugin.Cowain.Baking.Models.Dto.StationInfoDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("LayOutX")
- .HasColumnType("int");
-
- b.Property("LayOutY")
- .HasColumnType("int");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.HasKey("Id");
-
- b.ToTable("station_info");
- });
-
- modelBuilder.Entity("Plugin.Cowain.Driver.Models.Dto.AlarmGroupDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.HasKey("Id");
-
- b.ToTable("alarm_group");
-
- b.HasData(
- new
- {
- Id = 1,
- Name = "系统"
- });
- });
-
- modelBuilder.Entity("Plugin.Cowain.Driver.Models.Dto.AlarmHistoryDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("Desc")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("Group")
- .HasColumnType("int");
-
- b.Property("Level")
- .HasColumnType("int");
-
- b.Property("StartTime")
- .HasColumnType("datetime(6)");
-
- b.Property("Status")
- .HasColumnType("tinyint(1)");
-
- b.Property("StopTime")
- .HasColumnType("datetime(6)");
-
- b.Property("TagId")
- .HasColumnType("int");
-
- b.HasKey("Id");
-
- b.ToTable("alarm_history");
- });
-
- modelBuilder.Entity("Plugin.Cowain.Driver.Models.Dto.AlarmLevelDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("Color")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.HasKey("Id");
-
- b.ToTable("alarm_level");
-
- b.HasData(
- new
- {
- Id = 1,
- Color = "Red",
- Name = "报警"
- },
- new
- {
- Id = 2,
- Color = "Yellow",
- Name = "警告"
- });
- });
-
- modelBuilder.Entity("Plugin.Cowain.Driver.Models.Dto.DeviceDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("CreateTime")
- .HasColumnType("datetime(6)");
-
- b.Property("Desc")
- .HasColumnType("longtext");
-
- b.Property("DeviceName")
- .IsRequired()
- .HasMaxLength(50)
- .HasColumnType("varchar(50)");
-
- b.Property("DeviceType")
- .IsRequired()
- .HasMaxLength(20)
- .HasColumnType("varchar(20)");
-
- b.Property("DriverName")
- .IsRequired()
- .HasMaxLength(50)
- .HasColumnType("varchar(50)");
-
- b.Property("Enable")
- .HasColumnType("tinyint(1)");
-
- b.Property("Param")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("UpdateTime")
- .HasColumnType("datetime(6)");
-
- b.HasKey("Id");
-
- b.ToTable("device");
- });
-
- modelBuilder.Entity("Plugin.Cowain.Driver.Models.Dto.TagAddressDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("Address")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.Property("AlarmEnable")
- .HasColumnType("tinyint(1)");
-
- b.Property("AlarmGroup")
- .HasColumnType("int");
-
- b.Property("AlarmLevel")
- .HasColumnType("int");
-
- b.Property("AlarmMsg")
- .IsRequired()
- .HasMaxLength(1000)
- .HasColumnType("varchar(1000)");
-
- b.Property("AlarmValue")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("ArrayCount")
- .HasColumnType("int");
-
- b.Property("DataType")
- .IsRequired()
- .HasMaxLength(50)
- .HasColumnType("varchar(50)");
-
- b.Property("Desc")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("DeviceId")
- .HasColumnType("int");
-
- b.Property("Json")
- .IsRequired()
- .HasMaxLength(1000)
- .HasColumnType("varchar(1000)");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.Property("OperMode")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.HasKey("Id");
-
- b.ToTable("tag_address");
-
- b.HasData(
- new
- {
- Id = 1,
- Address = "ns=4;s=L1RSTemp_Output1[0]",
- AlarmEnable = false,
- AlarmGroup = 0,
- AlarmLevel = 0,
- AlarmMsg = "",
- AlarmValue = "",
- ArrayCount = 1,
- DataType = "Int16",
- Desc = "Tag1",
- DeviceId = 1,
- Json = "",
- Name = "Tag1",
- OperMode = "Read"
- },
- new
- {
- Id = 2,
- Address = "ns=4;s=L1RSTemp_Output1[1]",
- AlarmEnable = false,
- AlarmGroup = 0,
- AlarmLevel = 0,
- AlarmMsg = "",
- AlarmValue = "",
- ArrayCount = 1,
- DataType = "Int16",
- Desc = "Tag2",
- DeviceId = 1,
- Json = "",
- Name = "Tag2",
- OperMode = "Read"
- });
- });
-
- modelBuilder.Entity("Plugin.Cowain.Driver.Models.Dto.VarActionDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("ActionName")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.Property("ActionValue")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.Property("Condition")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.Property("Desc")
- .IsRequired()
- .HasMaxLength(500)
- .HasColumnType("varchar(500)");
-
- b.Property("DeviceId")
- .HasColumnType("int");
-
- b.Property("Param")
- .IsRequired()
- .HasMaxLength(1000)
- .HasColumnType("varchar(1000)");
-
- b.Property("TagId")
- .HasColumnType("int");
-
- b.HasKey("Id");
-
- b.ToTable("var_action");
- });
-
- modelBuilder.Entity("Plugin.Cowain.Baking.Models.Dto.PalletInfoHistoryDto", b =>
- {
- b.HasBaseType("Plugin.Cowain.Baking.Models.Dto.PalletInfoDto");
-
- b.ToTable("pallet_info_history");
- });
-
- modelBuilder.Entity("Plugin.Cowain.Baking.Models.Dto.PalletInfoHistoryDto", b =>
- {
- b.HasOne("Plugin.Cowain.Baking.Models.Dto.PalletInfoDto", null)
- .WithOne()
- .HasForeignKey("Plugin.Cowain.Baking.Models.Dto.PalletInfoHistoryDto", "Id")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired();
- });
-#pragma warning restore 612, 618
- }
- }
-}
diff --git a/Cowain.TestProject/Migrations/20260124082311_baking_model.cs b/Cowain.TestProject/Migrations/20260124082311_baking_model.cs
deleted file mode 100644
index 8711917..0000000
--- a/Cowain.TestProject/Migrations/20260124082311_baking_model.cs
+++ /dev/null
@@ -1,170 +0,0 @@
-using System;
-using Microsoft.EntityFrameworkCore.Metadata;
-using Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional
-
-namespace Cowain.TestProject.Migrations
-{
- ///
- public partial class baking_model : Migration
- {
- ///
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.CreateTable(
- name: "battery_info",
- columns: table => new
- {
- Id = table.Column(type: "int", nullable: false)
- .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
- Code = table.Column(type: "varchar(200)", maxLength: 200, nullable: false)
- .Annotation("MySql:CharSet", "utf8mb4"),
- PalletId = table.Column(type: "int", nullable: false),
- IsWaterBattery = table.Column(type: "tinyint(1)", nullable: false),
- Status = table.Column(type: "int", nullable: false),
- ScanTime = table.Column(type: "datetime(6)", nullable: true)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_battery_info", x => x.Id);
- })
- .Annotation("MySql:CharSet", "utf8mb4");
-
- migrationBuilder.CreateTable(
- name: "pallet_info",
- columns: table => new
- {
- Id = table.Column(type: "int", nullable: false)
- .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
- Code = table.Column(type: "varchar(200)", maxLength: 200, nullable: false)
- .Annotation("MySql:CharSet", "utf8mb4"),
- PalletStatus = table.Column(type: "int", nullable: false),
- StationId = table.Column(type: "int", nullable: false),
- LoadingStartTime = table.Column(type: "datetime(6)", nullable: true),
- LoadingEndTime = table.Column(type: "datetime(6)", nullable: true),
- BakingStartTime = table.Column(type: "datetime(6)", nullable: true),
- BakingEndTime = table.Column(type: "datetime(6)", nullable: true),
- UnLoadingTime = table.Column(type: "datetime(6)", nullable: true),
- CreateTime = table.Column(type: "datetime(6)", nullable: true),
- UpdateTime = table.Column(type: "datetime(6)", nullable: true),
- WaterValue = table.Column(type: "double", nullable: false)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_pallet_info", x => x.Id);
- })
- .Annotation("MySql:CharSet", "utf8mb4");
-
- migrationBuilder.CreateTable(
- name: "pallet_status",
- columns: table => new
- {
- Id = table.Column(type: "int", nullable: false)
- .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
- Name = table.Column(type: "varchar(200)", maxLength: 200, nullable: false)
- .Annotation("MySql:CharSet", "utf8mb4"),
- Desc = table.Column(type: "varchar(500)", maxLength: 500, nullable: false)
- .Annotation("MySql:CharSet", "utf8mb4")
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_pallet_status", x => x.Id);
- })
- .Annotation("MySql:CharSet", "utf8mb4");
-
- migrationBuilder.CreateTable(
- name: "station_info",
- columns: table => new
- {
- Id = table.Column(type: "int", nullable: false)
- .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
- Name = table.Column(type: "varchar(200)", maxLength: 200, nullable: false)
- .Annotation("MySql:CharSet", "utf8mb4"),
- LayOutX = table.Column(type: "int", nullable: false),
- LayOutY = table.Column(type: "int", nullable: false)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_station_info", x => x.Id);
- })
- .Annotation("MySql:CharSet", "utf8mb4");
-
- migrationBuilder.CreateTable(
- name: "pallet_info_history",
- columns: table => new
- {
- Id = table.Column(type: "int", nullable: false)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_pallet_info_history", x => x.Id);
- table.ForeignKey(
- name: "FK_pallet_info_history_pallet_info_Id",
- column: x => x.Id,
- principalTable: "pallet_info",
- principalColumn: "Id",
- onDelete: ReferentialAction.Cascade);
- })
- .Annotation("MySql:CharSet", "utf8mb4");
-
- migrationBuilder.InsertData(
- table: "pallet_status",
- columns: new[] { "Id", "Desc", "Name" },
- values: new object[,]
- {
- { 1, "新托盘", "New" },
- { 2, "上料中", "Loading" }
- });
-
- migrationBuilder.UpdateData(
- table: "user",
- keyColumn: "Id",
- keyValue: 1,
- column: "CreateTime",
- value: new DateTime(2026, 1, 24, 16, 23, 11, 270, DateTimeKind.Local).AddTicks(5712));
-
- migrationBuilder.UpdateData(
- table: "user_role",
- keyColumn: "Id",
- keyValue: 1,
- column: "CreateTime",
- value: new DateTime(2026, 1, 24, 16, 23, 11, 280, DateTimeKind.Local).AddTicks(5323));
- }
-
- ///
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropTable(
- name: "battery_info");
-
- migrationBuilder.DropTable(
- name: "pallet_info_history");
-
- migrationBuilder.DropTable(
- name: "pallet_status");
-
- migrationBuilder.DropTable(
- name: "station_info");
-
- migrationBuilder.DropTable(
- name: "pallet_info");
-
- migrationBuilder.UpdateData(
- table: "user",
- keyColumn: "Id",
- keyValue: 1,
- column: "CreateTime",
- value: new DateTime(2026, 1, 22, 14, 52, 24, 945, DateTimeKind.Local).AddTicks(547));
-
- migrationBuilder.UpdateData(
- table: "user_role",
- keyColumn: "Id",
- keyValue: 1,
- column: "CreateTime",
- value: new DateTime(2026, 1, 22, 14, 52, 24, 949, DateTimeKind.Local).AddTicks(9102));
- }
- }
-}
diff --git a/Cowain.TestProject/Migrations/20260126032551_baking_model_edit.Designer.cs b/Cowain.TestProject/Migrations/20260126032551_baking_model_edit.Designer.cs
deleted file mode 100644
index 0245eb1..0000000
--- a/Cowain.TestProject/Migrations/20260126032551_baking_model_edit.Designer.cs
+++ /dev/null
@@ -1,717 +0,0 @@
-//
-using System;
-using Cowain.TestProject.DBContext;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Metadata;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-
-#nullable disable
-
-namespace Cowain.TestProject.Migrations
-{
- [DbContext(typeof(DBContextGenerator))]
- [Migration("20260126032551_baking_model_edit")]
- partial class baking_model_edit
- {
- ///
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
-#pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "9.0.0")
- .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
- MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
-
- modelBuilder.Entity("Cowain.Base.Models.Admins.UserDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("CreateTime")
- .HasColumnType("datetime(6)");
-
- b.Property("IsValid")
- .HasColumnType("tinyint(1)");
-
- b.Property("Name")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("Password")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("Phone")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("RoleId")
- .HasColumnType("int");
-
- b.Property("Sex")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("UpdateTime")
- .HasColumnType("datetime(6)");
-
- b.Property("UserNumber")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.HasKey("Id");
-
- b.ToTable("user");
-
- b.HasData(
- new
- {
- Id = 1,
- CreateTime = new DateTime(2026, 1, 26, 11, 25, 51, 148, DateTimeKind.Local).AddTicks(7643),
- IsValid = true,
- Name = "admin",
- Password = "F44DDAC49CE7A95D",
- Phone = "17625760609",
- RoleId = 1,
- Sex = "Male",
- UpdateTime = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
- UserNumber = "CWA4483"
- });
- });
-
- modelBuilder.Entity("Cowain.Base.Models.Admins.UserRoleDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("CreateTime")
- .HasColumnType("datetime(6)");
-
- b.Property("IsValid")
- .HasColumnType("tinyint(1)");
-
- b.Property("RoleName")
- .IsRequired()
- .HasColumnType("longtext");
-
- b.Property("UpdateTime")
- .HasColumnType("datetime(6)");
-
- b.HasKey("Id");
-
- b.ToTable("user_role");
-
- b.HasData(
- new
- {
- Id = 1,
- CreateTime = new DateTime(2026, 1, 26, 11, 25, 51, 165, DateTimeKind.Local).AddTicks(2827),
- IsValid = true,
- RoleName = "管理员",
- UpdateTime = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified)
- });
- });
-
- modelBuilder.Entity("Cowain.Base.Models.Admins.UserRoleMenuDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("MenuActions")
- .HasColumnType("longtext");
-
- b.Property("MenuKey")
- .HasColumnType("longtext");
-
- b.Property("RoleId")
- .HasColumnType("int");
-
- b.HasKey("Id");
-
- b.ToTable("user_role_menu");
-
- b.HasData(
- new
- {
- Id = 1,
- MenuActions = "[]",
- MenuKey = "Home",
- RoleId = 1
- },
- new
- {
- Id = 2,
- MenuActions = "[ \"add\", \"edit\", \"delete\"]",
- MenuKey = "UserRoleSetting",
- RoleId = 1
- },
- new
- {
- Id = 3,
- MenuActions = "[ \"edit\", \"delete\"]",
- MenuKey = "RoleMenuSetting",
- RoleId = 1
- },
- new
- {
- Id = 4,
- MenuActions = "[ \"add\", \"edit\", \"delete\"]",
- MenuKey = "UserManagement",
- RoleId = 1
- });
- });
-
- modelBuilder.Entity("Plugin.Cowain.Baking.Models.Dto.BakingInfoDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("BindingId")
- .HasColumnType("int");
-
- b.Property("CreateTime")
- .HasColumnType("datetime(6)");
-
- b.Property("DataValue")
- .HasColumnType("longtext");
-
- b.Property("TagId")
- .HasColumnType("int");
-
- b.HasKey("Id");
-
- b.ToTable("baking_info");
- });
-
- modelBuilder.Entity("Plugin.Cowain.Baking.Models.Dto.BakingVariableDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("StationId")
- .HasColumnType("int");
-
- b.Property("TagId")
- .HasColumnType("int");
-
- b.HasKey("Id");
-
- b.ToTable("baking_variable");
- });
-
- modelBuilder.Entity("Plugin.Cowain.Baking.Models.Dto.BatteryInfoDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("Code")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.Property("IsWaterBattery")
- .HasColumnType("tinyint(1)");
-
- b.Property("PalletId")
- .HasColumnType("int");
-
- b.Property("ScanTime")
- .HasColumnType("datetime(6)");
-
- b.Property("Status")
- .HasColumnType("int");
-
- b.Property("WaterValue")
- .HasColumnType("double");
-
- b.HasKey("Id");
-
- b.ToTable("battery_info");
- });
-
- modelBuilder.Entity("Plugin.Cowain.Baking.Models.Dto.PalletBindingDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("CreateTime")
- .HasColumnType("datetime(6)");
-
- b.Property("PalletId")
- .HasColumnType("int");
-
- b.HasKey("Id");
-
- b.ToTable("pallet_binding");
- });
-
- modelBuilder.Entity("Plugin.Cowain.Baking.Models.Dto.PalletInfoDto", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("int");
-
- MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("Id"));
-
- b.Property("BakingEndTime")
- .HasColumnType("datetime(6)");
-
- b.Property("BakingStartTime")
- .HasColumnType("datetime(6)");
-
- b.Property("BindingId")
- .HasColumnType("int");
-
- b.Property("Code")
- .IsRequired()
- .HasMaxLength(200)
- .HasColumnType("varchar(200)");
-
- b.Property("LoadingEndTime")
- .HasColumnType("datetime(6)");
-
- b.Property("LoadingStartTime")
- .HasColumnType("datetime(6)");
-
- b.Property("PalletStatus")
- .HasColumnType("int");
-
- b.Property("StationId")
- .HasColumnType("int");
-
- b.Property("UnLoadingTime")
- .HasColumnType("datetime(6)");
-
- b.Property