本文整理汇总了C#中MadViper.POrder.GetSignedContractedCount方法的典型用法代码示例。如果您正苦于以下问题:C# POrder.GetSignedContractedCount方法的具体用法?C# POrder.GetSignedContractedCount怎么用?C# POrder.GetSignedContractedCount使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类MadViper.POrder
的用法示例。
在下文中一共展示了POrder.GetSignedContractedCount方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AddPOrderAsCC_WithChangeSign
public void AddPOrderAsCC_WithChangeSign(POrder o)
{
CodeCount cc = new CodeCount();
cc.Code = o.Code;
cc.Count = o.GetSignedContractedCount() * (-1);
_ccs.Add(cc);
}
示例2: CancelRemainsRightNow
public static void CancelRemainsRightNow(POrder order)
{
order.UpdateCancelMessage(order.ReqCount - Math.Abs(order.GetSignedContractedCount()));
}
示例3: GetSweeperOrderJsonDatum
Door_Sweeper_Order_Json_Datum GetSweeperOrderJsonDatum(POrder o)
{
Door_Sweeper_Order_Json_Datum datum = new Door_Sweeper_Order_Json_Datum();
datum.SweeperID = this.ID;
datum.OrderNumber = o.OrderNumber;
datum.OrderState = o.GetState();
datum.Code = o.Code;
datum.ReqCount = o.ReqCount;
datum.SignedContractedCount = o.GetSignedContractedCount();
RawMarketData rmd = RmdManager.Ins().GetData(o.Code);
datum.Name = rmd.Name;
datum.ReqPrice = o.ReqPrice;
return datum;
}