PanelScheduleTemplate.IsValidPanelConfiguration
Description:
Checks if given panel configuration is valid for given panel schedule type.
Checks if given panel configuration is valid for given panel schedule type.
Remarks:
If the panel schedule type is branch panel, the valid panel configurations are: PanelConfiguration::Enum::OneColumn PanelConfiguration::Enum::TwoColumnsCircuitsAcross PanelConfiguration::Enum::TwoColumnsCircuitsDown If the panel schedule type is switchboard or data panel, the valid panel configuration is: PanelConfiguration::Enum::OneColumn
If the panel schedule type is branch panel, the valid panel configurations are: PanelConfiguration::Enum::OneColumn PanelConfiguration::Enum::TwoColumnsCircuitsAcross PanelConfiguration::Enum::TwoColumnsCircuitsDown If the panel schedule type is switchboard or data panel, the valid panel configuration is: PanelConfiguration::Enum::OneColumn
public static bool IsValidPanelConfiguration(
PanelScheduleType scheduleType,
PanelConfiguration configuration
)
-
scheduleTypeThe panel schedule type.
-
configurationThe given configuration to check.
Return Value
Boolean
True if panel schedule template can have a valid configuration assigned, false otherwise.
-
A value passed for an enumeration argument is not a member of that enumeration