﻿# System
import json
# SBaaS
from .stage01_ale_analysis_query import stage01_ale_analysis_query

from SBaaS_base.sbaas_template_io import sbaas_template_io
# Resources
from io_utilities.base_importData import base_importData
from io_utilities.base_exportData import base_exportData

class stage01_ale_analysis_io(stage01_ale_analysis_query,sbaas_template_io):
    def import_dataStage01AleAnalysis_add(self, filename):
        '''table adds'''
        data = base_importData();
        data.read_csv(filename);
        data.format_data();
        self.add_dataStage01AleAnalysis(data.data);
        data.clear_data();

    def import_dataStage01AleAnalysis_update(self, filename):
        '''table adds'''
        data = base_importData();
        data.read_csv(filename);
        data.format_data();
        self.update_dataStage01AleAnalysis(data.data);
        data.clear_data();
   