pub fn new(config: TawsConfig) -> Self {
        use alerts::*;

        let ffac = functionalities::Ffac::new(&config);
        let flta = functionalities::Flta::new(&config);
        let mode1 = functionalities::Mode1::new(&config);
        let mode2 = functionalities::Mode2::new(&config);
        let mode3 = functionalities::Mode3::new(&config);
        let mode4 = functionalities::Mode4::new(&config);
        let mode5 = functionalities::Mode5::new(&config);
        let pda = functionalities::Pda::new(&config);

        Self {
            armed: true,
            config,
            ffac,
            flta,
            mode1,
            mode2,
            mode3,
            mode4,
            mode5,
            pda,
        }
    }
/// Create a new instance of `Taws`
///  
/// # Arguments
///
/// * `config` - The configuration which this TAWS instance shall use
///
/// # Example
///
/// ```
/// use opentaws::prelude::*;
///
/// let config = TawsConfig::default();
/// let taws = Taws::new(config);
/// ```
Create a new instance of `Taws`
Create a new instance of ` Taws `
pub fn new(config: TawsConfig) -> Self {
        use alerts::*;
        let ffac = functionalities::Ffac::new(&config);
        let flta = functionalities::Flta::new(&config);
        let mode1 = functionalities::Mode1::new(&config);
        let mode2 = functionalities::Mode2::new(&config);
        let mode3 = functionalities::Mode3::new(&config);
        let mode4 = functionalities::Mode4::new(&config);
        let mode5 = functionalities::Mode5::new(&config);
        let pda = functionalities::Pda::new(&config);
        Self {
            armed: true,
            config,
            ffac,
            flta,
            mode1,
            mode2,
            mode3,
            mode4,
            mode5,
            pda,
        }
    }
pub fn new ( config : TawsConfig ) -> Self { use alerts :: * ; let ffac = functionalities :: Ffac :: new ( & config ) ; let flta = functionalities :: Flta :: new ( & config ) ; let mode1 = functionalities :: Mode1 :: new ( & config ) ; let mode2 = functionalities :: Mode2 :: new ( & config ) ; let mode3 = functionalities :: Mode3 :: new ( & config ) ; let mode4 = functionalities :: Mode4 :: new ( & config ) ; let mode5 = functionalities :: Mode5 :: new ( & config ) ; let pda = functionalities :: Pda :: new ( & config ) ; Self { armed : true , config , ffac , flta , mode1 , mode2 , mode3 , mode4 , mode5 , pda , } }
Create a new instance of `Taws`
Create a new instance of ` Taws `
config
TawsConfig
config
TawsConfig
example
```
use opentaws::prelude::*.

let config = TawsConfig::default();
let taws = Taws::new(config);
```
` ` ` use opentaws :: prelude :: * . let config = TawsConfig :: default () ; let taws = Taws :: new ( config ) ; ` ` `