/// <summary> /// Wypelnia tablice wsp parowania z danego wytopu /// </summary> /// <param name="s">Wytop z ktorego brane sa dane</param> public void createTabofEvoporation(Smelt s) { evoporation[0] = s.Fe_evo; evoporation[1] = s.C_evo; evoporation[2] = s.Si_evo; evoporation[3] = s.Mn_evo; evoporation[4] = s.P_evo; evoporation[5] = s.S_evo; evoporation[6] = s.Cr_evo; evoporation[7] = s.Mo_evo; evoporation[8] = s.Ni_evo; evoporation[9] = s.Al_evo; evoporation[10] = s.Co_evo; evoporation[11] = s.Cu_evo; evoporation[12] = s.Nb_evo; evoporation[13] = s.Ti_evo; evoporation[14] = s.V_evo; evoporation[15] = s.W_evo; evoporation[16] = s.Pb_evo; evoporation[17] = s.Sn_evo; evoporation[18] = s.B_evo; evoporation[19] = s.Ca_evo; evoporation[20] = s.Zr_evo; evoporation[21] = s.As_evo; evoporation[22] = s.Bi_evo; evoporation[23] = s.Sb_evo; evoporation[24] = s.Zn_evo; evoporation[25] = s.Mg_evo; evoporation[26] = s.N_evo; evoporation[27] = s.H_evo; evoporation[28] = s.O_evo; }
/// <summary> /// Wypelnia tablice minimow z danego wytopu /// </summary> /// <param name="s">Wytop z ktorego brane sa dane</param> public void createTabofMinNorm(Smelt s) { min_Norm[0] = s.Fe_min; min_Norm[1] = s.C_min; min_Norm[2] = s.Si_min; min_Norm[3] = s.Mn_min; min_Norm[4] = s.P_min; min_Norm[5] = s.S_min; min_Norm[6] = s.Cr_min; min_Norm[7] = s.Mo_min; min_Norm[8] = s.Ni_min; min_Norm[9] = s.Al_min; min_Norm[10] = s.Co_min; min_Norm[11] = s.Cu_min; min_Norm[12] = s.Nb_min; min_Norm[13] = s.Ti_min; min_Norm[14] = s.V_min; min_Norm[15] = s.W_min; min_Norm[16] = s.Pb_min; min_Norm[17] = s.Sn_min; min_Norm[18] = s.B_min; min_Norm[19] = s.Ca_min; min_Norm[20] = s.Zr_min; min_Norm[21] = s.As_min; min_Norm[22] = s.Bi_min; min_Norm[23] = s.Sb_min; min_Norm[24] = s.Zn_min; min_Norm[25] = s.Mg_min; min_Norm[26] = s.N_min; min_Norm[27] = s.H_min; min_Norm[28] = s.O_min; }
/// <summary> /// Funkcja edytujaca lub dodajaca nowy wytop po wcisnieciu przycisku /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private async void btn_action_Clicked(object sender, EventArgs e) { //nie mozna zapisac wytopu bez nazwy if (!string.IsNullOrWhiteSpace(entName.Text)) { if (isEdited) { //jak edytuje to App.DAUtil.DeleteSmelt(sml); //usuwam } Smelt smel = new Smelt(); //tworze nowy smel = Smelt.addNewSmelt(this, entName.Text, Fe_min.Text, Fe_max.Text, Fe_evo.Text, C_min.Text, C_max.Text, C_evo.Text, Si_min.Text, Si_max.Text, Si_evo.Text, Mn_min.Text, Mn_max.Text, Mn_evo.Text, P_min.Text, P_max.Text, P_evo.Text, S_min.Text, S_max.Text, S_evo.Text, Cr_min.Text, Cr_max.Text, Cr_evo.Text, Mo_min.Text, Mo_max.Text, Mo_evo.Text, Ni_min.Text, Ni_max.Text, Ni_evo.Text, Al_min.Text, Al_max.Text, Al_evo.Text, Co_min.Text, Co_max.Text, Co_evo.Text, Cu_min.Text, Cu_max.Text, Cu_evo.Text, Nb_min.Text, Nb_max.Text, Nb_evo.Text, Ti_min.Text, Ti_max.Text, Ti_evo.Text, V_min.Text, V_max.Text, V_evo.Text, W_min.Text, W_max.Text, W_evo.Text, Pb_min.Text, Pb_max.Text, Pb_evo.Text, Sn_min.Text, Sn_max.Text, Sn_evo.Text, B_min.Text, B_max.Text, B_evo.Text, Ca_min.Text, Ca_max.Text, Ca_evo.Text, Zr_min.Text, Zr_max.Text, Zr_evo.Text, As_min.Text, As_max.Text, As_evo.Text, Bi_min.Text, Bi_max.Text, Bi_evo.Text, Sb_min.Text, Sb_max.Text, Sb_evo.Text, Zn_min.Text, Zn_max.Text, Zn_evo.Text, Mg_min.Text, Mg_max.Text, Mg_evo.Text, N_min.Text, N_max.Text, N_evo.Text, H_min.Text, H_max.Text, H_evo.Text, O_min.Text, O_max.Text, O_evo.Text); App.DAUtil.SaveSmelt(smel); //zapisuje do bazy await Navigation.PopAsync(); } else { await DisplayAlert("Error", "Nie można stworzyć wytopu bez nazwy!", "OK"); } }
/// <summary> /// Konstruktor okna z formularzem edytujacym wytop /// </summary> /// <param name="metal">wytop ktory jest edytowany</param> /// <param name="indeks">Jego indeks na liscie</param> public SmeltEditForm(Smelt metal, int indeks) { InitializeComponent(); isEdited = true; sml = metal; this.indeksOfSmelt = indeks; this.btn_action.Text = "Edytuj wytop"; this.Title = "Edytuj \"" + metal.name + "\""; this.entName.Text = metal.name; //w inputach normy minimalne #region minWypelnij Fe_min.Text = metal.Fe_min.ToString(); C_min.Text = metal.C_min.ToString(); Si_min.Text = metal.Si_min.ToString(); Mn_min.Text = metal.Mn_min.ToString(); P_min.Text = metal.P_min.ToString(); S_min.Text = metal.S_min.ToString(); Cr_min.Text = metal.Cr_min.ToString(); Mo_min.Text = metal.Mo_min.ToString(); Ni_min.Text = metal.Ni_min.ToString(); Al_min.Text = metal.Al_min.ToString(); Co_min.Text = metal.Co_min.ToString(); Cu_min.Text = metal.Cu_min.ToString(); Nb_min.Text = metal.Nb_min.ToString(); Ti_min.Text = metal.Ti_min.ToString(); V_min.Text = metal.V_min.ToString(); W_min.Text = metal.W_min.ToString(); Pb_min.Text = metal.Pb_min.ToString(); Sn_min.Text = metal.Sn_min.ToString(); B_min.Text = metal.B_min.ToString(); Ca_min.Text = metal.Ca_min.ToString(); Zr_min.Text = metal.Zr_min.ToString(); As_min.Text = metal.As_min.ToString(); Bi_min.Text = metal.Bi_min.ToString(); Sb_min.Text = metal.Sb_min.ToString(); Zn_min.Text = metal.Zn_min.ToString(); Mg_min.Text = metal.Mg_min.ToString(); N_min.Text = metal.N_min.ToString(); H_min.Text = metal.H_min.ToString(); O_min.Text = metal.O_min.ToString(); #endregion //w inputach normy max #region maxWypelnij Fe_max.Text = metal.Fe_max.ToString(); C_max.Text = metal.C_max.ToString(); Si_max.Text = metal.Si_max.ToString(); Mn_max.Text = metal.Mn_max.ToString(); P_max.Text = metal.P_max.ToString(); S_max.Text = metal.S_max.ToString(); Cr_max.Text = metal.Cr_max.ToString(); Mo_max.Text = metal.Mo_max.ToString(); Ni_max.Text = metal.Ni_max.ToString(); Al_max.Text = metal.Al_max.ToString(); Co_max.Text = metal.Co_max.ToString(); Cu_max.Text = metal.Cu_max.ToString(); Nb_max.Text = metal.Nb_max.ToString(); Ti_max.Text = metal.Ti_max.ToString(); V_max.Text = metal.V_max.ToString(); W_max.Text = metal.W_max.ToString(); Pb_max.Text = metal.Pb_max.ToString(); Sn_max.Text = metal.Sn_max.ToString(); B_max.Text = metal.B_max.ToString(); Ca_max.Text = metal.Ca_max.ToString(); Zr_max.Text = metal.Zr_max.ToString(); As_max.Text = metal.As_max.ToString(); Bi_max.Text = metal.Bi_max.ToString(); Sb_max.Text = metal.Sb_max.ToString(); Zn_max.Text = metal.Zn_max.ToString(); Mg_max.Text = metal.Mg_max.ToString(); N_max.Text = metal.N_max.ToString(); H_max.Text = metal.H_max.ToString(); O_max.Text = metal.O_max.ToString(); #endregion //w inputach wspolcznniki parowania #region evoWypelnij Fe_evo.Text = metal.Fe_evo.ToString(); C_evo.Text = metal.C_evo.ToString(); Si_evo.Text = metal.Si_evo.ToString(); Mn_evo.Text = metal.Mn_evo.ToString(); P_evo.Text = metal.P_evo.ToString(); S_evo.Text = metal.S_evo.ToString(); Cr_evo.Text = metal.Cr_evo.ToString(); Mo_evo.Text = metal.Mo_evo.ToString(); Ni_evo.Text = metal.Ni_evo.ToString(); Al_evo.Text = metal.Al_evo.ToString(); Co_evo.Text = metal.Co_evo.ToString(); Cu_evo.Text = metal.Cu_evo.ToString(); Nb_evo.Text = metal.Nb_evo.ToString(); Ti_evo.Text = metal.Ti_evo.ToString(); V_evo.Text = metal.V_evo.ToString(); W_evo.Text = metal.W_evo.ToString(); Pb_evo.Text = metal.Pb_evo.ToString(); Sn_evo.Text = metal.Sn_evo.ToString(); B_evo.Text = metal.B_evo.ToString(); Ca_evo.Text = metal.Ca_evo.ToString(); Zr_evo.Text = metal.Zr_evo.ToString(); As_evo.Text = metal.As_evo.ToString(); Bi_evo.Text = metal.Bi_evo.ToString(); Sb_evo.Text = metal.Sb_evo.ToString(); Zn_evo.Text = metal.Zn_evo.ToString(); Mg_evo.Text = metal.Mg_evo.ToString(); N_evo.Text = metal.N_evo.ToString(); H_evo.Text = metal.H_evo.ToString(); O_evo.Text = metal.O_evo.ToString(); #endregion }
/// <summary> /// Funkcja tworzaca nowy wytop z danymi /// </summary> /// <param name="page">Strona na ktorej jest wyswietlany ewentualny error</param> /// <param name="name">Nazwa wytopu</param> /// <param name="femin">Minimalna zawartosc zelaza w wytopie</param> /// <param name="femax">Maks. zaw. zelaza w wytopie</param> /// <param name="feevo">Wsp. parowania zelaza</param> /// <param name="cmin"></param> /// <param name="cmax"></param> /// <param name="cevo">Wsp. parowania wegla</param> /// <param name="simin"></param> /// <param name="simax">Max. zaw. krzemu</param> /// <param name="sievo"></param> /// <param name="mnmin"></param> /// <param name="mnmax"></param> /// <param name="mnevo">Wsp. parowania manganu</param> /// <param name="pmin"></param> /// <param name="pmax">Max. zaw.fosforu</param> /// <param name="pevo"></param> /// <param name="smin"></param> /// <param name="smax"></param> /// <param name="sevo">Wsp. parowania krzemu</param> /// <param name="crmin"></param> /// <param name="crmax">Max. zaw. chromu</param> /// <param name="crevo"></param> /// <param name="momin">Min. zaw. molibdenu</param> /// <param name="momax">Max. zaw. molibdenu</param> /// <param name="moevo"></param> /// <param name="nimin">Min. zaw. niklu</param> /// <param name="nimax">Max. zaw. niklu</param> /// <param name="nievo"></param> /// <param name="almin">Min. zaw. aluminium</param> /// <param name="almax">Max. zaw. alum</param> /// <param name="alevo">Wsp. parowania aluminium</param> /// <param name="comin"></param> /// <param name="comax"></param> /// <param name="coevo"></param> /// <param name="cumin"></param> /// <param name="cumax"></param> /// <param name="cuevo">Wsp. parowania miedzi</param> /// <param name="nbmin"></param> /// <param name="nbmax"></param> /// <param name="nbevo"></param> /// <param name="timin">Min. zaw. tytanu</param> /// <param name="timax"></param> /// <param name="tievo"></param> /// <param name="vmin"></param> /// <param name="vmax"></param> /// <param name="vevo"></param> /// <param name="wmin"></param> /// <param name="wmax"></param> /// <param name="wevo"></param> /// <param name="pbmin"></param> /// <param name="pbmax"></param> /// <param name="pbevo">Wsp. parowania olowiu</param> /// <param name="snmin"></param> /// <param name="snmax"></param> /// <param name="snevo"></param> /// <param name="bmin"></param> /// <param name="bmax"></param> /// <param name="bevo"></param> /// <param name="camin">Min. zaw. wapnia</param> /// <param name="camax"></param> /// <param name="caevo"></param> /// <param name="zrmin"></param> /// <param name="zrmax"></param> /// <param name="zrevo"></param> /// <param name="asmin"></param> /// <param name="asmax"></param> /// <param name="asevo"></param> /// <param name="bimin"></param> /// <param name="bimax"></param> /// <param name="bievo"></param> /// <param name="sbmin"></param> /// <param name="sbmax"></param> /// <param name="sbevo"></param> /// <param name="znmin"></param> /// <param name="znmax"></param> /// <param name="znevo"></param> /// <param name="mgmin"></param> /// <param name="mgmax"></param> /// <param name="mgevo">Wsp. parowania magnezu</param> /// <param name="nmin">Min. zaw. azotu</param> /// <param name="nmax"></param> /// <param name="nevo"></param> /// <param name="hmin">Min. zaw. wodoru</param> /// <param name="hmax"></param> /// <param name="hevo"></param> /// <param name="omin"></param> /// <param name="omax"></param> /// <param name="oevo"></param> /// <returns>Stop z danymi</returns> public static Smelt addNewSmelt(Xamarin.Forms.Page page, string name, string femin, string femax, string feevo, string cmin, string cmax, string cevo, string simin, string simax, string sievo, string mnmin, string mnmax, string mnevo, string pmin, string pmax, string pevo, string smin, string smax, string sevo, string crmin, string crmax, string crevo, string momin, string momax, string moevo, string nimin, string nimax, string nievo, string almin, string almax, string alevo, string comin, string comax, string coevo, string cumin, string cumax, string cuevo, string nbmin, string nbmax, string nbevo, string timin, string timax, string tievo, string vmin, string vmax, string vevo, string wmin, string wmax, string wevo, string pbmin, string pbmax, string pbevo, string snmin, string snmax, string snevo, string bmin, string bmax, string bevo, string camin, string camax, string caevo, string zrmin, string zrmax, string zrevo, string asmin, string asmax, string asevo, string bimin, string bimax, string bievo, string sbmin, string sbmax, string sbevo, string znmin, string znmax, string znevo, string mgmin, string mgmax, string mgevo, string nmin, string nmax, string nevo, string hmin, string hmax, string hevo, string omin, string omax, string oevo) { Smelt sm = new Smelt(); try { //nazwa z pola jest nazwa wytopu sm.name = name; sm.Fe_min = sm.parseThatValue(page, femin, false); sm.Fe_max = sm.parseThatValue(page, femax, true); sm.Fe_evo = sm.parseThatValue(page, feevo, false); sm.C_min = sm.parseThatValue(page, cmin, false); sm.C_max = sm.parseThatValue(page, cmax, true); sm.C_evo = sm.parseThatValue(page, cevo, false); sm.Si_min = sm.parseThatValue(page, simin, false); sm.Si_max = sm.parseThatValue(page, simax, true); sm.Si_evo = sm.parseThatValue(page, sievo, false); sm.Mn_min = sm.parseThatValue(page, mnmin, false); sm.Mn_max = sm.parseThatValue(page, mnmax, true); sm.Mn_evo = sm.parseThatValue(page, mnevo, false); sm.P_min = sm.parseThatValue(page, pmin, false); sm.P_max = sm.parseThatValue(page, pmax, true); sm.P_evo = sm.parseThatValue(page, pevo, false); sm.S_min = sm.parseThatValue(page, smin, false); sm.S_max = sm.parseThatValue(page, smax, true); sm.S_evo = sm.parseThatValue(page, sevo, false); sm.Cr_min = sm.parseThatValue(page, crmin, false); sm.Cr_max = sm.parseThatValue(page, crmax, true); sm.Cr_evo = sm.parseThatValue(page, crevo, false); sm.Mo_min = sm.parseThatValue(page, momin, false); sm.Mo_max = sm.parseThatValue(page, momax, true); sm.Mo_evo = sm.parseThatValue(page, moevo, false); sm.Ni_min = sm.parseThatValue(page, nimin, false); sm.Ni_max = sm.parseThatValue(page, nimax, true); sm.Ni_evo = sm.parseThatValue(page, nievo, false); sm.Al_min = sm.parseThatValue(page, almin, false); sm.Al_max = sm.parseThatValue(page, almax, true); sm.Al_evo = sm.parseThatValue(page, alevo, false); sm.Co_min = sm.parseThatValue(page, comin, false); sm.Co_max = sm.parseThatValue(page, comax, true); sm.Co_evo = sm.parseThatValue(page, coevo, false); sm.Cu_min = sm.parseThatValue(page, cumin, false); sm.Cu_max = sm.parseThatValue(page, cumax, true); sm.Cu_evo = sm.parseThatValue(page, cuevo, false); sm.Nb_min = sm.parseThatValue(page, nbmin, false); sm.Nb_max = sm.parseThatValue(page, nbmax, true); sm.Nb_evo = sm.parseThatValue(page, nbevo, false); sm.Ti_min = sm.parseThatValue(page, timin, false); sm.Ti_max = sm.parseThatValue(page, timax, true); sm.Ti_evo = sm.parseThatValue(page, tievo, false); sm.V_min = sm.parseThatValue(page, vmin, false); sm.V_max = sm.parseThatValue(page, vmax, true); sm.V_evo = sm.parseThatValue(page, vevo, false); sm.W_min = sm.parseThatValue(page, wmin, false); sm.W_max = sm.parseThatValue(page, wmax, true); sm.W_evo = sm.parseThatValue(page, wevo, false); sm.Pb_min = sm.parseThatValue(page, pbmin, false); sm.Pb_max = sm.parseThatValue(page, pbmax, true); sm.Pb_evo = sm.parseThatValue(page, pbevo, false); sm.Sn_min = sm.parseThatValue(page, snmin, false); sm.Sn_max = sm.parseThatValue(page, snmax, true); sm.Sn_evo = sm.parseThatValue(page, snevo, false); sm.B_min = sm.parseThatValue(page, bmin, false); sm.B_max = sm.parseThatValue(page, bmax, true); sm.B_evo = sm.parseThatValue(page, bevo, false); sm.Ca_min = sm.parseThatValue(page, camin, false); sm.Ca_max = sm.parseThatValue(page, camax, true); sm.Ca_evo = sm.parseThatValue(page, caevo, false); sm.Zr_min = sm.parseThatValue(page, zrmin, false); sm.Zr_max = sm.parseThatValue(page, zrmax, true); sm.Zr_evo = sm.parseThatValue(page, zrevo, false); sm.As_min = sm.parseThatValue(page, asmin, false); sm.As_max = sm.parseThatValue(page, asmax, true); sm.As_evo = sm.parseThatValue(page, asevo, false); sm.Bi_min = sm.parseThatValue(page, bimin, false); sm.Bi_max = sm.parseThatValue(page, bimax, true); sm.Bi_evo = sm.parseThatValue(page, bievo, false); sm.Sb_min = sm.parseThatValue(page, sbmin, false); sm.Sb_max = sm.parseThatValue(page, sbmax, true); sm.Sb_evo = sm.parseThatValue(page, sbevo, false); sm.Zn_min = sm.parseThatValue(page, znmin, false); sm.Zn_max = sm.parseThatValue(page, znmax, true); sm.Zn_evo = sm.parseThatValue(page, znevo, false); sm.Mg_min = sm.parseThatValue(page, mgmin, false); sm.Mg_max = sm.parseThatValue(page, mgmax, true); sm.Mg_evo = sm.parseThatValue(page, mgevo, false); sm.N_min = sm.parseThatValue(page, nmin, false); sm.N_max = sm.parseThatValue(page, nmax, true); sm.N_evo = sm.parseThatValue(page, nevo, false); sm.H_min = sm.parseThatValue(page, hmin, false); sm.H_max = sm.parseThatValue(page, hmax, true); sm.H_evo = sm.parseThatValue(page, hevo, false); sm.O_min = sm.parseThatValue(page, omin, false); sm.O_max = sm.parseThatValue(page, omax, true); sm.O_evo = sm.parseThatValue(page, oevo, false); //wypelnij tablice wszystkich danych sm.createTabofMinNorm(sm); sm.createTabofMaxNorm(sm); sm.createTabofEvoporation(sm); //Spprawdzenie czy zawartosci w wytopie sa poprawne [min < max] sm.checkifNormOK(page); } catch (Exception ex) { //Jezeli cokolwiek pojdzie zle to wyswietl blad page.DisplayAlert("Dziwny error", ex.ToString(), "OK"); } //zwroc wytop return(sm); }
public int DeleteSmelt(Smelt smelt) { return(dbConn.Delete(smelt)); }
public int SaveSmelt(Smelt smelt) { return(dbConn.Insert(smelt)); }
/// <summary> /// Konstruktor okna pokazujacy szczegoly wytopu /// </summary> /// <param name="smelt"></param> public SmeltDetailForm(Smelt smelt) { InitializeComponent(); this.metal = smelt; this.Title = "Szczegóły " + smelt.name; //w lblach normy minimalne #region minWypelnij Fe_min.Text = metal.Fe_min.ToString(); C_min.Text = metal.C_min.ToString(); Si_min.Text = metal.Si_min.ToString(); Mn_min.Text = metal.Mn_min.ToString(); P_min.Text = metal.P_min.ToString(); S_min.Text = metal.S_min.ToString(); Cr_min.Text = metal.Cr_min.ToString(); Mo_min.Text = metal.Mo_min.ToString(); Ni_min.Text = metal.Ni_min.ToString(); Al_min.Text = metal.Al_min.ToString(); Co_min.Text = metal.Co_min.ToString(); Cu_min.Text = metal.Cu_min.ToString(); Nb_min.Text = metal.Nb_min.ToString(); Ti_min.Text = metal.Ti_min.ToString(); V_min.Text = metal.V_min.ToString(); W_min.Text = metal.W_min.ToString(); Pb_min.Text = metal.Pb_min.ToString(); Sn_min.Text = metal.Sn_min.ToString(); B_min.Text = metal.B_min.ToString(); Ca_min.Text = metal.Ca_min.ToString(); Zr_min.Text = metal.Zr_min.ToString(); As_min.Text = metal.As_min.ToString(); Bi_min.Text = metal.Bi_min.ToString(); Sb_min.Text = metal.Sb_min.ToString(); Zn_min.Text = metal.Zn_min.ToString(); Mg_min.Text = metal.Mg_min.ToString(); N_min.Text = metal.N_min.ToString(); H_min.Text = metal.H_min.ToString(); O_min.Text = metal.O_min.ToString(); #endregion //w lblach normy max #region maxWypelnij Fe_max.Text = metal.Fe_max.ToString(); C_max.Text = metal.C_max.ToString(); Si_max.Text = metal.Si_max.ToString(); Mn_max.Text = metal.Mn_max.ToString(); P_max.Text = metal.P_max.ToString(); S_max.Text = metal.S_max.ToString(); Cr_max.Text = metal.Cr_max.ToString(); Mo_max.Text = metal.Mo_max.ToString(); Ni_max.Text = metal.Ni_max.ToString(); Al_max.Text = metal.Al_max.ToString(); Co_max.Text = metal.Co_max.ToString(); Cu_max.Text = metal.Cu_max.ToString(); Nb_max.Text = metal.Nb_max.ToString(); Ti_max.Text = metal.Ti_max.ToString(); V_max.Text = metal.V_max.ToString(); W_max.Text = metal.W_max.ToString(); Pb_max.Text = metal.Pb_max.ToString(); Sn_max.Text = metal.Sn_max.ToString(); B_max.Text = metal.B_max.ToString(); Ca_max.Text = metal.Ca_max.ToString(); Zr_max.Text = metal.Zr_max.ToString(); As_max.Text = metal.As_max.ToString(); Bi_max.Text = metal.Bi_max.ToString(); Sb_max.Text = metal.Sb_max.ToString(); Zn_max.Text = metal.Zn_max.ToString(); Mg_max.Text = metal.Mg_max.ToString(); N_max.Text = metal.N_max.ToString(); H_max.Text = metal.H_max.ToString(); O_max.Text = metal.O_max.ToString(); #endregion //w lblach wspolcznniki parowania #region evoWypelnij Fe_evo.Text = metal.Fe_evo.ToString(); C_evo.Text = metal.C_evo.ToString(); Si_evo.Text = metal.Si_evo.ToString(); Mn_evo.Text = metal.Mn_evo.ToString(); P_evo.Text = metal.P_evo.ToString(); S_evo.Text = metal.S_evo.ToString(); Cr_evo.Text = metal.Cr_evo.ToString(); Mo_evo.Text = metal.Mo_evo.ToString(); Ni_evo.Text = metal.Ni_evo.ToString(); Al_evo.Text = metal.Al_evo.ToString(); Co_evo.Text = metal.Co_evo.ToString(); Cu_evo.Text = metal.Cu_evo.ToString(); Nb_evo.Text = metal.Nb_evo.ToString(); Ti_evo.Text = metal.Ti_evo.ToString(); V_evo.Text = metal.V_evo.ToString(); W_evo.Text = metal.W_evo.ToString(); Pb_evo.Text = metal.Pb_evo.ToString(); Sn_evo.Text = metal.Sn_evo.ToString(); B_evo.Text = metal.B_evo.ToString(); Ca_evo.Text = metal.Ca_evo.ToString(); Zr_evo.Text = metal.Zr_evo.ToString(); As_evo.Text = metal.As_evo.ToString(); Bi_evo.Text = metal.Bi_evo.ToString(); Sb_evo.Text = metal.Sb_evo.ToString(); Zn_evo.Text = metal.Zn_evo.ToString(); Mg_evo.Text = metal.Mg_evo.ToString(); N_evo.Text = metal.N_evo.ToString(); H_evo.Text = metal.H_evo.ToString(); O_evo.Text = metal.O_evo.ToString(); #endregion }