Added OriginPosition
Fixed fanuc TT & Minorfixes
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Step.Model.DatabaseModels
|
||||
public byte MagazineId { get; set; }
|
||||
|
||||
[Key, Column("position_id", Order = 1)]
|
||||
public byte PositionId { get; set; }
|
||||
public int PositionId { get; set; }
|
||||
|
||||
[Column("type")]
|
||||
public byte Type { get; set; }
|
||||
@@ -25,7 +25,7 @@ namespace Step.Model.DatabaseModels
|
||||
return new NcMagazinePositionModel()
|
||||
{
|
||||
MagazineId = obj.MagazineId,
|
||||
PositionId = obj.PositionId,
|
||||
PositionId = (ushort)obj.PositionId,
|
||||
Disabled = obj.Disabled ? (byte)1 : (byte)0,
|
||||
Type = obj.Type
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user