コード例 #1
0
        public static void GetTextAboutServiceWithMetrics(int index,
                                                          int client_id, int month, out string label25, out string label27,
                                                          out string label28, out string label30, out string label32, out string label34)
        {
            label25 = ServicesHandler
                      .getServiceTariff(index)
                      .ToString();

            label27 = ServicesHandler
                      .getServiceUsage(index, client_id, month)
                      .ToString();

            label28 = PaymentHandler
                      .getServiceCost(index, client_id, month)
                      .ToString();

            label30 = PaymentHandler
                      .getVirtualMoneyInCash(index, client_id)
                      .ToString();

            label32 = PaymentHandler
                      .TotalToPay(index, client_id, month)
                      .ToString();

            label34 = DebtHandler
                      .MainDebtHandler(index, client_id, month)
                      .ToString();
        }
コード例 #2
0
 public static decimal getServiceCost(int index, int client_id, int month) => ServicesHandler.getServiceUsage(index, client_id, month) * ServicesHandler.getServiceTariff(index);