private void CheckPayoutCash() { if (Payout == null) { return; } for (int i = 1; i <= Payout.NumberOfChannels; i++) { ChannelData d = new ChannelData(); Payout.GetDataByChannel(i, ref d); payoutcash[i - 1] = d.Level; } }
private void SetupFormLayout() { if (Payout == null) { //MessageBox.Show("Validator class is null.", "ERROR"); return; } for (int i = 1; i <= Payout.NumberOfChannels; i++) { ChannelData d = new ChannelData(); Payout.GetDataByChannel(i, ref d); payoutcash[i - 1] = d.Level; // 1 ; 0 ; 5 ;10 ;20 ;50 ;100 } new LOG.LogClass().WriteLogFile(LOG.LogSerial.logSerialnum + "---CashPayout-->钱箱存钱数量,1:" + payoutcash[0] + "张。5:" + payoutcash[2] + "张。10:" + payoutcash[3] + "张。"); }