Osai toolManager
This commit is contained in:
@@ -703,8 +703,6 @@ namespace CMS_CORE_Library
|
||||
{
|
||||
public ushort Id { get; set; }
|
||||
|
||||
public byte Type { get; set; }
|
||||
|
||||
public ushort OffsetLength { get; set; }
|
||||
|
||||
public ushort ResidualLife { get; set; }
|
||||
@@ -774,6 +772,66 @@ namespace CMS_CORE_Library
|
||||
public ushort ReviveDelta { get; set; }
|
||||
}
|
||||
|
||||
internal class NcFamilyFileModel
|
||||
{
|
||||
public ushort Id { get; set; }
|
||||
public byte Type { get; set; }
|
||||
public byte TcpTable { get; set; }
|
||||
public byte Gamma { get; set; }
|
||||
public byte RotationType { get; set; }
|
||||
public byte CoolingByte { get; set; }
|
||||
public ushort MaxSpeed { get; set; }
|
||||
public byte MaxLoad { get; set; }
|
||||
public byte MinLoadPctAutoload { get; set; }
|
||||
public byte MaxLoadPctAutoload { get; set; }
|
||||
public byte DynamicCompensation { get; set; }
|
||||
public byte MinLoadDynamicCompensation { get; set; }
|
||||
public byte MaxLoadDynamicCompensation { get; set; }
|
||||
public byte LifeType { get; set; }
|
||||
public uint NominalLife { get; set; }
|
||||
public ushort ReviveDelta { get; set; }
|
||||
|
||||
public static explicit operator NcFamilyFileModel(NcFamilyModel obj)
|
||||
{
|
||||
return new NcFamilyFileModel()
|
||||
{
|
||||
Id = obj.Id,
|
||||
Type = obj.Type,
|
||||
TcpTable = obj.TcpTable,
|
||||
Gamma = obj.Gamma,
|
||||
RotationType = obj.RotationType,
|
||||
CoolingByte = obj.CoolingByte,
|
||||
MaxSpeed = obj.MaxSpeed,
|
||||
MaxLoad = obj.MaxLoad,
|
||||
MinLoadDynamicCompensation = obj.MinLoadDynamicCompensation,
|
||||
MaxLoadDynamicCompensation = obj.MaxLoadDynamicCompensation,
|
||||
MaxLoadPctAutoload = obj.MaxLoadPctAutoload,
|
||||
MinLoadPctAutoload = obj.MinLoadPctAutoload,
|
||||
DynamicCompensation = obj.DynamicCompensation,
|
||||
LifeType = obj.LifeType,
|
||||
NominalLife = obj.NominalLife,
|
||||
ReviveDelta = obj.ReviveDelta
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
internal class NcFamilySizeFileModel
|
||||
{
|
||||
public ushort Id { get; set; }
|
||||
public byte RightSize { get; set; }
|
||||
public byte LeftSize { get; set; }
|
||||
|
||||
public static explicit operator NcFamilySizeFileModel(NcFamilyModel obj)
|
||||
{
|
||||
return new NcFamilySizeFileModel()
|
||||
{
|
||||
Id = obj.Id,
|
||||
RightSize = obj.RightSize,
|
||||
LeftSize = obj.LeftSize
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
public class NcMagazinePositionModel
|
||||
{
|
||||
public byte MagazineId { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user