Eliseev E.E. LabWork01 #1

Closed
ElEgEv wants to merge 26 commits from LabWork01 into main
8 changed files with 35 additions and 7 deletions
Showing only changes of commit bbc58f7482 - Show all commits

View File

@ -7,6 +7,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlacksmithWorkshop", "Black
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlacksmithWorkshopDataModels", "BlacksmithWorkshopDataModels\BlacksmithWorkshopDataModels.csproj", "{842406BF-3B58-4F5C-A4EB-AAB84F66ABEC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlacksmithWorkshopContracts", "BlacksmithWorkshopContracts\BlacksmithWorkshopContracts.csproj", "{EBDA1A18-346F-4427-BC86-ED41C062A75B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -21,6 +23,10 @@ Global
{842406BF-3B58-4F5C-A4EB-AAB84F66ABEC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{842406BF-3B58-4F5C-A4EB-AAB84F66ABEC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{842406BF-3B58-4F5C-A4EB-AAB84F66ABEC}.Release|Any CPU.Build.0 = Release|Any CPU
{EBDA1A18-346F-4427-BC86-ED41C062A75B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EBDA1A18-346F-4427-BC86-ED41C062A75B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EBDA1A18-346F-4427-BC86-ED41C062A75B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EBDA1A18-346F-4427-BC86-ED41C062A75B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlacksmithWorkshopDataModels;
namespace BlacksmithWorkshopContracts.BindingModels
{
internal class ComponentBindingModel : IComponentModel
{
}
}

View File

@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace BlacksmithWorkshopDataModels
{
//интерфейс, отвечающий за id у компонентов, продуктов и чеков
internal interface IId
public interface IId
{
int Id { get; }
}

View File

@ -4,10 +4,10 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlacksmithWorkshopDataModels
namespace BlacksmithWorkshopDataModels.Models
{
//интерфейс, отвечающий за компоненты
internal interface IComponentModel : IId
public interface IComponentModel : IId
{
//название составляющей (изделие состоит из составляющих)
string ComponentName { get; }

View File

@ -5,10 +5,10 @@ using System.Text;
using System.Threading.Tasks;
using BlacksmithWorkshopDataModels.Enums;
namespace BlacksmithWorkshopDataModels
namespace BlacksmithWorkshopDataModels.Models
{
//интерфейс, отвечающий за чек
internal interface IOrderModel : IId
public interface IOrderModel : IId
{
//id продукта
int ProductId { get; }

View File

@ -4,10 +4,10 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlacksmithWorkshopDataModels
namespace BlacksmithWorkshopDataModels.Models
{
//интерфейс, отвечающий за продукт
internal interface IProductModel : IId
public interface IProductModel : IId
{
//наименование изделия
string ProductName { get; }