Пример #1
0
 private static FinplanModelData CopyFinplanModelData(FinplanModelData data)
 {
     return(new FinplanModelData
     {
         Name = data.Name,
         Years = data.Years,
         SALES_t = data.SALES_t,
         CA_t = data.CA_t,
         FA_t = data.FA_t,
         A_t = data.A_t,
         CL_t = data.CL_t,
         NF_t = data.NF_t,
         EBIT_t = data.EBIT_t,
         NL_t = data.NL_t,
         NS_t = data.NS_t,
         L_t = data.L_t,
         S_t = data.S_t,
         R_t = data.R_t,
         i_t = data.i_t,
         EAFCD_t = data.EAFCD_t,
         CMDIV_t = data.CMDIV_t,
         NUMCS_t = data.NUMCS_t,
         NEWCS_t = data.NEWCS_t,
         P_t = data.P_t,
         EPS_t = data.EPS_t,
         DPS_t = data.DPS_t,
         SALES_t1 = data.SALES_t1,
         GSALS_t = data.GSALS_t,
         RCA_t = data.RCA_t,
         RFA_t = data.RFA_t,
         RCL_t = data.RCL_t,
         PFDSK_t = data.PFDSK_t,
         PFDIV_t = data.PFDIV_t,
         L_t1 = data.L_t1,
         LR_t = data.LR_t,
         S_t1 = data.S_t1,
         R_t1 = data.R_t1,
         b_t = data.b_t,
         T_t = data.T_t,
         i_t1 = data.i_t1,
         ie_t = data.ie_t,
         REBIT_t = data.REBIT_t,
         Ul_t = data.Ul_t,
         Us_t = data.Us_t,
         K_t = data.K_t,
         NUMCS_t1 = data.NUMCS_t1,
         m_t = data.m_t,
     });
 }
Пример #2
0
 public static void ShowInConsole(FinplanModelData modelData)
 {
     Console.WriteLine($"{nameof(modelData.Name)}: {modelData.Name}");
     Console.WriteLine($"{nameof(modelData.SALES_t)}: {modelData.SALES_t.Round()}");
     Console.WriteLine($"{nameof(modelData.CA_t)}: {modelData.CA_t.Round()}");
     Console.WriteLine($"{nameof(modelData.FA_t)}: {modelData.FA_t.Round()}");
     Console.WriteLine($"{nameof(modelData.A_t)}: {modelData.A_t.Round()}");
     Console.WriteLine($"{nameof(modelData.CL_t)}: {modelData.CL_t.Round()}");
     Console.WriteLine($"{nameof(modelData.NF_t)}: {modelData.NF_t.Round()}");
     Console.WriteLine($"{nameof(modelData.EBIT_t)}: {modelData.EBIT_t.Round()}");
     Console.WriteLine($"{nameof(modelData.NL_t)}: {modelData.NL_t.Round()}");
     Console.WriteLine($"{nameof(modelData.NS_t)}: {modelData.NS_t.Round()}");
     Console.WriteLine($"{nameof(modelData.L_t)}: {modelData.L_t.Round()}");
     Console.WriteLine($"{nameof(modelData.S_t)}: {modelData.S_t.Round()}");
     Console.WriteLine($"{nameof(modelData.R_t)}: {modelData.R_t.Round()}");
     Console.WriteLine($"{nameof(modelData.i_t)}: {modelData.i_t.Round()}");
     Console.WriteLine($"{nameof(modelData.EAFCD_t)}: {modelData.EAFCD_t.Round()}");
     Console.WriteLine($"{nameof(modelData.CMDIV_t)}: {modelData.CMDIV_t.Round()}");
     Console.WriteLine($"{nameof(modelData.NUMCS_t)}: {modelData.NUMCS_t.Round()}");
     Console.WriteLine($"{nameof(modelData.NEWCS_t)}: {modelData.NEWCS_t.Round()}");
     Console.WriteLine($"{nameof(modelData.P_t)}: {modelData.P_t.Round()}");
     Console.WriteLine($"{nameof(modelData.EPS_t)}: {modelData.EPS_t.Round()}");
     Console.WriteLine($"{nameof(modelData.DPS_t)}: {modelData.DPS_t.Round()}");
 }
Пример #3
0
 public FinplanModel(FinplanModelData data)
 {
     Data = data;
 }