Update definizione modello hardware x gestione EF

This commit is contained in:
Samuele Locatelli
2025-10-02 18:54:33 +02:00
parent d477a2b40a
commit f96fd0b60e
2 changed files with 18 additions and 9 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>2.7.10.212</Version>
<Version>2.7.10.218</Version>
<Authors>Annamaria Sassi</Authors>
<Company>Egalware</Company>
<Description>Classi di base per gestione sistemi Window x Egw.*</Description>
+17 -8
View File
@@ -2,6 +2,14 @@
{
public class Hardware
{
public string Id { get; set; }
public string FamilyName { get; set; }
public string Description { get; set; }
public string OpeningType { get; set; }
public string Shape { get; set; }
public int SashQty { get; set; }
public int SashPosition { get; set; }
#if false
private string m_Id;
public string Id
{
@@ -63,17 +71,18 @@
{
return m_SashPosition;
}
}
}
#endif
public Hardware(string Id, string FamilyName, string Description, string OpeningType, string Shape, int SashQty, int SashPosition)
{
m_Id = Id;
m_FamilyName = FamilyName;
m_Description = Description;
m_OpeningType = OpeningType;
m_Shape = Shape;
m_SashQty = SashQty;
m_SashPosition = SashPosition;
this.Id = Id;
this.FamilyName = FamilyName;
this.Description = Description;
this.OpeningType = OpeningType;
this.Shape = Shape;
this.SashQty = SashQty;
this.SashPosition = SashPosition;
}
}
}