예제 #1
0
 public void set_IsBuyForCombo(String value) {
   if (StringHelper.isNullOrEmpty(value)) {
     value = this._isBuyForCurrent ? Language.Buy : Language.Sell;
   }
   this._isBuyForCombo = value;
   this.setIsBuyForCurrent(value.equalsIgnoreCase(Language.Buy));
 }
예제 #2
0
 public void set_LotString(String value) {
   if (StringHelper.isNullOrEmpty(value)) {
     if (this._isBuyForCurrent) {
       this._buyLot = BigDecimal.ZERO;
     } else {
       this._sellLot = BigDecimal.ZERO;
     }
   } else {
     if (this._isBuyForCurrent) {
       this._buyLot = AppToolkit.convertStringToBigDecimal(value);
     } else {
       this._sellLot = AppToolkit.convertStringToBigDecimal(value);
     }
   }
 }
예제 #3
0
 public void unbindOutstanding() {
   if (!StringHelper.isNullOrEmpty(this._outstandingKey)
       && this._bindingSourceForOutstanding != null) {
     RelationOrder.unbind(this._outstandingKey, this._bindingSourceForOutstanding);
   }
 }