-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
122 additions
and
110 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
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,21 @@ | ||
using CSharpOpenBMCLAPI.Modules.Plugin; | ||
using CSharpOpenBMCLAPI.Modules.Statistician; | ||
|
||
namespace CSharpOpenBMCLAPI.Modules | ||
{ | ||
public class ClusterRequiredData | ||
{ | ||
public static Config Config { get; set; } = new Config(); | ||
public Logger Logger { get => Logger.Instance; } | ||
public ClusterInfo ClusterInfo { get; set; } | ||
public TokenManager Token { get; set; } | ||
public PluginManager PluginManager { get => PluginManager.Instance; } | ||
public static DataStatistician DataStatistician { get; set; } = new DataStatistician(); | ||
|
||
public ClusterRequiredData(ClusterInfo info) | ||
{ | ||
this.ClusterInfo = info; | ||
this.Token = new(info); | ||
} | ||
} | ||
} |
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
Oops, something went wrong.