示例#1
0
 public void SetNew(eVouchersScanType type, string siteCode, int startFrom, string comment)
 {
     m_VoucherScanType = type;
     m_SiteCodeString  = siteCode;
     BatchID           = Guid.NewGuid();
     Interlocked.Exchange(ref m_VoucherStartNumber, startFrom);
     Comment = comment;
 }
示例#2
0
 public CurrentScanObj(eVouchersScanType type, string siteCode, int startFrom)
 {
     m_VoucherScanType = type;
     m_SiteCodeString  = siteCode;
     Interlocked.Exchange(ref m_VoucherStartNumber, startFrom);
 }