public static DataTransformsConfig GetDataTransformsConfig( )
        {
            DataTransformsConfigSection section = ConfigurationManager.GetSection("dataTransformsConfig") as DataTransformsConfigSection;
            DataTransformsConfig        configData;

            if (section != null)
            {
                configData = new DataTransformsConfig
                {
                    AttachTime = section.AttachTime,
                    AttachIP   = section.AttachIP
                };
            }
            else
            {
                configData = new DataTransformsConfig
                {
                    AttachTime = true,
                    AttachIP   = false
                };
            }

            return(configData);
        }
        public static DataTransformsConfig GetDataTransformsConfig( )
        {
            DataTransformsConfigSection section = ConfigurationManager.GetSection( "dataTransformsConfig" ) as DataTransformsConfigSection;
            DataTransformsConfig configData;

            if (section != null)
            {
                configData = new DataTransformsConfig
                {
                    AttachTime = section.AttachTime,
                    AttachIP = section.AttachIP
                };
            }
            else
            {
                configData = new DataTransformsConfig
                {
                    AttachTime = true,
                    AttachIP = false
                };
            }

            return configData;
        }