public ApiTaskType Types {get; set;}
public ApiTaskType Types {get; set;}
// Create new task configuration (with two task types). TaskConfiguration config = new TaskConfiguration("APIConfig", ApiTaskType.UnusedWireHarnesses | ApiTaskType.UnusedCableUnits); // Required task types. ApiTaskType newTypes = ApiTaskType.WireHarnessCollisions | ApiTaskType.WireHarnessIdCheck; // Set new task type to the configuration. config.Types = newTypes;
// Create new task configuration (with two task types). TaskConfiguration config = new TaskConfiguration("APIConfig", ApiTaskType.UnusedWireHarnesses | ApiTaskType.UnusedCableUnits); // Add one type to the existing types. config.Types |= piTaskType.TerminalStripCheck;
// Create new task configuration (with two task types). TaskConfiguration config = new TaskConfiguration("APIConfig", ApiTaskType.UnusedWireHarnesses | ApiTaskType.UnusedCableUnits); // Remove one type from the existing types. config.Types &= ~piTaskType.UnusedWireHarnesses;