"Net-Auction"



Yüklə 310,72 Kb.
səhifə4/4
tarix18.01.2019
ölçüsü310,72 Kb.
#100276
1   2   3   4

Search:

This class is used for searching of the Product in the system, by using tags.

Using TagsBLL, ProductsBLL and inner class FoundItem.

FoundItem:

This class describes all found Products during the search.



FoundItem

Parameters:

Guid _SerialNumber

Return:

None

Description:

Constructor. Takes Serial Number of the Product


CompareItems

Parameters:

FoundItem item1, FoundItem item2

Return:

int -1 – item1 has more priority,

1 – item2 has more priority,

0 – they are equal.


Description:

Compares the priority of item1 to item2.

This class has although following attributes (with setters & getters).

Guid serial_number;

int relevant_tags;

int relevant_tags_in_title;

bool active;

The Search class methods:

SearchFor

Parameters:

string category, string tags

Return:

List

Description:

Finds Products by Category and sort it by common tags existence. If any Product has Title tag same with searched, it's

sort priority becomes higher.






IsItemAlreadyInItemList

Parameters:

Guid SerialNumber

Return:

FoundItem

Description:

If the item exists, returns it, otherwise returns null.




BuildItemList

Parameters:

string category, string tags

Return:

None

Description:

Returns list with items, haves one common tag with searched,

at least. Not sorted.




Bidding:

This class controls bidding process during the Tender is active. Using BidsPerTenderBLL, ClientsBLL, ProductsBLL and inner class Winner.

Winner

This class used for describing the Tender winner(s).




Winner

Parameters:

Guid CID, string FName, string LName, string NName, decimal _bid, DateTime bid_time, int ActQuantity, bool Bound

Return:

None

Description:

Constructor. Makes new instance of Winner.

This class has although following attributes (with setters & getters).

Guid client_id;

string first_name;

string last_name;

string nick_name;

decimal bid;

DateTime time;

int actually_quantity;

bool quantity_bound;

The Bidding class methods:

NewBid

Parameters:

Guid ClientID, decimal Bid, Guid TenderNumber, int Quantity, bool QuantityBound

Return:

Int 0 – was successful.

-1 -- The bid is not a big enough.

-2 -- The user have no enough cache.

-3 -- The quantity is too big.

-4 -- The quantity is too small.

-5 – Tender not active.



Description:

Checks all conditions and makes new bid.




GetBiggestBid

Parameters:

BidsPerTenderDataTable Bids

Return:

decimal

Description:

Gets biggest bid.




GetPreviousBidOfClient

Parameters:

BidsPerTenderDataTable Bids, Guid TenderNumber, Guid ClientID

Return:

BidsPerTenderRow

Description:

Returns the last bid of given Client in given Tender




GetCurrentWinnersByTender

Parameters:

Guid TenderNumber

Return:

List

Description:

Returns Winner list, correct to current moment.



ProductsHistoryBll.

This class provides the sold products history management. Using by SoldProductsHistoryTableAdapter.




GetHistoryByNewOwnerID

Parameters:

Guid NewOnerID

Return:

SoldProductsHistoryDataTable

Description:

Gets all sold products history by new owner.




GetHistoryBySellerID

Parameters:

Guid SellerID

Return:

SoldProductsHistoryDataTable

Description:

Gets all sold products history by previous owner.




AddHistory

Parameters:

Guid TenderNumber, Guid NewOwnerNumber, string ItemTitle, Guid SellerID, decimal SaleBid, int Quantity, DateTime Date

Return:

Int number of inserted rows

Description:

Adds new sold product to history.



    1. Installation and deployment instructions:

There are several software installations necessary for utilization of this web-site.

Server side:


  • Microsoft SQL – server

  • Web-Server

  • Microsoft ASP.NET 2 web-application framework

Client side:



  • Web-browser

The recommended development software is:



  • Microsoft Visual Studio 2005 or

Microsoft Visual Web Developer

  • Microsoft SQL server 2005


    1. User Guide

This section describes important pages, data tables and allowed performs on this web site.




    1. All users, include unregistered user, can get all the information about active tenders, bid information and basic information about sellers. For fully participation as a buyer or a seller user should be registered on this web site. On the left side of all site pages you can see main menu. This menu contains most of available options.


To register on this site go to "Registration" page, if you are already registered and just want to sign in for participating in auction, go to "Sign In" page. You can do the same thing by clicking on blue links on the home page.

To see information about this site go to "About Me" page.


    1. For studying information about available active tenders or tenders going to start at the nearest time you have two options. The first one is to use a search toolbar and to find interesting you product by associative worlds.

The second one is to navigate to it via "Categories" page. On "Categories" page choose an interesting to you category, you will redirected to the "Products" page.

On this page you can see all tenders of interest to you products. There is a checkbox (on the right side of table) that indicates the activity of tender. If this checkbox is off you this tender didn't active yet. You can see more information about all of the tenders by clicking on title name of tender product. This click redirects you to "Product" page.




    1. On this page you can see number of tables that describes the product the tender. To see more information and comment of the seller press on a blue link button.



On the bottom side we can see two tables. "Bid history" presents all bids done in this tender. "Winners for this moment" – presents current winners according to their bids and winners algorithm. To make a new bid, press on "Bid" button.




    1. To open your new tender press on appropriate menu option. Of course, you should be already signed in to perform this operation.


    1. To manage operations on your account go to "My Account" page. On this page you can see and update all your account information and your tenders.



To see and change your personal information, go to "Personal Information" page from menu or from "My Account" page.

To see information about all active tenders opened by you or tenders you participate in as a buyer go to "Active Tenders".

To see and update tenders opened by you but didn't started yet, go to "Tenders before opening" page.

To see information about ended tenders opened by you or won by you, go to "My History" page.

To remove products after failed tender or to open a new one go to "My not succeed tenders" page.


  1. Reference Material

Books:

  • "NET framework v2.0" by Andrew Troelsen.

  • "Microsoft ASP.NET with examples on C# for professionals" by Matiue Mc. Donald and Mario Shpushta.


Websites:

  • http://www.asp.net – tutorials on asp web and c# programming.

  • Useful information and examples for web programmers.

http://www.15seconds.com

http://www.odetocode.com

  • Images and icons for web-sites.

http://www.dreamstime.com


  1. Kudos

Many thanks to our supervisor, Maxim Gurevich, software laboratory application engineer, Victor Kulikov and to all lab staff for educational and technical support.

The End


Net-Auction project's booklet.

Supervisor Mr. Maxim Gurevich, submitted by Yuri Kipnis & Alex Scheotkin



Page of



Yüklə 310,72 Kb.

Dostları ilə paylaş:
1   2   3   4




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©muhaz.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin