-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(IB_DistrictHeating): add IB_DistrictHeating_Obsolete to support o…
…ld files
- Loading branch information
1 parent
0a0f22d
commit 3d1a6e4
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using Ironbug.HVAC.BaseClass; | ||
using OpenStudio; | ||
using System; | ||
|
||
namespace Ironbug.HVAC | ||
{ | ||
[Obsolete("Use IB_DistrictHeatingWater instead.", true)] | ||
public class IB_DistrictHeating : IB_HVACObject, IIB_PlantLoopObjects | ||
{ | ||
protected override Func<IB_ModelObject> IB_InitSelf => () => new IB_DistrictHeating(); | ||
|
||
private static DistrictHeatingWater NewDefaultOpsObj(Model model) => new DistrictHeatingWater(model); | ||
public IB_DistrictHeating() : base(NewDefaultOpsObj(new Model())) | ||
{ | ||
} | ||
|
||
public override HVACComponent ToOS(Model model) | ||
{ | ||
return base.OnNewOpsObj(NewDefaultOpsObj, model); | ||
} | ||
} | ||
|
||
public sealed class IB_DistrictHeating_FieldSet | ||
: IB_FieldSet<IB_DistrictHeating_FieldSet, DistrictHeatingWater> | ||
{ | ||
private IB_DistrictHeating_FieldSet() { } | ||
|
||
} | ||
} |