/// <summary> /// 保证金 /// </summary> /// <param name="entity">StockEntity</param> /// <param name="bzjInfo"> ref BzjInfoInformation</param> internal static BzjInfoInformation ToBzjInfo(StockEntity entity) { return new BzjInfoInformation() { Au = entity.Au, Ag = entity.Ag, Pt = entity.Pt, Pd = entity.Pd, AuPrice = entity.AuPrice, AgPrice = entity.AgPrice, PdPrice = entity.PdPrice, PtPrice = entity.PtPrice, StockID = entity.StockID, }; //BidOrder = orderTypeTotal == null ? BidOrder : orderTypeTotal.BidOrder; //BidSuccess = orderTypeTotal == null ? BidSuccess : orderTypeTotal.BidSuccess; //AskOrder = orderTypeTotal == null ? AskOrder : orderTypeTotal.AskOrder; //AskSuccess = orderTypeTotal == null ? AskSuccess : orderTypeTotal.AskSuccess; }