|
|
@@ -0,0 +1,34 @@
|
|
|
+using InABox.Core;
|
|
|
+using System;
|
|
|
+using System.Collections.Generic;
|
|
|
+using System.Text;
|
|
|
+
|
|
|
+namespace Comal.Classes
|
|
|
+{
|
|
|
+ public class StagingManufacturingPacketComponent : Entity, IPersistent, IRemotable, ILicense<ManufacturingLicense>
|
|
|
+ {
|
|
|
+ [NullEditor]
|
|
|
+ public StagingManufacturingPacketLink StagingPacket { get; set; }
|
|
|
+
|
|
|
+ [EditorSequence(1)]
|
|
|
+ public ProductLink Product { get; set; }
|
|
|
+
|
|
|
+ [EditorSequence(2)]
|
|
|
+ public int Quantity { get; set; }
|
|
|
+
|
|
|
+ [EditorSequence(3)]
|
|
|
+ public double Length { get; set; }
|
|
|
+
|
|
|
+ public double Height { get; set; }
|
|
|
+
|
|
|
+ public double Width { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ protected override void Init()
|
|
|
+ {
|
|
|
+ base.Init();
|
|
|
+ StagingPacket = new StagingManufacturingPacketLink();
|
|
|
+ Product = new ProductLink(() => this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|