mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Update DB to version 14: Computers and consoles are now machines with different type.
This commit is contained in:
@@ -42,7 +42,7 @@ namespace cicm_web.Models
|
||||
public bool Boxed;
|
||||
public int Cap1;
|
||||
public int Cap2;
|
||||
public Computer Computer;
|
||||
public Machine Computer;
|
||||
public Processor Cpu1;
|
||||
public Processor Cpu2;
|
||||
public DiskFormat Disk1;
|
||||
@@ -75,7 +75,7 @@ namespace cicm_web.Models
|
||||
|
||||
static OwnedComputer TransformItem(Cicm.Database.Schemas.OwnedComputer dbItem)
|
||||
{
|
||||
Computer computer = Computer.GetItem(dbItem.ComputerId);
|
||||
Machine computer = Machine.GetItem(dbItem.ComputerId);
|
||||
|
||||
OwnedComputer item = new OwnedComputer
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user