From ac5973f40f2d2524914a34b29654a215065cb6ea Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期四, 07 三月 2019 10:48:38 +0800
Subject: [PATCH] 6251 子 【开发】【2.0】拍卖行开发单
---
System/Auction/AuctionHelpModel.cs | 33 +++++++++++++++++++++------------
1 files changed, 21 insertions(+), 12 deletions(-)
diff --git a/System/Auction/AuctionHelpModel.cs b/System/Auction/AuctionHelpModel.cs
index 7cbc198..674e812 100644
--- a/System/Auction/AuctionHelpModel.cs
+++ b/System/Auction/AuctionHelpModel.cs
@@ -24,21 +24,27 @@
public Dictionary<int, AuctionConfigClass> FullServiceAuctionDic = new Dictionary<int, AuctionConfigClass>();//鍏ㄦ湇鎷嶅崠閫夋嫨璁板綍
public List<AuctionItemConfig> AuctionItemList = new List<AuctionItemConfig>();//鎷嶅崠鐗╁搧琛�
AuctionInquiryModel model { get { return ModelCenter.Instance.GetModel<AuctionInquiryModel>(); } }
- private bool wait = true;
+
public int AuctionTaxrate1 = 0;//鍏ㄦ湇鎷嶅搧绋庣巼
public int AuctionTaxrate2 = 0;//浠欑洘鎷嶅搧绋庣巼
public int AuctionTaxrate3 = 0;//浠欑洘鎷嶅搧涓汉绋庣巼
private int selectedGenreNow = 0;
- public int SelectedGenreNow
+ public int SelectedGenreNow//褰撳墠閫夋嫨鐨勯〉绛�
{
get { return selectedGenreNow; }
set { selectedGenreNow = value; }
}
- private ItemAttrData attrData;
+ private ItemAttrData attrData;//褰撳墠閫夋嫨鎯宠涓婃灦鐨勭墿鍝�
public ItemAttrData AttrData
{
get { return attrData; }
set { attrData = value; }
+ }
+ private bool wait = true;
+ public bool Wait
+ {
+ get { return wait; }
+ set { wait = value; }
}
public override void Init()
{
@@ -67,6 +73,15 @@
{
}
+
+ private void secondEvent()
+ {
+ if (!wait)
+ {
+ wait = true;
+ }
+ }
+
private void GetAuctionList()//鍏ㄦ湇鑾峰彇鎷嶅崠鍒楄〃
{
FullServiceAuctionDic.Clear();
@@ -86,15 +101,7 @@
}
}
- }
-
- private void secondEvent()
- {
- if (!wait)
- {
- wait = true;
- }
- }
+ }
public List<AuctionItemConfig> GetAuctionItemList(int index)//鑾峰彇鍏虫敞鍒楄〃
{
@@ -110,6 +117,7 @@
auctionItemList.Sort(Compare);
return auctionItemList;
}
+
int Compare(AuctionItemConfig x, AuctionItemConfig y)//鏁扮粍鎺掑垪
{
bool havex = IsConcernedAbout(x.ItemID);
@@ -124,6 +132,7 @@
}
return 1;
}
+
private bool IsConcernedAbout(int itemID)
{
bool isBool = false;
--
Gitblit v1.8.0