public static InterestStorageLevyCommisionPLData Create(System.Data.DataRow dr)
 {
      var data = new InterestStorageLevyCommisionPLData();
      CreateHelper(dr, data);
     data.Type = BusinessTypeEnum.Levy;
     data.OriginAmount = (decimal)dr["Levy"];
     data.EquvAmount = data.OriginAmount * data.ExchangeRate;
     return data;
 }
 public static FlexInterface.Common.InterestStorageLevyCommisionPLData Create(System.Data.DataRow dr)
 {
     var data = new InterestStorageLevyCommisionPLData();
     CreateHelper(dr, data);
     data.Type = FlexInterface.Common.BusinessTypeEnum.InterestPL;
     data.OriginAmount = (decimal)dr["InterestPLValued"];
     data.EquvAmount = data.ExchangeRate * data.OriginAmount;
     return data;
 }
 private InterestStorageLevyCommisionPLData GetPLData()
 {
     InterestStorageLevyCommisionPLData interestData = new InterestStorageLevyCommisionPLData();
     interestData.Type = this._businessType;
     interestData.FromMt4LoginID = "person001";
     interestData.ToMt4LoginID = "WF0002";
     interestData.FromTradeDay = DateTime.Now.AddDays(-10);
     interestData.ToTradeDay = DateTime.Now;
     interestData.OriginAmount = 2345.5678m;
     interestData.ExchangeRate = 7.8889m;
     interestData.EquvAmount = interestData.OriginAmount * interestData.ExchangeRate;
     interestData.CurrencyCode = "HKD";
     interestData.FromCustomerNo = "MinCustomerNo";
     interestData.ToCustomerNo = "MaxCustomerNo";
     interestData.ProductName = "LLS伦敦金";
     return interestData;
 }