private void LoadDbTables() { var userArgYear = userInput[CalculationsForm.Arg_Year]; var operTableArgs = OperTableContract.CreateArgs(userArgYear); OperInfoHydro = dbTableLoader.LoadTable(Tables.Names.OperInfoHydro, operTableArgs); OperInfoMeteo = dbTableLoader.LoadTable(Tables.Names.OperInfoMeteo, operTableArgs); BazaInfoHydro = dbTableLoader.LoadTable(Tables.Names.BazaInfoHydro); BazaInfoMeteo = dbTableLoader.LoadTable(Tables.Names.BazaInfoMeteo); BazaInfoCoeffs = dbTableLoader.LoadTable(Tables.Names.BazaInfoCoeffs); OrdinKtgr = dbTableLoader.LoadTable(Tables.Names.OrdinKtgr); Posts = dbTableLoader.LoadTable(Tables.Names.Posts); ConsultSp = dbTableLoader.LoadTable(Tables.Names.ConsultSp); }
private Args GetArgs() { return(OperTableContract.CreateArgs(yearItemsRepr.SelectedValue)); }