Ignore:
Timestamp:
01/28/19 18:24:59 (3 years ago)
Author:
gkronber
Message:

#2520: changed HeuristicLab.BioBoost addon to compile with new HL.Persistence

Location:
addons/HeuristicLab.Problems.BioBoost/HeuristicLab.Problems.BioBoost/3.3/Data
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • addons/HeuristicLab.Problems.BioBoost/HeuristicLab.Problems.BioBoost/3.3/Data/Conversion.cs

    r13071 r16575  
    2828using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2929using YamlDotNet.RepresentationModel;
     30using HEAL.Attic;
    3031
    3132namespace HeuristicLab.BioBoost.Data {
    32   [StorableClass]
     33  [StorableType("AFFEC6E6-4373-41FD-B43E-139449409C98")]
    3334  [Item("Conversion", "Describes a conversion process including storage.")]
    3435  public class Conversion : DataItem {
     
    141142
    142143    [StorableConstructor]
    143     protected Conversion(bool isDeserializing) : base(isDeserializing) { }
     144    protected Conversion(StorableConstructorFlag _) : base(_) { }
    144145
    145146    [StorableHook(HookType.AfterDeserialization)]
  • addons/HeuristicLab.Problems.BioBoost/HeuristicLab.Problems.BioBoost/3.3/Data/CostFactors.cs

    r13071 r16575  
    2424using HeuristicLab.Parameters;
    2525using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Attic;
    2627
    2728namespace HeuristicLab.BioBoost.Data {
    2829
    29   [StorableClass]
     30  [StorableType("137AF95F-D154-4EF3-B522-C50BF477A926")]
    3031  [Item("CostFactors", "Splits the cost into several differen areas which can are different for different regions.")]
    3132  public class CostFactors : DataItem {
     
    4950    #region Construction & Cloning
    5051    [StorableConstructor]
    51     protected CostFactors(bool isDeserializing) : base(isDeserializing) { }
     52    protected CostFactors(StorableConstructorFlag _) : base(_) { }
    5253
    5354    protected CostFactors(CostFactors orig, Cloner cloner) : base(orig, cloner) { }
  • addons/HeuristicLab.Problems.BioBoost/HeuristicLab.Problems.BioBoost/3.3/Data/DataItem.cs

    r13071 r16575  
    3333using System.Text.RegularExpressions;
    3434using YamlDotNet.RepresentationModel;
     35using HEAL.Attic;
    3536
    3637namespace HeuristicLab.BioBoost.Data {
    3738
    38   [StorableClass]
     39  [StorableType("ADCB9CD6-ECBD-4202-B945-0602E538D771")]
    3940  [Item("DataItem", "Generic Item for holding various pieces of information")]
    4041  public abstract class DataItem : ParameterizedNamedItem {
     
    4243    #region Construction & Cloning
    4344    [StorableConstructor]
    44     protected DataItem(bool isDeserializing) : base(isDeserializing) {}
     45    protected DataItem(StorableConstructorFlag _) : base(_) { }
    4546    protected DataItem(DataItem orig, Cloner cloner) : base(orig, cloner) {}
    4647    protected DataItem() {}
  • addons/HeuristicLab.Problems.BioBoost/HeuristicLab.Problems.BioBoost/3.3/Data/Logistic.cs

    r13071 r16575  
    2727using HeuristicLab.Parameters;
    2828using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HEAL.Attic;
    2930
    3031namespace HeuristicLab.BioBoost.Data {
    31   [StorableClass]
     32  [StorableType("5604E9F0-F4C5-4C07-BE46-7895ED33A63E")]
    3233  [Item("Logistic", "Describes a logistic modality for a certain product.")]
    3334  public class Logistic : DataItem {
     
    7374
    7475    [StorableConstructor]
    75     protected Logistic(bool isDeserializing) : base(isDeserializing) { }
     76    protected Logistic(StorableConstructorFlag _) : base(_) { }
    7677
    7778    [StorableHook(HookType.AfterDeserialization)]
  • addons/HeuristicLab.Problems.BioBoost/HeuristicLab.Problems.BioBoost/3.3/Data/LogisticAction.cs

    r13071 r16575  
    2525using HeuristicLab.Parameters;
    2626using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Attic;
    2728
    2829namespace HeuristicLab.BioBoost.Data {
    29   [StorableClass]
     30  [StorableType("413F5F16-3342-46CF-93AF-38FDD4F40E92")]
    3031  [Item("LogisticAction", "Summarizes cost factors and emissions for a logistic action.")]
    3132  public class LogisticAction : DataItem {
     
    6465
    6566    [StorableConstructor]
    66     protected LogisticAction(bool isDeserializing) : base(isDeserializing) { }
     67    protected LogisticAction(StorableConstructorFlag _) : base(_) { }
    6768
    6869    protected LogisticAction(LogisticAction orig, Cloner cloner) : base(orig, cloner) { }
  • addons/HeuristicLab.Problems.BioBoost/HeuristicLab.Problems.BioBoost/3.3/Data/Product.cs

    r13071 r16575  
    2626using HeuristicLab.Parameters;
    2727using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Attic;
    2829
    2930namespace HeuristicLab.BioBoost.Data {
    30   [StorableClass]
     31  [StorableType("EF528EDA-45D6-4DAB-862A-C05BCD4147CC")]
    3132  [Item("Product", "Summarizes product information.")]
    3233  public class Product : DataItem {
     
    7172
    7273    [StorableConstructor]
    73     protected Product(bool isDeserializing) : base(isDeserializing) { }
     74    protected Product(StorableConstructorFlag _) : base(_) { }
    7475
    7576    [StorableHook(HookType.AfterDeserialization)]
Note: See TracChangeset for help on using the changeset viewer.