static public void ApplyPaymentEventAsync(object stateInfo) { try { if (!iniFile.DisplayBoardEnabled) { return; } Utils.ToCardLog("ApplyPaymentEventAsync"); double Pr = 0; int CheckId = 0; if (stateInfo != null) { try { CheckId = (int)stateInfo; Pr = (double)AlohaTSClass.GetCheckSum(CheckId); } catch { } } else { Pr = (double)AlohaTSClass.GetCurentCheckSumm(); } if (iniFile.DisplayBoardEnabled) { SendString("ИТОГО: ", Pr.ToString("0.00")); } /* * if (iniFile.RemoteEventEnabled) * { * AlohaEvent.ShowTotalVoid(Pr.ToString("0.00")); * } * */ } catch (Exception e) { Utils.ToCardLog("[Error] ApplyPaymentEvent" + e); } }