public InsertBlockBase(int numberOfItem, string blockName, string layerName, double?x, double?y, double rotation, EquipmentStateProperty equipmentStateProperty) { NumberOfItem = numberOfItem; BlockName = blockName; LayerName = layerName; this.x = x; this.y = y; Rotation = rotation; this.equipmentStateProperty = equipmentStateProperty; }
public InsertBlockBase(long numberOfItem, string blockName, string layerName, double x, double y, string hostName, EquipmentStateProperty equipmentStateProperty, double rotation = 0.0d) { Position = new Position(x, y); NumberOfItem = numberOfItem; BlockName = blockName; LayerName = layerName; HostName = hostName; Rotation = rotation; StateProperty = equipmentStateProperty; }