public override int GetHashCode() { int hash = 1; if (RehabType != 0) { hash ^= RehabType.GetHashCode(); } if (KlType != 0) { hash ^= KlType.GetHashCode(); } if (security_ != null) { hash ^= Security.GetHashCode(); } if (ReqNum != 0) { hash ^= ReqNum.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
/** * * @param market * @param symbol * @param rehabType * @param klType * @param beginTime * @param endTime * @param maxAckKLNum * @param needKLFieldsFlag */ public QotGetHistoryKLExec(QotMarket market, String symbol, RehabType rehabType, KLType klType, String beginTime, String endTime, int maxAckKLNum, long needKLFieldsFlag) { this.market = market; this.symbol = symbol; this.rehabType = rehabType; this.klType = klType; this.beginTime = beginTime; this.endTime = endTime; this.maxAckKLNum = maxAckKLNum; this.needKLFieldsFlag = needKLFieldsFlag; }
public QotGetHistoryKLPointsExec(QotMarket market, String[] symbols, RehabType rehabType, KLType klType, String[] timeLists, Qot_GetHistoryKLPoints.NoDataMode noDataMode, int maxReqSecurityNum, long needKLFieldsFlag) { this.market = market; this.symbols = symbols; this.rehabType = rehabType; this.klType = klType; this.noDataMode = noDataMode; this.timeLists = timeLists; this.maxReqSecurityNum = maxReqSecurityNum; this.needKLFieldsFlag = needKLFieldsFlag; }
public QotGetKLExec(QotMarket market, String symbol, RehabType rehabType, KLType klType, int reqNum, IUpdateCallBack callback) { this.market = market; this.symbol = symbol; this.rehabType = rehabType; this.klType = klType; this.reqNum = reqNum; if (this.reqNum > 1000) { this.reqNum = 1000; } this.callback = callback; }
public override int GetHashCode() { int hash = 1; if (RehabType != 0) { hash ^= RehabType.GetHashCode(); } if (KlType != 0) { hash ^= KlType.GetHashCode(); } if (security_ != null) { hash ^= Security.GetHashCode(); } if (BeginTime.Length != 0) { hash ^= BeginTime.GetHashCode(); } if (EndTime.Length != 0) { hash ^= EndTime.GetHashCode(); } if (MaxAckKLNum != 0) { hash ^= MaxAckKLNum.GetHashCode(); } if (NeedKLFieldsFlag != 0L) { hash ^= NeedKLFieldsFlag.GetHashCode(); } if (NextReqKey.Length != 0) { hash ^= NextReqKey.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }