Home

Appendix B – FIWOS System Installation Procedure

image

Contents

1. Source Code lt php Includes include Components VarHandlerGet php function DisplayScript heading curtable menuitems formname idcount echo lt div class Heading1 gt heading lt div gt echo lt div class Heading2 gt Table curtable lt div gt echo lt div align center gt lt form method post name formname action OrderSummary php gt n items array for x 1 x lt count menuitems x dbmenuitems AccessDB SELECT ID Name Price FROM Smenuitems Sx for i 1 i lt RecordCount Fiwos menuitems x i 4 items i array id gt i name 5ucwords Sdbmenuitems gt fields 1 price gt ucwords dbmenuitems gt fields 2 dbmenuitems gt MoveNext foreach items as key echo lt input type hidden name id idcount 66 value Sidcount gt n echo lt input type hidden name amt value Sidcount gt W echo lt input type hidden name price idcount value key price Si WI echo lt input type hidden name type idcount value menuitems x gt n echo lt table border 0 gt n echo lt tr gt
2. echo n echo lt script gt n n idcount include Components VarHandlerPost php echo lt br gt lt input type submit value Add to Order name add gt n echo lt form gt lt div gt n function HtmlHeader header echo lt html gt echo lt head gt echo lt title gt header lt title gt echo lt link rel stylesheet type text css href Components Fiwos css gt echo lt script src Components Fiwos js gt echo lt script gt echo lt head gt echo lt body gt function HtmlFooter echo lt body gt echo lt html gt function PrintOrder printername tableno printitems printqty handle printer_open printername printer_start_doc handle Order printer_start_page handle tablefont printer_create_font Arial 72 48 500 false false 0 headingfont printer create font Arial 72 48 500 false true false 0 bodyfont printer create font Arial 72 48 200 false false 0 printer select font Shandle tablefont printer_draw_text handle Table tableno 350 50 y 100 printer_select_font handle headingfont false false 57 printer_draw_text
3. n echo lt td halign center gt n 56 eee echo lt input type text class size 15 name name Sidcount value key name gt n echo lt td gt n echo lt td halign center gt n echo lt input type text class sizez 2 name qty idcount value 0 gt n echo lt td gt Nn echo lt td halign center gt lt input type button onclick IncQty Sidcount value Add gt lt td gt n echo lt td halign center gt lt input type button onclick DecQty idcount value Del gt lt td gt n echo lt tr gt n echo lt table gt n n echo lt script type text javascript gt n echo function IncQty idcount 0 n 266 echo n echo function DecQty idcount n smenuitems x readonly smenuitems x readonly echo document formname qty idcount value n echo if document formname qty Sidcount value gt 0 document Sformname qty idcount value n
4. DataSource value Provider Microsoft Jet OLEDB 4 0 Data Source c fiwos Fiwos mdb gt lt appSettings gt 67 lt configuration gt DBConnection cs using System using System Xml Serialization using System Xml using System Xml XPath using System Data OleDb using System Data using System Security Cryptography using System IO using System Text using System Configuration namespace WindowsApplication5 public class DBConnection private Byte KEY_64 1 2 3 4 5 6 7 8 private Byte IV 64 18 7 6 5 4 3 2 1 public DBConnection public string Decrypt string value DESCryptoServiceProvider cryptoProvider new DESCryptoServiceProvider Byte buffer Convert FromBase64String value MemoryStream ms new MemoryStream buffer CryptoStream cs new CryptoStream ms cryptoProvider CreateDecryptor KEY_64 IV_64 CryptoStreamMode Read StreamReader sr new StreamReader cs return sr ReadToEnd public string Encrypt string value DESCryptoServiceProvider cryptoProvider new DES CryptoServiceProvider MemoryStream ms new MemoryStream CryptoStream cs new CryptoStream ms cryptoProvider CreateEncryptor KEY_64 IV 64 CryptoStreamMode Write StreamWriter sw new StreamWriter cs sw Write value sw Flush cs FlushFinalBlock ms Flush return Convert ToBase64String ms GetBuffer 0 Convert ToInt32 ms Length public OleDbConnection g
5. ez ToString delt Close loadtables private void button6 Click 1 object sender System EventArgs e 114 textBox2 Text textBox3 Text Vacant LoadtableIDQ button1 Enabled true button6 Enabled true private void button5 Click 1 object sender System EventArgs e new frmviewtables ShowDialog private void textBox2_TextChanged object sender System EventArgs e private void button12 Click object sender System EventArgs e private void button2_Click_1 object sender System EventArgs e this Dispose true loadtables button6 Enabled true 115
6. null components Dispose base Dispose disposing 73 region Windows Form Designer generated code lt summary gt Required method for Designer support do not modify the contents of this method with the code editor lt summary gt private void InitializeComponent this components new System ComponentModel Container System Resources ResourceManager resources new System Resources ResourceManager typeof SplashScreen this mainMenul new System Windows Forms MainMenu this menulItem1 new System Windows Forms Menultem this menulItem2 new System Windows Forms Menultem this menultem29 new System Windows Forms Menultem this menultem30 new System Windows Forms Menultem this menultem3 new System Windows Forms Menultem this menultem4 new System Windows Forms Menultem this menultem5 new System Windows Forms Menultem this menultem22 new System Windows Forms Menultem this menultem23 new System Windows Forms Menultem this menultem24 new System Windows Forms Menultem this menultem7 new System Windows Forms Menultem this menultem10 new System Windows Forms Menultem this menulteml 1 new System Windows Forms Menultem this menultem6 new System Windows Forms Menultem this menultem8 new System Windows Forms Menultem this menultem9 new System Windows Forms Menultem this menultem 12 new System W
7. pictureBox 1 this pictureBox1 Size new System Drawing Size 160 120 this pictureBox1 SizeMode System Windows Forms PictureBoxSizeMode StretchImage this pictureBox 1 TabIndex 17 this pictureBox 1 TabStop false button8 this button8 BackColor System Drawing Color Beige this button8 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button8 Location new System Drawing Point 216 304 this button8 Name button8 this button8 TabIndex 20 this button8 Text lt lt this toolTip1 SetToolTip this button8 First Record this button8 Click new System EventHandler this button8_Click 93 button9 this button9 BackColor System Drawing Color Beige this button9 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button9 Location new System Drawing Point 296 304 this button9 Name button9 this button9 TabIndex 21 this button9 Text lt this toolTip1 SetToolTip this button9 Previous this button9 Click new System EventHandler this button9_Click button10 this button 10 BackColor System Drawing Color Beige this button10 Font new System Drawing Font Microsoft Sans Serif 8 25F System D
8. et lt table gt lt table width 150 border 0 class center gt n ADS WA echo lt td halign center Scinput type button onclick Edit Add SEditQty1 SEditQty2 value Add gt lt td gt n echo lt td halignz center 5 nm echo lt input type text classe POST EditType readonly size 3 name EditQty value 1 of POST EditQty gt n echo lt td gt n echo lt td halign center gt lt input type button onclick value Del gt lt td gt n echo lt tr gt echo lt table gt echo lt br gt echo echo echo echo anaa GTI echo lt table width 250 border 1 gt n echo lt tr gt 50 i echo lt td rowspan 3 class center gt n echo lt select name Editltem width 10 size 10 gt n edittype Edit _POST EditType edititem AccessDB SELECT Name FROM Sedittype for x 1 x lt RecordCount Fiwos edittype x echo lt option name Edit x value edititem gt fields 0 gt fields 0 lt option gt n edititem gt
9. this inForm Show private void menultem6_Click object sender System EventArgs e private void menultem33_Click object sender System EventArgs e private void menultem15_Click object sender System EventArgs e 87 Entrees cs using System using System Drawing using System Collections using System ComponentModel using System Windows Forms using System Data OleDb using System Data using System IO namespace WindowsApplication5 lt summary gt Summary description for Entrees lt summary gt public class Entrees System Windows Forms Form DataSet ds null private System Windows Forms TextBox textBox 1 private System Windows Forms TextBox textBox2 private System Windows Forms TextBox textBox3 private System Windows Forms TextBox textBox4 private System Windows Forms TextBox textBox5 private System Windows Forms Label label private System Windows Forms Label label2 private System Windows Forms Label label3 private System Windows Forms Label label4 private System Windows Forms Label label5 private System Windows Forms OpenFileDialog openFileDialog 1 private System Windows Forms Button button2 private System Windows Forms PictureBox pictureBox1 private System Windows Forms Button button8 private System Windows Forms Button button9 private System Windows Forms Button button10 private System Windows Forms Button button
10. this button6 BackColor System Drawing Color Beige this button6 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button6 Location new System Drawing Point 568 304 this button6 Name button6 this button6 Size new System Drawing Size 80 23 this button6 TabIndex 15 this button6 Text Clear this toolTip1 SetToolTip this button6 Clear all 94 this button6 Click 4 new System EventHandler this button6 Click button5 this button5 BackColor System Drawing Color Beige this button5 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button5 Location new System Drawing Point 384 352 this button5 Name button5 this button5 TabIndex 14 this button5 Text View this toolTip1 SetToolTip this button5 Quick view of all data this button5 Click new System EventHandler this button5_Click button4 this button4 BackColor System Drawing Color Beige this button4 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button4 Location new System Drawing Point 288 352 this button4 Name button4 this button4 TabI
11. Add Meals Table 4 DS PI Asa Ce DNS PUI 255 Bel DRE GN Asc Ce TE DIN Aca Le RON PI Asa Le Add Drinks FR GN 483 De Table 4 ES BAN Ole a KN ec O E RE 240 P2 Crown Lager a Gs MGa TT Ad He cree MON Asa Ce Add to Order Add to Order Order Summary Table 4 pasa 1 Ea Ka Chocolate 1 Total 15 00 Add Meals Add Drinks Clear Order 31 This is an ezample of an order Entrees Main courses Desserts and Drinks will display in different colours In this case there is no drink being ordered Also total cost for this order will be for display purposes only Once you pressed Submit Order button copy of the order will send to the printer in the kitchen bar and to the cashier 7 User Manual for the Back end Application Logon Menu Enter a valid username and password Then press login button There is no limit in attempts Username TI N N O Password to login m a Main window Once you login to the system this will be you main screen All tasks which perform by this software will display on the menu Also user information such as user name logged time and date will display on the top right hand corner or on the status bar f Friday June 09 2006012 05 42 PM Application Entrees Main Course Desserts Drinks Tables Reports Help Logon Information admin Friday June 09 2006 12 04 14 PM Applications This will disp
12. button9 this button9 TabIndex 45 this button9 Text lt this toolTip1 SetToolTip this button9 Previous Record this button9 Click new System EventHandler this button9_Click button8 this button8 BackColor System Drawing Color Beige this button8 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button8 Location new System Drawing Point 24 200 this button8 Name button8 this button8 TabIndex 44 this button8 Text lt lt this toolTip1 SetToolTip this button8 First Record this button8 Click new System EventHandler this button8_ Click button7 this button7 BackColor System Drawing Color Beige this button7 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button7 Location new System Drawing Point 24 232 this button7 Name button7 this button7 TabIndex 43 this button7 Text Load Data this toolTip1 SetToolTip this button7 Load Table Data this button7 Click new System EventHandler this button7_Click button6 this button6 BackColor System Drawing Color Beige this button6 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold Syst
13. gt del_item itemid else this gt itemqtys Sitemid qty this gt _update_total function del item Sitemid Sti array this gt itemqtys itemid 0 foreach Sthis vitems as item if item itemid Sti item this gt items Sti this gt _update_total function empty_order this gt total 0 this gt itemcount 0 this gt items array this gt itemprices array this gt itemqtys array this gt itemname array this gt itemtype array function _update_total this gt itemcount 0 this gt total 0 if sizeof this gt items gt 0 foreach this gt items as item this gt total this gt total this gt itemprices item x this gt itemqtys item this gt itemcount 54 55 Scripts Description and Function Scripts php is a component of the FIWOS application that stores a variety of commonly used functions by the rest of the application It is within the Scripts php file that the menu items for AddDrinks php and AddMeals php are retrieved and displayed Also this file defines the printing functions that determine how each of the receipts are formatted and printed and to which printer Other functions such as HTML header and footer generators and testing are also included here File Details Name Type Size Scripts php PHP 5 KB
14. handle Item 0 y printer_draw_text handle Qty 1000 y y 200 fontsize 72 printer select font handle bodyfont for x 1 x lt count printitems x y fontsize printer draw text Shandle Sprintitems Sx O Sy printer draw text Shandle Sprintqty x 1000 y printer_delete_font tablefont printer_delete_font headingfont printer_delete_font bodyfont printer_end_page handle printer_end_doc handle printer_close handle function PrintTest false p printer open HP 6200 Network printer set option p PRINTER PAPER FORMAT PRINTER FORMAT A4 printer start doc p Testpage printer start page Sp Spen printer create pen PRINTER PEN SOLID 1 000000 Sfont printer create font Courier 37 19 PRINTER FW NORMAL false false 0 printer select pen Sp pen printer select font Sp font for i 0 Si lt 4600 i 100 printer_draw_line p i 0 i 6700 printer_draw_text p i i 0 for i 0 i lt 6700 i 100 printer draw line p 0 i 4600 Si printer draw text Sp Si O Si printer_delete_font font printer_delete_pen pen printer_end_page p printer_end_doc p printer_close p 58 Print Test Description and Function The PrintTest php file is just that an included file in the application that provides
15. order Sorder class Order var total 0 var itemcount 0 var items array var itemprices array var itemqtys array var Sitemname array var itemtype array function Order function get_contents items array foreach this gt items as tmp item item FALSE new Order item id Stmp item item qty this gt itemqtys tmp_item item price this gt itemprices tmp_item item name this gt itemname tmp_item item type this gt itemtype tmp_item item subtotal item qty item price items item function SortOrder Sa b if a id b id return 0 return a id lt b id 1 1 usort items SortOrder return items function add_item itemid qty 1 price FALSE name FALSE Stype FALSE if isset this gt itemqtys Sitemid amp amp this gt itemqtys Sitemid gt 0 this gt itemqtys itemid Sqty this gt itemqtys Sitemid this gt _update_total else this gt items itemid this gt itemqtys itemid qty this gt itemprices itemid price this gt itemname itemid name this gt itemtype itemid Stype this gt _update_total function edit item Sitemid qty if Sqty lt 1 this
16. private bool doLogin bool flag1 string text SELECT FROM Users WHERE UserName userName AND UserPassword Password OleDbConnection connection new DBConnection getOLDBConnection OleDbCommand command new OleDbCommand text1 connection1 OleDbParameter parameter new OleDbParameter user Name OleDbType VarChar Oxff DBConnection connection2 new DBConnection parameter1 Value this textBox2 Text OleDbParameter parameter new OleDbParameter Password OleDbType VarChar Oxff parameter2 Value connection2 Encrypt this textBox1 Text command 1 Parameters Add parameter 1 command 1 Parameters Add parameter2 OleDbDataReader readerl null try connection Open reader command1 ExecuteReader CommandBehavior SingleRow flag readerl HasRows catch Exception flag1 false 86 finally connection 1 Close if reader null reader1 Close reader null return flag a void menultem31_Click object sender System EventArgs e en Byorderid Order Summary ee void menultem32_Click object sender System EventArgs e os Bytableno Order Summary eae void timerl Tick 1 object sender System EventArgs e System DateTime currentDate System DateTime Now this Text currentDate ToLongDateString t currentDate ToLongTimeString private void ShowForm Form inForm inForm MdiParent
17. this ResumeLayout false endregion private void frmviewdesserts_Load object sender System EventArgs e string strCommand SELECT ID Name Description Price FROM Desserts OleDbDataAdapter da new OleDbDataAdapter OleDbConnection x new DBConnection getOLDBConnection da SelectCommand new OleDbCommand strCommand x DataSet ds new DataSet da Fill ds Desserts dataGrid1 DataSource ds Tables Desserts DefaultView private void dataGridl Navigate object sender System Windows Forms NavigateEventArgs ne private void buttonl Click object sender System EventArgs e this Dispose 105 Frmtables cs using System G Ta textBox3 using System Drawing using System Collections using System ComponentModel using System Windows Forms using System Data OleDb using System Data namespace WindowsApplication5 lt summary gt Summary description for Form6 lt summary gt public class frmtables System Windows Forms Form DataSet ds null private System Windows Forms Button button 12 private System Windows Forms Button button11 private System Windows Forms Button button 10 private System Windows Forms Button button9 private System Windows Forms Button button8 private System Windows Forms Button button private System Windows Forms Button button6 private System Windows Forms Button button private System Windows Fo
18. 1 private System Windows Forms ToolTip toolTipl 88 private System Windows Forms Label label6 private System Windows Forms Button button12 private System Windows Forms Button button7 private System Windows Forms Button button6 private System Windows Forms Button button5 private System Windows Forms Button button4 private System Windows Forms Button button3 private System Windows Forms Button button private System W indows Forms Button button 13 private System Windows Forms ErrorProvider errorProvider1 private System ComponentModel IContainer components public Entrees InitializeComponent TODO Add any constructor code after InitializeComponent call protected override void Dispose bool disposing if disposing if components null components Dispose base Dispose disposing public void loaddata navigationenable textBox1 Text null textBox1 DataBindings Clear textBox2 DataBindings Clear textBox3 DataBindings Clear textBox4 DataBindings Clear textBoxS DataBindings Clear button3 Enabled true button4 Enabled true button Enabled false string strCommand SELECT FROM Entrees OleDbDataAdapter adapter new OleDbDataAdapter OleDbConnection x new DBConnection getOLDB Connection adapter SelectCommand new OleDbCommand strCommand x ds new DataSet adapter Fill ds Entrees textBox1 DataBind
19. 1 00 00 57 230 Sinformation Interface Dot 1Rediod frequency 2412 is in use Mar 1 00 00 55 232 Notification Line protocol on Interface Dott 1Radiot changed State to up Close Window f i i Copyright e 1992 2004 by Cisco Systems EXPRESS SET UP Express Set Up Host Name oomi MAC Address 0005 9a38 42c0 Configuration Server Protocol DHCP Static IP IP Address ace IP Subnet Mask Basas Default Gateway og SNMP Community defautCommunity Read Only Read Write Role in Radio Network amp Access Point C Repeater C Root Bridge C Non Root Bridge Workgroup Bridge C Scanner Optimize Radio Network for Throughput Range Default Custom Aironet Extensions Enable Disable Role in Radio Network Access Point C Repeater Root Bridge C Non Root Bridge Workgroup Bridge Scanner Optimize Radio Network for Throughput Range Default Custom Aironet Extensions Enable Disable Step 6 Enter the configuration settings you obtained from your system administrator The configurable settings include System Name The system name while not an essential setting helps identify the access point on your network The system name appears in the titles of the management system pages Configuration Server Protocol Click on the button that matches the network s method of IP address assignment o DHCP IP addresses are automatically
20. 10 new System Windows Forms Button this button9 new System Windows Forms Button this button8 new System Windows Forms Button this button7 new System Windows Forms Button this button6 new System Windows Forms Button this buttonS new System Windows Forms Button this button4 new System Windows Forms Button this button3 new System Windows Forms Button this openFileDialog 1 new System Windows Forms OpenFileDialog this button1 new System Windows Forms Button this label2 new System Windows Forms Label this labell new System Windows Forms Label this textBox2 new System Windows Forms TextBox this textBox1 new System Windows Forms TextBox this textBox3 new System Windows Forms TextBox this label3 new System Windows Forms Label this button2 new System Windows Forms Button this label6 new System Windows Forms Label this toolTipl new System Windows Forms ToolTip this components this SuspendLayout button12 this button 12 BackColor System Drawing Color Beige this button 12 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button12 Location new System Drawing Point 248 272 this button12 Name button12 this button12 TabIndex 48 this button12 Text Exit this toolTip1 SetToolTip this button 12 Exit this button
21. 118 0001 5445 b9e6 17 0Mbis Raciot 202 114 0005 9939 2451 52 0mats Event Log Time Severity Description Mar 1 00 C0 56 231 nolilicabon Line protocol on interface Dott 1Radio0 changed State to up Mar 1 00 00 57 259 Ener Interface Dot Radiot changed state 10 up Mar 1 00 00 57 231 information Interface Deti 1RadioD frequency 2447 selecied Mar 1 00 COST 231 intomnation interface Doll 1Racie frequency 2457 is muse Mar 1 00 00 57 231 intommation Interface Dott1Racio0 frequency 2437 is in use Mar 1 00 C0 57 231 information Interface Dotl 1Radio0 frequency 2427 is in use Mar 1 ON TS 738 xamanatinn interface Dati IRANIAN frequency 7477 is in use Mar 1 00 00 57 230 intonation Interface Dot 1Radio0 frequency 2417 is in use Mar 1 00 00 57 230 intormation Interface Dot 1Radiot frequency 2412 is in use Mar 1 00 00 55 232 notincanon Line protocol on Interface Dott 1Radio1 changed state to up Default IP Address Step 1 Connect a nine pin female DB 9 to RJ 45 serial cable to the RJ 45 serial port on the access point and to the COM port on a computer Connecting the Serial Cable 3 DB 9 to RJ 45 RJ 45 serial serial cable connector Step 2 Set up a terminal emulator to communicate with the access point Use the following settings for the terminal emulator connection 9600 baud 8 data bits no parity 1 stop bit and no flow control Assigning Basic Settings Step 1 Open your Inte
22. 12 Click new System EventHandler this button12 Click button 1 this button1 1 BackColor System Drawing Color Beige this button11 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button11 Location new System Drawing Point 288 200 108 this buttonl1 Name button11 this button11 TabIndex 47 this button1 1 Text gt gt this toolTip1 SetToolTip this button11 Last Record this button1 1 Click new System EventHandler this button1 1 Click button10 this button 10 BackColor System Drawing Color Beige this button10 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button10 Location new System Drawing Point 200 200 this button 10 Name button10 this button10 TabIndex 46 this button 10 Text gt this toolTip1 SetToolTip this button 10 Next Record this button 10 Click new System EventHandler this button10_Click button9 this button9 BackColor System Drawing Color Beige this button9 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button9 Location new System Drawing Point 112 200 this button9 Name
23. 13 this BackColor System Drawing Color Silver this ClientSize new System Drawing Size 664 396 this Controls Add this button 13 this Controls Add this label6 this Controls Add this button12 this Controls Add this button 11 this Controls Add this button 10 this Controls Add this button9 this Controls Add this button8 this Controls Add this button7 this Controls Add this pictureBox 1 this Controls Add this button6 this Controls Add this button5 this Controls Add this button4 this Controls Add this button3 this Controls Add this button2 this Controls Add this button1 this Controls Add this label5 this Controls Add this label4 this Controls Add this label3 this Controls Add this label2 this Controls Add this label1 this Controls Add this textBox5 this Controls Add this textBox4 this Controls Add this textBox3 this Controls Add this textBox2 this Controls Add this textBox 1 this FormBorderStyle System Windows Forms FormBorderStyle Fixed3D 96 this Icon System Drawing Icon resources GetObject this Icon this Name Entrees this Text Entrees this Load new System EventHandler this Entrees_Load this ResumeLayout false endregion private void Entrees_Load object sender System EventArgs e navigationdisable textBox3 Enabled false textBox4 Enabled false button2 Enabled true LoadItemIDQ
24. FIWOS application pages Many variables are defined here relating to the submission of each of the forms and to which subseguent web page File Details Name Type Size Fiwos js Javascript 2 KB Source Code function AddMeals document OrderSummary action AddMeals php document OrderSummary submit function AddDrinks document OrderSummary action AddDrinks php document OrderSummary submit function SubmitClose if document TableSummary TableNo value gt 0 document TableSummary CloseTable value Yes document TableSummary action TableSummary php document TableSummary submit function SubmitConfirmEdit document EditItem action OrderSummary php document EditItem submit function SubmitEditItem EditName EditType EditQty document OrderSummary EditName value EditName document OrderSummary EditType value EditT ype document OrderSummary EditQty value EditQty document OrderSummary action Editltem php document OrderSummary submit function EditWith EditWith document EditItem EditName value w document EditItem EditItem value function EditWithout EditWithout document EditItem EditName value wo document EditItem EditItem value function Resetltem Resetltem document Editltem EditName value Resetltem 63 function EditAdd qty1 gty2 if qty1 lt qty2 qty 1 document EditItem EditQty
25. MoveNext 366 gt Sedititem echo lt select gt n echo lt td gt n resetitem _POST EditName tttr resetitem echo lt td height 20 class center gt lt input type button values With onclick EditWith gt lt td gt echo lt t gt wW y echo lt tr gt echo lt td height 20 class center gt lt input type button value Without onclickz EditWithout gt lt td gt echo lt tr gt echo lt tr gt resetitem _POST EditName Stttr resetitem echo lt td height 20 class center gt lt input type button value Reset onclick ResetItem Stttr gt lt td gt n n echo lt tr gt echo lt table gt echo lt br gt lt input type button value Confirm Edit onclick SubmitConfirmEdit gt n include Components VarHandlerPost php echo lt form gt n echo lt div gt HtmlFooter 2 gt 51 Database Description and Function The database file is critical in the FIWOS application as it defines a set of functions for accessing the database that is heavily used by the other files In addition to this Database php defines functions for pars
26. No gt echo lt td height 20 class center gt lt input type button value Finish Order onclick SubmitClose gt lt td gt echo lt tr gt n echo lt tr gt lt td height 20 class center gt lt input type button value Refresh List onclick RefreshList gt lt td gt lt tr gt echo lt tr gt lt td height 100 class center gt echo lt div class Heading2 gt Notice lt div gt echo lt div class Body1 gt Please select a table number and click Create Order to begin lt div gt echo lt td gt lt tr gt echo lt table gt echo lt br gt lt input type button value Create Order name test1 onclick SubmitTable gt n echo lt form gt n echo lt div gt HtmlFooter gt 44 Order Summary Description and Function The Order Summary page lists the summary of items for the current order This page also displays the current table number selected and provides the options to Add Meals or Add Drinks These buttons will link the program to the AddMeals php and AddDrinks php files respectively File Details Name Type Size OrderSummary php PHP 4 KB Source Code lt php include Components EditOrder p
27. RADIUS Sere HosinameoriP Address RADIUS Server Secret Apply Cancel SSID Table Delete SSID VLAN Encryption Authentication Native ae Key Management VLAN e FIWOS none none open none v Using the Express Security Page Note SSID has to have name of FIOWS which should be matching with PDA in our case Also we are going to use security such as WPA and not WEP Key Wi Fi Protected Access WPA is a data encryption specification for 802 11 wireless networks 11 that replaces the weaker WEP Created by the Wi Fi Alliance before an 802 111 security standard was ratified by the IEEE it improves on WEP by using dynamic keys Extensible Authentication Protocol to secure network access and an encryption method called Temporal Key Integrity Protocol TKIP to secure data transmissions WEP specifies a shared secret 40 or 64 bit key to encrypt and decrypt the data With WEP the receiving station must use the same key for decryption Each radio NIC and access point therefore must be manually configured with the same key Step 1 Type the SSID in the SSID entry field The SSID can contain up to 32 alphanumeric characters Step 2 To broadcast the SSID in the bridge beacon check the Broadcast SSID in Beacon check box When you broadcast the SSID devices that do not specify an SSID can associate to the bridge This is a useful option for an SSID used by guests or by client devices in a public space If you do not
28. The driver installation starts After reading and accepting the ScanSoft PaperPort 9 0SE License Agreement click Yes License Agreement Please read the following license agreement carefully Press the PAGE DOWN key to see the rest of the agreement ScanSoft End User License Agreement THE SOFTWARE AND MATERIALS PROVIDED WITH THIS AGREEMENT ARE LICENSED NOT SOLD AND AVAILABLE FOR USE ONLY UNDER THE TERMS OF THIS LICENSE AGREEMENT PLEASE READ THIS AGREEMENT CAREFULLY BY DOWNLOADING INSTALLING COPYING OR OTHERWISE USING THE SOFTWARE YOU AGREE TO BE BOUND BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND BECOME A PARTY TO THIS AGREEMENT IF YOU DO NOD Si Do you accept all the lerms of the preceding License Agreement If you select No the setup will close To install PaperPort you must accept this agreement No 18 When the Brother MFL Pro Suite Software License Agreement window appears click Yes Brother MFL Pro Suite Installation License Agreement Please read the following license agreement carztully Press the PAGE DOWN key to see the rest of the agreement End User License Agreement for Brother Software IMPORTANT PLEASE READ A CAREFULLY This End User License Agreement EULA is a legal agreement between you and Brother Industries Ltd Brother which governs your use of tre Brother software that will be installed if you press the Yes button on this Dialog Box SOFTWA
29. Windows Forms TextBox textBox1 private System Windows Forms TextBox textBox2 private System Windows Forms Button button private System Windows Forms Label label1 private System Windows Forms Label label2 private System Windows Forms Button button2 private System Windows Forms Button button3 private System Windows Forms Panel panel private System Windows Forms Menultem menultem29 private System Windows Forms PictureBox pictureBox2 private System Windows Forms PictureBox pictureBox3 private System Windows Forms Menultem menultem30 private System Windows Forms Menultem menultem3 1 private System Windows Forms Menultem menultem32 private System Windows Forms Timer timer private System Windows Forms Menultem menultem33 private System Windows Forms StatusBar statusBar1 private System Windows Forms StatusBarPanel UserPanel private System Windows Forms StatusBarPanel statusBarPanel1 private System ComponentModel IContainer components public void menudisable menultem1 Enabled false menultem2 Enabled false menultem3 Enabled false menultem4 Enabled false menultem5 Enabled false menultem6 Enabled false menultem7 Enabled false menultem8 Enabled false menultem9 Enabled false menultem10 Enabled false menultem11 Enabled false menultem12 Enabled false menultem13 Enabled false menultem14 Enabled false menultem15 Enabled false menultem16 Enabled false menultem17 Enabled
30. assigned by your network s DHCP server o Static IP The access point uses a static IP address that you enter in the IP address field IP Address Use this setting to assign or change the access point s IP address If DHCP is enabled for your network leave this field blank IP Subnet Mask Enter the IP subnet mask provided by your network administrator so the IP address can be recognised on the LAN If DHCP is enabled leave this field blank Default Gateway Enter the default gateway IP address provided by your network administrator If DHCP is enabled leave this field blank Radio Service Set ID SSID Enter the case sensitive SSID 32 alphanumeric characters maximum provided by your network administrator The SSID is a unique identifier that client devices use to associate with the access point Broadcast SSID in Beacon Use this setting to allow devices that do not specify an SSID to associate with the access point o Yes This is the default setting it allows devices that do not specify an SSID to associate with the access point o No Devices must specify an SSID to associate with the access point With No selected the SSID used by the client devices must match exactly the access point s SSID Role in Radio Network Click the box for each radio interface that describes the role of the access point on your network o Access Point Default click this box if the unit also called root access point is connected to a
31. button8 Enabled false button3 Enabled false button4 Enabled false private void buttonl Click object sender System EventArgs e textBox3 Enabled false textBox4 Enabled false button7 Enabled true button5 Enabled true navigationenable button6 Enabled true double d 0 try d Convert ToDouble textBox4 Text string itemid textBox1 Text string name textBox2 Text string description textBox3 Text string price textBox4 Text string imgURL textBox5 Text if timgURL Equals amp amp File Exists textBox5 Text imgURL textBox5 Text else imgURL Application StartupPath default bmp FileStream aStream new FileStream imgURL FileMode OpenOrCreate File Access Read byte aByteArray new byte aStream Length aStream Read aByteArray 0 System Convert ToInt32 aStream Length aStream Close double pricex Convert ToDouble price string strSQL insert into Entrees ID Name Description Price Picture values itemid name description pricex Picture OleDbConnection x new DBConnection getOLDBConnection OleDbCommand myCmd new OleDbCommand strSQL x OleDbParameter aPara new OleDbParameter Picture OleDbType Binary aPara Value aByteArray myCmd Parameters Add aPara try x Open0 97 myCmd ExecuteNonQuery catch Exception ez finally
32. value qty1 of qty2 function RefreshList navigate TableSummary php function SubmitTable if document TableSummary TableNo value gt 0 document TableSummary action OrderSummary php document TableSummary submit function SubmitOrder document OrderSummary action TableSummary php document OrderSummary submit 64 FIWOS Cascade Style Sheet Description and Function This file defines all of the text styling attributes that the FIWOS Application uses This performs several functions relating to the look and feel of the application as well as all of the colours that it uses File Details Name Type Size Fiwos css HTML Style 7 KB Sheet Source Code center text align center Heading1 color 000000 font family arial font weight bold text align center font size 130 Heading2 color 0000FF font family arial font weight bold text align center font size 100 Bodyl color 000000 font family arial text align center font size 100 Entrees color 000000 font family arial font weight bold text align center background color 7FFF00 Mains color 000000 font family arial font weight bold text align center background color FF7F50 65 Desserts Drinks Notice color 000000 font family arial font weight bold text align center background
33. wired LAN o Repeater Click this box if the unit also called repeater non root is not connected to the wired LAN and supports wireless clients o Root Bridge Specifies that the unit is operating as a root bridge and connects directly to the main Ethernet LAN network In this mode the unit accepts an association from another Cisco Aironet non root bridge o Non root Bridge Specifies that the unit is operating as a non root bridge and connects to a remote LAN network and must associate with a Cisco Aironet root bridge using the wireless interface o Workgroup Bridge Check this box if your unit workgroup bridge is not connected to the wired LAN and supports wired clients e Scanner This setting is enabled when your product is being used by the Cisco WLSE to monitor wireless data traffic e Optimize Radio Network Use this setting for each radio interface to select either preconfigured settings for the access point radio or customised settings for the access point radio o Throughput Maximises the data volume handled by the access point but might reduce its range o Range Maximises the access point s range but might reduce throughput o Custom The access point uses settings you enter on the Network Interfaces Radio 802 11b Settings page Clicking Custom takes you to the Network Interfaces Radio 802 11b Settings page e Aironet Extensions Enable this setting for each radio interface if there are o
34. x ds new DataSet adapter Fill ds Tables textBox1 DataBindings Add Text ds Tables TableNo textBox2 DataBindings Add Text ds Tables Capacity textBox3 DataBindings Add Text ds Tables Status public void LoadtableID int x 0 string id string strDSN System Configuration ConfigurationSettings AppSettings DataSource ToString Provider Microsoft Jet OLEDB 4 0 Data Source C fiwos fiwos mdb string strSQL Select TableNo From Tables OleDbConnection cn new OleDbConnection strDSN cn Open OleDbCommand cmd new OleDbCommand strSQL cn OleDbDataReader reader cmd ExecuteReader while reader Read cece gt id reader TableNo ToString if id Eguals Il id Equals null 107 id 0 x Convert ToInt32 id ToString X textBox1 Text x reader Close cn Close region Windows Form Designer generated code lt summary gt Required method for Designer support do not modify the contents of this method with the code editor lt summary gt private void InitializeComponent this components new System ComponentModel Container System Resources ResourceManager resources new System Resources ResourceManager typeof frmtables this button 12 new System Windows Forms Button this button11 new System Windows Forms Button this button
35. x amp amp t amp dh Exit MainReport Main course Name 39 Ezisting Menu Gives a formatted report which includes Entrees Main Course and desserts This report can be used as the Menu of the restaurant Entrees Gives a report of all Entrees Main Course Gives a report of all Main Course meals Drinks Gives a report of all Drinks Desserts Gives a report of all Desserts Tables Gives a report of all Tables Orders Summary By Order Id This report will give a summary of all sales grouped be order id By Table No This report will give a summary of all orders grouped by table no Report Buttons To navigate through pages x To restore the report amp Print the report 40 Save the report in acrobat reader format pdf To Zoom in and out To search words in reports Help Tables Reports Help Help Gives the Help and Support for this system About Software information will display in this window 41 8 Program Structure The FIWOS application is made up of several files each of which performing a particular function within the application These files are grouped into three categories the main directory and the sub directories Components and Database The program files are grouped into these categories using the following directory structure Main Directory The following is a list of reguired files and their r
36. 5 Index 6 this menultem15 Menultems AddRange new System Windows Forms Menultem this menultem25 this menultem 16 this menultem 17 this menultem18 this menultem19 this menultem20 this menultem21 this menultem15 Text Reports this menultem 15 Click new System EventHandler this menultem15 Click menultem25 this menultem25 Index 0 this menultem25 Text Full Menu this menultem25 Click new System EventHandler this menultem25_Click menultem16 this menultem 16 Index 1 this menultem16 Text Entrees 77 this menultem16 Click 4 new System EventHandler this menultem16 Click menultem17 this menultem17 Index 2 this menultem 17 Text Main Course this menultem 17 Click new System EventHandler this menultem17_Click menultem18 this menultem18 Index 3 this menultem18 Text Drinks this menultem 1 8 Click new System EventHandler this menultem18_Click menultem19 this menultem19 Index 4 this menultem 19 Text Desserts this menultem19 Click new System EventHandler this menultem19 Click 1 menultem20 1 this menultem20 Index 5 this menultem20 Text Tables this menultem20 Click new System EventHandler this menultem20 Click menultem21 this menultem21 Index 6 this menultem21 Menultems AddRange new System Windows Forms
37. Add this statusBar 1 this Controls Add this panel 1 81 this FormBorderStyle System Windows Forms FormBorderStyle FixedSingle this Icon System Drawing Icon resources GetObject Sthis Icon this IsMdiContainer true this Menu this mainMenu1 this Name SplashScreen this StartPosition System Windows Forms FormStartPosition CenterScreen this Text Main this Load new System EventHandler this SplashScreen_Load this panell ResumeLayout false System ComponentModel ISupportInitialize this UserPanel Endinit System ComponentModel ISupportInitialize this statusBarPanel1 EndInitQ this ResumeLayout false endregion lt summary gt The main entry point for the application lt summary gt STAThread static void Main Application Run new SplashScreen private void buttonl Click object sender System EventArgs e private void menultem2_Click object sender System EventArgs e this Close private void button2_Click object sender System EventArgs e private void menultem5_Click object sender System EventArgs e ShowForm new Entrees private void menultem4_Click object sender System EventArgs e ShowForm new ViewEntr private void menultem9_Click object sender System EventArgs e ShowForm new frmdrinks private void menultem11_Click object sender System EventArgs e ShowForm new frmdesserts priv
38. Appendix B FIWOS System Installation Procedure Source Codes and User Manual 1 Back End Application Installation Follow the steps to install the application open setup msi H Fiwos Bow Welcome to the Fiwos Setup Wizard Sy The installer will guide you through the steps required to install Fiwos on your computer WARNING This computer program is protected by copyright law and international treaties Unauthorized duplication or distribution of this program or any portion of it may result in severe civil or criminal penalties and will be prosecuted to the maximum extent possible under the law If you use default settings of the system create a folder called fiwos in C drive and copy the database called Fiwos mdb into that folder If the database is in different location You must set the database path of the application Go to the folder where the application is stored By default path will be C Program Files SystemProject Fiwos Open the Fountain exe config file using Notepad application and set the data source path to new database location lt add key DataSource value Provider Microsoft Jet OLEDB 4 0 DataSource c fiwos Fiwos mdb 5 And save the Fountaion exe config file and run the program Default Login settings Username admin Password password Make sure to change the password for the admin user Username admin will not be deleted The data in the da
39. Console WriteLine gt gt gt gt gt gt gt gt gt gt ez ToString x Close LoadItemIDQ entryclear button1 Enabled true button7 Enabled true loaddata catch Exception f MessageBox Show Invalid Data textBox3 Enabled false textBox4 Enabled false navigationdisable button1 Enabled true button3 Enabled false button4 Enabled false button7 Enabled true button2 Enabled true textBox2 Text null textBox3 Text null textBox4 Text null textBox5 Text null LoadItemID button6 Enabled false private void button2_Click object sender System EventArgs e openFileDialog1 ShowDialog if openFileDialog1 ShowDialog DialogResult OK textBox5 Text openFileDialog FileName private void button5_Click object sender System EventArgs e new ViewEntr ShowDialog private void button6_Click object sender System EventArgs e textBox3 Enabled false textBox4 Enabled false navigationdisable button Enabled true button3 Enabled false button4 Enabled false button7 Enabled true 98 button2 Enabled true textBox2 Text null textBox3 Text null textBox4 Text null textBox5 Text null LoadItemID button6 Enabled false private void button3_Click object sender System EventArgs e button7 Enabled true button6 Enabled true string name textBox2 Text string description textBox3 Text s
40. ELECT Status TableNo FROM Tables Where TableNo dbtableno if strcasecmp dbstatus gt fields 0 Vacant 0 4 AccessDB UPDATE Tables SET Status Occupied WHERE TableNo dbtableno AccessDB INSERT INTO Orders Status OrderDate TableNo Total VALUES Open dbdate dbtableno order gt total dboldtotal 0 else dbtotalresult AccessDB SELECT Total Status TableNo FROM Orders WHERE Status Open AND TableNo dbtableno dboldtotal dbtotalresult gt fields 0 AccessDB UPDATE Orders SET Total dboldtotal order gt total WHERE Status Open AND TableNo dbtableno dbid AccessDB SELECT OrderlD Status TableNo FROM Orders WHERE Status Open AND TableNo dbtableno printitems array printqty array printcount 1 foreach order gt get_contents as item dbname item name dbprice item price dbqty item qty 43 dbsubtotal item subtotal dbresult dbid gt fields 0 AccessDB INSERT INTO OrderDetails OrderID Name Price Qty SubTotal VALUES dbresult dbname dbprice dbqty Sdbsubtotal printitems printcount dbname printqty Sprintcount dbqty printcount PrintOrder Kitchen dbtableno printitems printqty session_unset session_destroy if isset
41. FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this label1 Location new System Drawing Point 16 56 this label1 Name label1 this label1 Tablndex 4 79 this labell Tezt Password label2 this label2 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this label2 Location new System Drawing Point 16 16 this label2 Name label2 this label2 TabIndex 5 this label2 Text Username button2 this button2 BackColor System Drawing Color SlateGray this button2 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button2 ForeColor System Drawing SystemColors ControlLightLight this button2 Location new System Drawing Point 18 144 this button2 Name button2 this button2 TabIndex 2 this button2 Text Login this button2 Click new System EventHandler this button2_Click_1 button3 this button3 BackColor System Drawing Color SlateGray this button3 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button3 ForeColor System Drawing SystemColors Control this button3 Location new System D
42. Location new System Drawing Point 72 200 this pictureBox3 Name pictureBox3 this pictureBox3 Size new System Drawing Size 144 72 this pictureBox3 TabIndex 9 this pictureBox3 TabStop false pictureBox2 this pictureBox2 BackgroundImage System Drawing Image resources GetObject pictureBox2 BackgroundImage this pictureBox2 Location new System Drawing Point 248 0 this pictureBox2 Name pictureBox2 this pictureBox2 Size new System Drawing Size 192 288 this pictureBox2 TabIndex 8 this pictureBox2 TabStop false timerl this timerl Enabled true this timer1 Interval 1000 this timerl Tick new System EventHandler this timerl Tick 1 Il statusBarl Il this statusBarl Location new System Drawing Point 0 516 this statusBarl Name statusBar1 this statusBarl Panels AddRange new System Windows Forms StatusBarPanel this UserPanel this statusBarPanel 1 this statusBar1 Size new System Drawing Size 806 22 this statusBar1 TabIndex 16 UserPanel this UserPanel Text user statusBarPanel 1 this statusBarPanel1 Text statusBarPanel1 SplashScreen this AcceptButton this button2 this AutoScaleBaseSize new System Drawing Size 5 13 this BackColor System Drawing Color DarkGray this ClientSize new System Drawing Size 806 538 this Controls
43. Menultem this menultem31 this menultem32 this menultem21 Text Orders Summary menultem3 1 this menultem3 1 Index 0 this menultem31 Text By Order Id this menultem31 Click new System EventHandler this menultem3 1_Click menultem32 this menultem32 Index 1 this menultem32 Text By Table No this menultem32 Click new System EventHandler this menultem32 Click menultem33 this menultem33 Index 7 this menultem33 MdiList true this menultem33 Text Windows this menultem33 Click new System EventHandler this menultem33_Click menultem13 this menultem 13 Index 8 this menultem 13 Menultems AddRange new System W indows Forms Menultem this menultem 14 this menultem26 78 this menultem13 Text Help this menultem 1 3 Click new System EventHandler this menultem13_Click menultem14 this menultem14 Index 0 this menultem14 Text Help this menultem 14 Click new System EventHandler this menultem14 Click 1 menultem26 this menultem26 Index 1 this menultem26 Text About this menultem26 Click new System EventHandler this menultem26_Click textBox1 this textBox1 Font new System Drawing Font Microsoft Sans Serif 12F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this textBo
44. Nodelterator iterator nav Select expr try while iterator MoveNext XPathNavigator nav2 iterator Current Clone temp nav2 Value 0 catch Exception ex return temp Console WriteLine ex Message public string getUserDetails XPathDocument doc new XPathDocument C fiwos A ppConfig config xml XPathNavigator nav doc CreateNavigator XPathExpression expr 69 expr nav Compile Config DB MAX string temp XPathNodelterator iterator nav Select expr try while iterator MoveNext XPathNavigator nav2 iterator Current Clone temp nav2 Value 0 catch Exception ex Console WriteLine ex Message return temp O Forml cs Application Entrees MainCourse Desserts Drinks Tables Reports Windows Help mainMenul timer using System using System Drawing using System Collections using System ComponentModel using System Windows Forms using System Data using System Timers using System Security Cryptography using System IO using System Text using System Data OleDb using System Configuration using System Xml using System Configuration using CrystalDecisions CrystalReports Engine namespace WindowsApplication5 lt summary gt Summary description for Form1 lt summary gt public class SplashScreen System Windows Forms Form DataSet ds null private System Window
45. RE By pressing Yes you agree to be legally bound by tke terms of this EULA Ifyou do not agree to the terms of this EULA you obtain no license to the SOFTWARE In such case you may not use the SOFTWARE Terms and Conditions J Do you accept all the terms of the preceding License Agreement If you select No the setup will close To install Brother MFL Pro Suite you must accept this agreement 19 The installation of the Brother drivers will automatically start 28 20 If the machine is configured for your network choose the machine from the list and then click Next Brother MFL Pro Suite Installation Choose the Brother machine you want to install NC 6200h Configure IP Address Refresh lt Back Next gt Cancel 21 If the machine is not yet configured for use on your network the following screen appears Click OK The Configure IP Address windows will appear Enter the proper IP address information for your network by following the on screen instructions Brother MFL Pro Suite x Find Unconfig red Device Configure IP Address Brother MFL Pro Suite Installation On Line Registration Select the company you would like to register with and click the Nest button To register your device select Brother to register the ScanSoft PaperPort software select ScanSoft If you prefer not to egister at this time click Next Erother Registration ScanSoft Reg
46. Required for Windows Form Designer support InitializeComponent TODO Add any constructor code after InitializeComponent call lt summary gt Clean up any resources being used lt summary gt protected override void Dispose bool disposing if disposing 103 if components null components Dispose base Dispose disposing region Windows Form Designer generated code lt summary gt Required method for Designer support do not modify the contents of this method with the code editor lt summary gt private void InitializeComponent System Resources ResourceManager resources new System Resources ResourceManager typeof frmviewdesserts this dataGrid new System Windows Forms DataGrid this button1 new System Windows Forms Button System ComponentModel ISupportInitialize this dataGrid 1 BeginInit this SuspendLayout this dataGrid1 AllowDrop true this dataGrid1 Anchor System Windows Forms AnchorStyles System Windows Forms AnchorStyles Top System Windows Forms AnchorStyles Bottom System Windows Forms AnchorStyles Left System Windows Forms AnchorStyles Right this dataGrid1 BackgroundColor System Drawing Color Silver this dataGrid1 BorderStyle System Windows Forms BorderStyle None this dataGrid1 DataMember this dataGrid1 HeaderForeColor System Drawing SystemColors ControlText this dataGrid1 Locat
47. _POST CloseTable amp amp _POST CloseTable Yes Access DB Retrieve all orders with table matching _POST CloseTable Loop all records into array Include TableNo Item Qty SubPrice TotalPrice Footer to include GrandTotal state GST if needed dbdate date d m Y closetable _POST TableNo AccessDB UPDATE Orders SET Status Closed WHERE TableNo closetable AND OrderDate Sdbdate AccessDB UPDATE Tables SET Status Vacant WHERE TableNo closetable echo lt div class center gt echo lt div class Heading1 gt Table Summary lt div gt echo lt form name TableSummary method post action OrderSummary php gt n echo lt table width 240 border 1 gt n echo lt tr gt wm y echo lt td rowspan 3 class center gt n echo lt select name TableNo size 16 gt n for x 1 x lt RecordCount Fiwos Tables x status AccessDB SELECT Status TableNo FROM Tables WHERE TableNo x echo lt option value x STable x status gt fields 0 lt option gt n echo lt select gt n echo lt td gt m echo lt input type hidden name CloseTable value
48. a this BindingContext this ds Entrees Position this BindingContext this ds Entrees Position 1 string t textBox5 Text Replace W pictureBox1 Image new Bitmap t private void button9_Click object sender System EventArgs e this BindingContext this ds Entrees Position this BindingContext this ds Entrees Position 1 Byte byteBLOBData new Byte 0 byteBLOBData Byte ds Tables 0 Rows this BindingContext this ds Entrees Position Picture if byteBLOBData Length gt 0 MemoryStream stmBLOBData new MemoryStream byteBLOBData pictureBox 1 Image Image FromStream stmBLOBData private void buttonl0 Click 1 object sender System EventArgs e this BindingContext this ds Entrees Position this BindingContext this ds Entrees Position 1 Byte byteBLOBData new Byte 0 byteBLOBData Byte ds Tables 0 Rows this BindingContext this ds Entrees Position Picture if byteB LOBData Length gt 0 MemoryStream byteBLOBData MemoryStream stmBLOBData new pictureBox Image Image FromStream stmBLOB Data private void button8_Click object sender System EventArgs e this BindingContext this ds Entrees Position 0 string t textBox5 Text Replace W Byte byteBLOBData new Byte 0 byteBLOBData Byte ds Tables 0 Rows this BindingContext this ds Entrees Posit
49. al 2 lt br gt HtmlFooter 46 2 gt 47 Add Meals Description and Function This page displays all of the food items available for order from the current restaurant menu This file initiates the DisplayScript function from within the included file Scripts php to access the FIWOS database and display all of the available items File Details Name Type Size AddMeals php PHP 1KB Source Code lt php include Components Database php include Components Scripts php HtmlHeader Add Meals idcount 1 menuitems array menuitems 1 Entrees menuitems 2 Mains menuitems 3 Desserts DisplayScript Add Meals curtable menuitems AddMeals idcount HtmlFooter gt Add Drinks Description and Function Similar to the AddMeals php file the AddDrinks php file relies mostly on the DisplayScript function from within the Scripts php file to retrieve format and display all of the Drinks records from within the database File Details Name Type Size AddDrinks php PHP 1 KB Source Code lt php include Components Database php include Components Scripts php HtmlHeader Add Drinks idcount RecordCount Fiwos Entrees RecordCount Fiwos Mains RecordCount Fiwo
50. andler this menultem30 Click menultem3 this menultem3 Index 1 this menultem3 Menultems AddRange new System Windows Forms Menultem this menultem4 this menultem5 this menultem3 Text Entrees menultem4 this menultem4 Index 0 75 this menultem4 Text View this menultem4 Click new System EventHandler this menultem4 Click menultems this menultem5 Index 1 this menultem5 Text Add Edit Delete this menultem Click new System EventHandler this menultem5_Click menultem22 this menultem22 Index 2 this menultem22 Menultems AddRange new System Windows Forms Menultem this menultem23 this menultem24 this menultem22 Text Main Course menultem23 this menultem23 Index 0 this menultem23 Text View this menultem23 Click new System EventHandler this menultem23 Click menultem24 this menultem24 Index 1 this menultem24 Text Add Edit Delete this menultem24 Click new System EventHandler this menultem24 Click menultem7 ji this menultem7 Index 3 this menultem7 Menultems AddRange new System Windows Forms Menultem this menultem10 this menultem1 1 this menultem7 Text Desserts J menultem10 this menultem 10 Index 0 this menultem10 Text View this menultem10 Click new System EventHandler th
51. ate void menultem14 Click object sender System EventArgs e private void menultem13_Click object sender System EventArgs e Help ShowHelp this C fiwos chm Fountain chm private void SplashScreen_Load object sender System EventArgs e button3 Enabled false System DateTime currentDate System DateTime Now 82 this Text currentDate ToLongDateString menudisable Co void crystalReportViewerl_Load object sender System EventArgs e private void menultem12_Click object sender System EventArgs e private void menultem19_Click object sender System EventArgs e i new Form4 Show ShowReport new ViewDesserts Desserts es void menultem18_Click object sender System EventArgs e i new frmdrinksview Show ShowReport new reportdrinks Drinks P void menultem16 Click object sender System EventArgs e i ShowReport new ViewEntrees Entrees wa void menultem8 Click object sender System EventArgs e i ShowForm new ViewDrinks P void menultem23 Click object sender System EventArgs e i ShowForm new ViewMain a void menultem10_Click object sender System EventArgs e ShowForm new frmviewdesserts es void menultem27_Click object sender System EventArgs e ShowForm new frmviewtables ets void menultem17_Click object sender System EventArgs e ShowReport new ViewMaincourse Main Course wa void menultem20 Click object sender System EventA
52. bject sender System EventArgs e button7 Enabled false textBox3 Enabled true private void button12 Click object sender System EventArgs e private void textBox1 TextChanged object sender System EventArgs e private void comboBox1_SelectedIndexChanged object sender System EventArgs e this Dispose true 101 private void textBox3_TextChanged object sender System EventArgs e textBox4 Enabled true private void textBox4_LostFocus object sender System EventArgs e try catch Exception f double d Convert ToDouble textBox4 Text MessageBox Show Please enter valid price private void button13_Click object sender System EventArgs e loaddata button6 Enabled true 102 Frmviewdesserts cs using System E F View Desserts Ja using System Drawing using System Collections using System Component Model using System Windows Forms using System Data OleDb using System Data namespace WindowsApplicationS lt summary gt Summary description for Form6 lt summary gt public class frmviewdesserts System Windows Forms Form private System Windows Forms DataGrid dataGrid1 private System Windows Forms Button button lt summary gt Required designer variable lt summary gt private System ComponentModel Container components null public frmviewdesserts
53. broadcast the SSID client devices cannot associate to the bridge unless their SSID matches this SSID Only one SSID can be included in the bridge beacon Step 3 Optional Check the Enable VLAN ID check box and enter a VLAN number through 4095 to assign the SSID to a VLAN You cannot assign an SSID to an existing VLAN Step 4 Optional Check the Native VLAN check box to mark the VLAN as the native VLAN Step 5 Select the security setting for the SSID The settings are listed in order of robustness from No Security to WPA which is the most secure setting If you select Static WEP Key choose the key number and encryption key size and enter the encryption key 10 hexadecimal characters for 40 bit keys or 26 hexadecimal characters for 128 bit keys If you select EAP Authentication or WPA enter the IP address and shared secret for the authentication server on your network Step 6 Click Apply The SSID appears in the SSID table at the bottom of the page 12 4 PDA Configuration for the Front end Step 1 Switch on the PDA Step 2 Go to the start and click to settings as shown below Step 3 It shows 8 different functions and we need to click connections Step 4 There is 6 different functions of connecting to wireless and we are going to use Dell WLAN Utility as shown below 13 Step 5 It shows that WLAN Utility there is two different boxes Click on top one is using connect to enable mode to wi
54. color FFD700 color 000000 font family arial font weight bold text align center background color 6495ED color OOOOFF font family arial font weight bold text align center 66 9 Back End Application Program code C NET 2003 Form Structure Solution Explorer WindowsAp A X pei Solution WindowsApplication5 2 a EH WindowsApplication5 3 References B app config E AssemblyInfo cs Byorderid rpt Bytableno rpt CrystalReport2 rpt 5 DBConnection cs Entrees cs Form cs Form5 cs frmdesserts cs frmdrinks cs frmmains cs frmReportViewer cs frmtables cs frmviewdesserts cs frmviewtables cs FuliMenu rpt Icon2 ico Icon3 ico reportdrinks rpt ViewDesserts rpt YiewDrinks cs ViewEntr cs ViewEntrees rpt ViewMain cs YiewMaincourse rpt YiewMenu rpt ViewTable rpt a IE seto ll s M PA App config lt xml version 1 0 encoding utf 8 gt lt configuration gt lt appSettings gt lt User application and configured property settings go here gt lt Example lt add key settingName value setting Value 5 gt lt add key crystalReportViewerl AutoScroll value True gt lt add key crystalReport Viewer DisplayToolbar value True gt lt add key textBox2 AcceptsReturn value False gt lt add key userName value admin gt lt add key password value OxRHOwS7FkTmWPSImFloRA gt lt add key
55. d button6 Click object sender System EventArgs e textBox2 Text null LoadtableIDQ private void button3_Click object sender System EventArgs e string avail textBox3 Text Console WriteLine textBox2 Text Console WriteLine textBox3 Text Console WriteLine textBox4 Text Console WriteLine textBox5 Text Console WriteLine comboBox1 Text int id int Convert ToInt32 textBox1 Text int seatsx int Convert ToInt32 textBox2 Text string strSQL Update Tables SET TableNo id Capacity seatsx Status avail Where TableNo id OleDbConnection x new DBConnection getOLDBConnection OleDbCommand myCmd new OleDbCommand strSQL x try x Open myCmd ExecuteNonQuery catch Exception ez finally Console WriteLine gt gt gt gt gt gt gt gt gt gt ez ToString x Close loadtables private void button4_Click object sender System EventArgs e int itemid int Convert ToInt32 textBox1 Text OleDbConnection x new DBConnection getOLDBConnection string strSQL delete from Tables Where TableNo itemid OleDbConnection delt new DBConnection getOLDBConnection OleDbCommand myCmd new OleDbCommand strSQL delt try delt Open myCmd ExecuteNonQuery catch Exception ez finally Console WriteLine gt gt gt gt gt gt gt gt gt gt
56. eadonly size 15 class name name item id value echo lt td gt n echo lt td halign center gt echo lt input type text readonly size 2 class value item qty 5 echo lt td gt n echo lt td halign center gt Stl item name t2 item type t3 item qty Stestl MU test2 t2 test3 BI echo lt input type button name Edit item id onclick SubmitEditItem test1 Stest2 test3 value Edit gt n echo lt td gt n echo lt form method post action OrderSummary php gt echo lt td halign center gt echo lt input type hidden name id value item id gt include Components VarHandlerPost php echo lt input type submit name del value Del gt echo lt td gt include Components VarHandlerPost php echo lt form gt echo lt tr gt echo lt table gt n n ee 266 item type name qty item id echo Total number_ format order gt total 2 else 1 echo lt br gt lt div class Body1 gt No Items in Current O
57. elative directory for the FIWOS application Filename Type Directory TableSummary php PHP Script Main Directory OrderSummary php PHP Script Main Directory AddMeals php PHP Script Main Directory AddDrinks php PHP Script Main Directory EditItem php PHP Script Main Directory Database php PHP Script Components EditOrder php PHP Script Components Scripts php PHP Script Components PrintTest php PHP Script Components VarHandlerPost php PHP Script Components VarHandlerGet php PHP Script Components Fiwos js JavaScript Components Fiwos css Cascade Style Sheet Components Fiwos mdb Access Database Database 42 Table Summary Description and Function The Table Summary file displays a list of all available tables within the restaurant Each one of these tables are read from the Fiwos database and marked as either Occupied or Vacant From here the user can select a table to alter and will be taken to the Order Summary page File Details Name Type Size TableSummary php PHP 4 KB Source Code lt php include Components EditOrder php include Components Database php include Components Scripts php HtmlHeader Table Summary if isset 5S POST TableNo ss order gt itemcount gt 0 dbdate date d m Y dbtableno _POST TableNo dbstatus AccessDB S
58. em Drawing GraphicsUnit Point System Byte 0 this button6 Location new System Drawing Point 376 200 109 this button6 Name button6 this button6 TabIndex 40 this button6 Text Clear this toolTip1 SetToolTip this button6 Clear Text fields this button6 Click new System EventHandler this button6_Click_1 button5 this button5 BackColor System Drawing Color Beige this button5 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button5 Location new System Drawing Point 376 232 this button5 Name button5 this button5 TabIndex 39 this button5 Text View this toolTip1 SetToolTip this button5 Qiuck View this button5 Click new System EventHandler this button5 Click 1 button4 this button4 BackColor System Drawing Color Beige this button4 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button4 Location new System Drawing Point 288 232 this button4 Name button4 this button4 TabIndex 38 this button4 Text Delete this toolTipl SetToolTip this button4 Delete Selected Table this button4 Click new System EventHandler this button4_Click button3 this button3 BackCo
59. entDate System DateTime Now statusBar1 Text User textBox2 Text t Login Time currentDate ToString dd MM yyyy HH mm ss else textBox1 Text MessageBox Show Invalid login Pleas try again private void menultem1_Click object sender System EventArgs e private void menultem29_Click object sender System EventArgs e foreach Form aForm in this MdiChildren aForm Close 85 panell Visible true menudisable button 1 Fnabled false button3 Enabled false textBox 1 Text null textBox2 Text null private void menultem30_Click object sender System EventArgs e panell Visible true button3 Enabled true button2 Enabled false button1 Enabled false textBox1 Text null textBox2 Text null private void ShowReport ReportDocument inReport string inReportName inReport Database Tables CrystalDecisions Shared TableLogOnInfo aCryTableinfo foreach CrystalDecisions CrystalReports Engine Table aCryTable in aCryTableinfo aCryTable LogOnInfo aCryTableinfo ConnectionInfo ServerName ConfigurationSettings AppSettings DataSource ToString aCryTableinfo ConnectionInfo UserID eee aCryTableinfo ConnectionInfo Password 3 aCryTable ApplyLogOnInfo aCryTableinfo Form aForm new frmReportViewer inReport inReportName aForm MdiParent this aForm Show
60. er CommandBehavior SingleRow DBConnection aDBClass new DBConnection if aReader HasRows flag 1 strSQL INSERT INTO Users UserName UserPassword VALUES textBox2 Text aDBClass Encrypt textBox1 Text else flag 2 strSQL UPDATE Users SET UserPassword aDBClass Encrypt textBox1 Text WHERE UserName textBox2 Text aReader Close x Close aConnection aDBClass getOLDBConnection aCommand new OleDbCommand strSQL aConnection aConnection Open int 1 aCommand ExecuteNonQuery if flag Equals T MessageBox Show User Add successfull 84 else MessageBox Show Password change successfull catch Exception ez System Diagnostics Debug Write ez Message finally aConnection Close if aCommand null aCommand Dispose if aReader null aReader Close aReader null button1 Enabled true button2 Enabled true button3 Enabled false textBox1 Text null textBox2 Text null private void textBox1 TextChanged object sender System EventArgs e private void textBox2_TextChanged object sender System EventArgs e private void button2 Click 1 object sender System EventArgs e if doLogin panell Visible false menuenable IMessageBox Show Welcome t textBox2 Text System DateTime curr
61. ernet Information Services console 7 The Internet Information Services console can be found in the Administration Tools in the Control Panel under Performance and Maintenance if you do not have the control panel in Classic View 8 Double click on the Internet Information Services icon o 43 Administrative Tools Jo File Edit View Favorites 1 Q Back gt 3 i Address 40 Administrative Tools Go gt gr Component Internet Computer Services Information Management Services iv lt mM gt 3 My Computer Once the Internet Information Services console is open you will see any IIS web services you have running on your machine including the SMTP server and FTP server if you chose to install them with IIS To add a new virtual directory right click on Default Web Site and select New followed by Virtual Directory from the drop down list B Internet Information Services Co KG Fie Action View Help 2 2 Internet Information Services 8 AMD local computer Cg tsweb C WINDOWS en Web Sites Ga ti bin C Program Fil E sf Default Web Site maba D Internet_S e Default SMTP Virtual Explore D Internet_S Open D Internet_S Browse D Internet_S D Internet_S Stop D Internet_S Pause D Internet_S Di nternet 5 New Virtual Directory Vnternet 5 All Tasks D lInternet S
62. etOLDBConnection OleDbConnection myConn new OleDbConnection ConfigurationSettings AppSettings DataSource ToString return myConn public void updateuser string un string pw try string filename C fiwos AppConfig unpw xml XmlDocument xmlDoc new XmlDocument 68 try catch System IO FileNotFoundException xmlDoc Load filename XmITextWriter xmlWriter new XmlTextWriter filename System Text Encoding UTF8 xmlWriter Formatting Formatting Indented xmlWriter WriteProcessingInstruction xml version 1 0 encoding UTF 8 xmlWriter WriteStartElement Config xmlWriter CloseQ xmlDoc Load filename XmINode root xmlDoc DocumentElement XmlElement childNode xmIDoc CreateElement MAX XmlElement FullNameNode xmlDoc CreateElement PW XmlElement UserNameNode xmlDoc CreateElement UN XmIText textNodel xmlDoc CreateTextNode un XmIText textNode2 xmIDoc CreateTextNode pw root AppendChild childNode childNode AppendChild FullNameNode childNode AppendChild UserNameNode xmlDoc Save filename catch Exception ex Console WriteLine ex ToString public string getConString XPathDocument doc new XPathDocument C fiwos A ppConfig config xml XPathNavigator nav doc CreateNavigator XPathExpression expr expr nav Compile Config DB string temp XPath
63. etwork the following list appears If the list is blank check if the access point and the machine are powered on and then click Refresh Choose the machine you wish to configure and click Next Wireless Device Setup Wizard E Available Wireless Devices 9 More than one Wireless Device was found Select the device you wish to configure and click Next IP Address MAC Address Printer Name BRN lt 192 0 0 192 MIF BRN_XXXXXX 192 0 0 XX es ere W series Anywhere Refresh Important Notice If no devices appear and you te running a personal firewall Please disable the firewall and click the Refresh button to re search the wireless network Help lt Back Next gt Cancel 12 The wizard will search for wireless networks available from your machine If more than one wireless network is available the following list appears Choose the access point you wish to associate the machine with and then click Next 25 E Available Wireless Networks 4 CS Choose the access point or Ad hoc network that the Device will be associated with Name SSID Wireless Mode a tea MEN 1 802 1 1b g 11Mbps 54Mbps ami 6 802 11b 11Mbps UWA Access Point Rita Ad hoc Rest Base Station Network Add Ifthe access point or Ad hoc network name doesn t appear click the Add button to manually specify the network name Help lt Back Next 5 Cancel 13 If your network is not configured for Authentica
64. false menultem18 Enabled false menultem19 Enabled false menultem20 Enabled false menultem21 Enabled false menultem22 Enabled false menultem23 Enabled false menultem24 Enabled false menultem25 Enabled false menultem26 Enabled false menultem27 Enabled false menultem28 Enabled false menultem30 Enabled false public void menuenable menultem1 Enabled true menultem2 Enabled true menultem3 Enabled true menultem4 Enabled true menultem5 Enabled true menultem6 Enabled true menultem7 Enabled true menultem8 Enabled true menultem9 Enabled true menultem10 Enabled true menultem1 1 Enabled true menultem12 Enabled true menultem13 Enabled true menultem14 Enabled true menultem15 Enabled true menultem16 Enabled true menultem17 Enabled true menultem18 Enabled true menultem19 Enabled true menultem20 Enabled true menultem21 Enabled true menultem22 Enabled true menultem23 Enabled true menultem24 Enabled true menultem25 Enabled true menultem26 Enabled true menultem27 Enabled true menultem28 Enabled true menultem30 Enabled true public SplashScreen InitializeComponent TODO Add any constructor code after InitializeComponent call lt summary gt Clean up any resources being used lt summary gt protected override void Dispose bool disposing if disposing if components
65. ft Sans Serif 9 75F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this label3 ForeColor System Drawing SystemColors ActiveCaptionText this label3 Location new System Drawing Point 16 144 this label3 Name label3 this label3 Size new System Drawing Size 160 23 this label3 TabIndex 50 this label3 Text Availability button2 this button2 BackColor System Drawing Color Beige this button2 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 111 this button2 Location new System Drawing Point 160 272 this button2 Name button2 this button2 RightToLeft System Windows Forms RightToLeft Yes this button2 TabIndex 51 this button2 Text Cancel this toolTip1 SetToolTip this button2 Cancel changes this button2 Click new System EventHandler this button2_Click_1 label6 this label6 Font new System Drawing Font Microsoft Sans Serif 15F System Drawing FontStyle Regular System Drawing GraphicsUnit Point System Byte 0 this label6 Location new System Drawing Point 312 8 this label6 Name label6 this label6 Size new System Drawing Size 192 32 this label6 TabIndex 52 this label6 Text Tables frmtables this AutoScaleBaseSize new System Drawin
66. g Size 5 13 this BackColor System Drawing Color Silver this ClientSize new System Drawing Size 504 320 this Controls Add this label6 this Controls Add this button2 this Controls Add this label3 this Controls Add this textBox3 this Controls Add this textBox2 this Controls Add this textBox 1 this Controls Add this button 11 this Controls Add this button 10 this Controls Add this button9 this Controls Add this button8 this Controls Add this button7 this Controls Add this button6 this Controls Add this button5 this Controls Add this button4 this Controls Add this button3 this Controls Add this button 1 this Controls Add this label2 this Controls Add this label1 this Controls Add this button12 this Icon System Drawing Icon resources GetObject Sthis Icon this Name frmtables this Text Tables this Load new System EventHandler this Form6_Load this ResumeLayout false Dnis private void Form6_Load object sender System EventArgs e LoadtableIDQ en void button8_Click object sender System EventArgs e this BindingContext this ds Tables Position 0 private void button9_Click object sender System EventArgs e this BindingContext this ds Tables Position 112 values itemid this BindingContext this ds Tables Position 1 private void button10 Click object sender System EventArgs e th
67. he power jack for external power or the Ethernet cable for in line power from the access point Step 2 Press and hold the MODE button while you reconnect power to the access 2 to 3 seconds and release the button All access point settings return to factory defaults Using a Web browser Note Basic configuration on Wireless Access Point Wireless Access Point Name BOXHILL IP Address 10 0 0 5 Subnetmask 255 255 255 0 MAC Address 0005 9a38 42c0 Default Gateway 10 0 0 1 Step 1 Open your Internet browser Step 2 Enter the access point s IP address in the browser address line and press Enter An Enter Network Password window appears Step 3 Enter your username in the User Name field The default username is Cisco Step 4 Enter the access point password in the Password field and press Enter The default password is Cisco The Summary Status page appears Step 5 Click System Software and the System Software screen appear Step 6 Click System Configuration and the System Configuration screen appear Step 7 Click the Reset to Defaults button Cisco Systems TETTITITI TITI Cisco 1200 Access Point Hostname BOXHILL Association Clients 0 Rensaters 0 Netveork identity IP Address 10 0 0 5 MAC Address 0005 9238 42c0 Network Interfaces Interface MAC Address Transmission Rate Rrsstememet 0005 9238 42c0 100413 Radioc 802
68. hile reader Read id reader ID ToString if id Equals Il id Equals null id 0 x Convert Tolnt32 id ToString X textBox1 Text x reader Close cn Close region Windows Form Designer generated code lt summary gt Required method for Designer support do not modify the contents of this method with the code editor lt summary gt private void InitializeComponent this components new System ComponentModel Container System Configuration AppSettingsReader configurationAppSettings new System Configuration AppSettingsReader System Resources ResourceManager resources new System Resources ResourceManager typeof Entrees this textBox1 new System Windows Forms TextBox this textBox2 new System Windows Forms TextBox this textBox3 new System Windows Forms TextBox this textBox4 new System Windows Forms TextBox this textBox5 new System Windows Forms TextBox this labell new System Windows Forms Label this label2 new System Windows Forms Label this label3 new System Windows Forms Label this label4 new System Windows Forms Label this label5 new System Windows Forms Label this openFileDialog1 new System Windows Forms OpenFileDialog this button2 new System Windows Forms Button this pictureBox1 new System Windows Forms PictureBox this button8 new System Windows Forms Bu
69. hp include Components Database php include Components Scripts php HtmlHeader Order Summary if isset _POST amt amp amp POSTI amt gt 0 for i 1 i lt _POST amt i if isset _POST qty i amp amp _POST gty i gt 0 order gt add_item _POST id i _POST qty i _POST price i _POST name i _POST type i if isset _POST del rid intval POST id order gt del_item rid if isset POST clear Sorder 5empty order ec lt div class Heading1 gt Order Summary lt div gt ec lt div class Heading2 gt Table curtable lt div gt echo lt div align center gt lt form method post name OrderSummary action TableSummary php gt n echo lt input type hidden name EditName 5 echo lt input type hidden name EditType gt echo lt input type hidden name EditQty gt if order gt itemcount gt 0 foreach order gt get_contents as item echo lt table border 0 gt echo lt tr gt ny echo lt td halign center gt ho ho 45 cec 266 item type NGA item name 5 echo lt input type text r
70. indows Forms Menultem this menultem27 new System Windows Forms Menultem this menultem28 new System Windows Forms Menultem this menultem 15 new System Windows Forms Menultem this menultem25 new System Windows Forms Menultem this menultem 16 new System Windows Forms Menultem this menultem 17 new System Windows Forms Menultem this menultem 18 new System Windows Forms Menultem this menultem 19 new System Windows Forms Menultem this menultem20 new System Windows Forms Menultem this menultem21 new System Windows Forms Menultem this menultem31 new System Windows Forms Menultem this menultem32 new System Windows Forms Menultem this menultem33 new System Windows Forms Menultem this menultem13 new System Windows Forms Menultem this menultem14 new System Windows Forms Menultem this menultem26 new System Windows Forms Menultem this textBox1 new System Windows Forms TextBox this textBox2 new System Windows Forms TextBox this button1 new System Windows Forms Button this labell new System Windows Forms Label this label2 new System Windows Forms Label this button2 new System Windows Forms Button this button3 new System Windows Forms Button this panell new System Windows Forms Panel this pictureBox3 new System Windows Forms PictureBox this pictureBox2 new System Windows Forms PictureBox this timerl new System Windo
71. ing returning and counting database records and SQL results File Details Name Type Size Database php PHP 1 KB Source Code lt php function AccessDB sql db C Inetpub wwwroot Database Fiwos mdb conn new COM ADODB Connection conn gt Open DRIVER Microsoft Access Driver mdb DBQ db result conn gt Execute sql return result function RecordCount Sdatabase Stable Sconn odbc connect database sql SELECT FROM Stable result odbc_exec conn sql count 0 while temp odbc_fetch_into result amp counter count return count function ResultCount result numrows 1 while cresult result gt FetchRow numrows return numrows 52 Edit Order Description and Function This is another critical file in the application that defines a set of functions to perform the majority of the internal calculations related to the items in each order Because a browser session is maintained items that are added or removed from the current order are kept track of EditOrder php also includes functions for clearing the entire order and keeping track of item quantities and price totals File Details Name Type Size EditOrder php PHP 19 KB Source Code lt php session_start order amp SESSION Order if lis object
72. ings Add Text ds Entrees ID textBox2 DataBindings Add Text ds Entrees Name textBox3 DataBindings Add Text ds Entrees Description textBox4 DataBindings Add Text ds Entrees Price string t textBox5 Text Replace W Byte byteBLOBData new Byte 0 byteBLOBData Byte ds Tables 0 Rows 0 Picture MemoryStream stmBLOBData new MemoryStream byteBLOBData pictureBox1 Image Image FromStream stmBLOB Data button7 Enabled false public void navigationdisable 89 button8 Enabled false button9 Enabled false button10 Enabled false button 1 Enabled false private void entryclear textBox1 Text textBox2 Text textBox3 Text textBox4 Text textBox5 Text pictureBox1 Image null public void navigationenable button8 Enabled true button9 Enabled true button10 Enabled true button 1 Enabled true public void LoadItemID int x 0 string id string str DSN System Configuration ConfigurationSettings AppSettings DataSource ToString Provider Microsoft Jet OLEDB 4 0 Data Source C fiwos fiwos mdb string strSQL Select ID From Entrees OleDbConnection cn new OleDbConnection strDSN cn Open OleDbCommand cmd new OleDbCommand strSQL cn OleDbDataReader reader cmd ExecuteReader w
73. ion Picture if byteBLOBData Length gt 0 MemoryStream stmBLOBData new MemoryStream byteBLOBData pictureBox 1 Image Image FromStream stmBLOB Data private void button 1_Click object sender System EventArgs e this BindingContext this ds Entrees Position 100 this BindingContext this ds Entrees Count 1 string t textBox5 Text Replace W Byte byteBLOBData new Byte 0 byteBLOBData Byte ds Tables 0 Rows this BindingContext this ds Entrees Position Picture if byteBLOBData Length gt 0 MemoryStream stmBLOBData new MemoryStream byteBLOB Data pictureBox1 Image Image FromStream stmBLOB Data private void button4_Click object sender System EventArgs e button7 Enabled true button6 Enabled true int itemid int Convert ToInt32 textBox 1 Text OleDbConnection x new DBConnection getOLDBConnection string strSQL delete from Entrees Where ID itemid OleDbConnection delentr new DBConnection getOLDBConnection OleDbCommand myCmd new OleDbCommand strSQL delentr try delentr Open myCmd ExecuteNonQuery catch Exception ez finally entryclear button7 Enabled true button4 Enabled false loaddata Console WriteLine gt gt gt gt gt gt gt gt gt gt ez ToString delentr Close private void textBox2_TextChanged o
74. ion new System Drawing Point 8 8 this dataGrid1 Name dataGrid1 this dataGrid1 Size new System Drawing Size 576 312 this dataGrid1 TabIndex 0 this dataGrid1 Navigate new System Windows Forms NavigateEventHandler this dataGrid1_Navigate button this button 1 Anchor System Windows Forms AnchorStyles System Windows Forms AnchorStyles Bottom System W indows Forms AnchorStyles Right this button1 BackColor System Drawing Color Beige this button1 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button1 Location new System Drawing Point 512 328 this button1 Name button this button1 Size new System Drawing Size 72 24 this button1 TabIndex 2 this button 1 Text Exit this button1 Click new System EventHandler this button1_ Click frmviewdesserts this AutoScaleBaseSize new System Drawing Size 5 13 this BackColor System Drawing Color Silver this ClientSize new System Drawing Size 592 358 this Controls Add this button 1 this Controls Add this dataGrid 1 this Icon System Drawing Icon resources GetObject Sthis Icon 104 this Name frmviewdesserts this Text View Desserts this Load 4 new System EventHandler this frmviewdesserts Load System ComponentModel ISupportInitialize this dataGrid1 EndInit
75. is BindingContext this ds Tables Position this BindingContext this ds Tables Position 1 private void button11_Click object sender System EventArgs e this BindingContext this ds Tables Position this BindingContext this ds Tables Count 1 private void button7_Click object sender System EventArgs e loadtables private void buttonl Click object sender System EventArgs e if textBox2 Text 9 button7 Enabled true button5 Enabled true button6 Enabled true int itemid int Convert ToInt32 textBox1 Text string seats textBox2 Text string availability textBox3 Text int temp int Convert ToInt32 seats string strSQL insert into Tables TableNo Capacity Status temp availability 9 OleDbConnection x new DBConnection getOLDBConnection OleDbCommand myCmd new OleDbCommand strSQL x try x Open myCmd ExecuteNonQuery catch Exception ez Console WriteLine gt gt gt gt gt gt gt gt gt gt ez ToString finally x Close LoadtableIDQ button1 Enabled true textBox2 Text textBox3 Text Vacant else MessageBox Show Enter the no of seats private void button2_Click object sender System EventArgs e private void button5_Click object sender System EventArgs e 113 new ViewEntr ShowDialog private voi
76. is menultem10 Click menultem1 1 zi this menultem11 Indez 1 this menultem1 1 Text Add Edit Delete this menultem 1 1 C lick new System EventHandler this menulItem1 1 Click menultem6 this menultem6 Index 4 this menultem6 Menultems AddRange new System Windows Forms Menultem this menultem8 this menultem9 this menultem6 Text Drinks this menultem6 Click new System EventHandler this menultem6 Click 76 menultem8 this menultem8 Index 0 this menultem8 Text View this menultem8 Click new System EventHandler this menultem8_Click menultem9 this menultem9 Index 1 this menultem9 Text Add Edit Delete this menultem9 Click new System EventHandler this menultem9_Click menultem12 this menultem 12 Index 5 this menultem12 Menultems AddRange new System Windows Forms Menultem this menultem27 this menultem28 this menultem12 Text Tables this menultem12 Click new System EventHandler this menultem12 Click 1 menultem27 this menultem27 Index 0 this menultem27 Text View this menultem27 Click new System EventHandler this menultem27 Click menultem28 this menultem28 Index 1 this menultem28 Text Manage Tables this menultem28 Click new System EventHandler this menultem28_Click menultem15 this menultem1
77. istration ScanSoft Registration gi Cancel 23 Click Finish to restart your computer 29 6 PDA Ordering System Table summary Table Summary Table 1 Occupied Finish Order Notice Please select a table number and click Create Order to begin Table 9 Vacant 1 This is the first page you will see when you logon to the ordering system 2 This will display table status 3 To start a new order select a vacant table from the list and press Create Order button 4 Finish Order button will close the order and print it to appropriate locations such as kitchen Bar Cashier 5 To get the latest table statuses press Refresh List button Order summary Order Summary Table 4 No Items in Current Order Add Meals Add Drinks Clear Order Submit Order 30 1 This is the main page for the current order which has started You can add Meals Drinks using Add Meals and Add Drinks buttons 2 To clear the current order from the PDA memory press Clear Order button 3 Submit Order button will send the current order to the printer Add Meals Drinks Entrees Main Courses Desserts and Drinks will display in different colours 1 Press Add button to add that item Del button will remove that item from the order as one item per time 2 After selecting items press Add to order button to add them in to the order
78. iy View ra Create new Web Virtual Directory pename Next you will see the Virtual Directory Creation Wizard from the first screen click the next button 9 You will then be asked to type in an Alias by which you will access the virtual directory from your web browser this is the name you will type into your web browser after localhost to view any web pages you place in the directory 10 Next you will see a Browse button click on this to select the directory your web site pages are in on your computer after which click on the next button to continue 11 On the final part of the wizard you will see a series of boxes if you are not worried about security then select them all if you are and want to run ASP scripts then check the first two followed by the next button 12 Once the virtual directory is created you can view the web pages in the folder by typing http Nocalhost aliasName where aliasName is place the alias you called the virtual directory into the address bar of your web browser you can substitute localhost for the name of your computer if you wish 3 Configuration of Wireless Access Point 1200 to Default Settings Using the Mode Button If you need to start over during the initial setup process follow these steps to reset the access point to factory default settings using the access point MODE button Step 1 Disconnect power t
79. k infrastructure will be using internet What is the name of the Step 17 Now we need to choose the channel which can make us connect to Ad hoc We use channel 3 at the moments 19 Step 18 Next it will ask about WEP Keys which is making more secure through the data But in our cases do not need to use it Step 19 Once you done the above steps properly clicks the finish tab as shown below 20 The configuration of the new net complete Press Finish to accept the config and add the new network Step 20 Check whether it is working or not by using internet explorer click the internet explorer Step 21 In the Internet Explorer type in the address http 10 0 0 2 FIWOS MainPage The screen should appear as shown above 21 5 Setting a wireless Brother printer 1 Turn on the machine by plugging in the power cord 2 Turn on your computer 3 Put the supplied CD ROM into your CD ROM drive If the language screen appears choose your language 4 The CD ROM main menu will appear Click Install MFL Pro Suite PIETEI brother MFC 200 Top Menu 2 Install MFL Pro Suite install Optional Applications Documentation 4 On Line Registration CT Brother Support E Repair MFL Pro Suite 5 Choose Wireless Network Connection and then click Next Wireless Device Setup Wizard Connection Type CC Select the connection type ofthe device you want to in
80. lay the links to Exit from the system Logout Change password f Friday June 09 2006012 09 57 PM Application Entrees Main Course Desserts Drinks Exit Logout Change Password Exit To exit from the system press Exit It will shut down this software and direct you to the desktop Logout You can leave this software opened while you are not attended Press Logout It will bring the login screen Enter a valid username and password to login to this system This software has the ability to login by using different usernames Make sure all windows are closed except main window before logout Change Password This feature will use to changes the password of a user or create a new user account and password To change the password enter the username and new password Note This system will not ask for confirm password So make sure you have typed the password correct Then press Add Update button 33 Entrees Main Course Desserts and Drinks Menus Main Course Desserts Drinks Tables Reports Help View Add Edit Delete Desserts Drinks Tables Report Add Edit Delete Drinks Tables Reports Help View Add Edit Delete 34 View Add Edit Delete View items It provides a quick list of all Entrees Main Course Desserts and Drinks All windows are in same format as shown below Desipin Pico Roasted turk 9 00 Braised lamb 9 00 Barbequed BI 9 00 Thaiyellowy 0 Add Edit De
81. lete This will direct to a separate window The format of the windows to Add Edit Delete Entrees Main Course Desserts Drinks will be same 35 Press Load Data button to load table details which are stored in the database To navigate through data use Go to First record Go to previous record Go to last record Add new Item When the window is loaded it will set to add a new item by default System will give the next available Item no Able to provide a description of up to 255 characters Make sure 36 not to enter sign when entering the price This system will not be able to recognise asa currency type Browse button can be used to insert a picture To add a new Item fill appropriate data and press Add button Once Add button is pressed the data will store in the data base and new Item no will appear in the Item No field Saye Save Changes Go to the specific record you need to change Then change the fields Press Save button This button actually saves the data after any changes made Delete i Delete a record Select the record and press Delete button Cancel Cancel an operation You can press cancel button at any time to stop changing loading data or adding a new record Clear Clear fields This button will clear all fields except Item No View Quick view To get a non printable list of Items Pictures will not display at
82. lor System Drawing Color Beige this button3 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button3 Location new System Drawing Point 200 232 this button3 Name button3 this button3 TabIndex 37 this button3 Text Edit this toolTip1 SetToolTip this button3 Make Changes this button3 Click new System EventHandler this button3_Click button 1 this button1 BackColor System Drawing Color Beige this button1 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button 1 Location new System Drawing Point 1 12 232 this button1 Name button1 this button1 TabIndex 35 this button1 Text Add this toolTip1 SetToolTip this button1 Add new Table this button1 Click new System EventHandler this button1l Click label2 this label2 Font new System Drawing Font Microsoft Sans Serif 9 75F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this label2 ForeColor System Drawing SystemColors ActiveCaption Text this label2 Location new System Drawing Point 16 104 110 this label2 Name label2 this label2 Size new System Drawing Size 160 23 this label2 TabIndex 31
83. m Drawing GraphicsUnit Point System Byte 0 this button13 Location new System Drawing Point 480 352 this button 13 Name button 13 this button13 Size new System Drawing Size 80 23 this button 13 Tablndex 26 this button13 Text Cancel 95 this toolTip1 SetToolTip this button13 Clear all this button13 Click new System EventHandler this button13_Click label6 this label6 Font new System Drawing Font Microsoft Sans Serif 15F System Drawing FontStyle Regular System Drawing GraphicsUnit Point System Byte 0 this label6 Location new System Drawing Point 472 0 this label6 Name label6 this label6 Size new System Drawing Size 192 32 this label6 TabIndex 25 this label6 Text Entrees button12 this button 12 BackColor System Drawing Color Beige this button 12 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button12 Location new System Drawing Point 576 352 this button 12 Name button12 this button12 TabIndex 24 this button 12 Text Exit this button 12 Click new System EventHandler this button12_Click errorProviderl this errorProvider1 ContainerControl this Entrees this AutoScale false this AutoScaleBaseSize new System Drawing Size 5
84. ndex 13 this button4 Text Delete this toolTipl SetToolTip this button4 Delete the selected Entree this button4 Click new System EventHandler this button4_Click button3 this button3 BackColor System Drawing Color Beige this button3 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button3 Location new System Drawing Point 192 352 this button3 Name button3 this button3 TabIndex 12 this button3 Text Save this toolTip1 SetToolTip this button3 Update the selected Entree this button3 Click new System EventHandler this button3_Click button this button1 BackColor System Drawing Color Beige this button1 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button1 Location new System Drawing Point 96 352 this button1 Name button1 this button1 TabIndex 10 this button1 Text Add this toolTipl SetToolTip this button Add new Entree this button 1 Click new System EventHandler this button 1_Click button 13 this button13 BackColor System Drawing Color Beige this button13 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold Syste
85. nly Cisco Aironet devices on your wireless LAN or the unit is configured in repeater mode Step 7 Click Apply to save your settings If you have changed the IP address you will lose your connection to the access point Browse to the new IP address to reconnect to the access point Your access point is now running but probably requires additional configuring to conform to your networks operational and security requirements Consult the sections in this appendix for the information you need to complete the configuration Enabling the Radio Interfaces 10 Step 1 Use your internet browser to access your access point Step 2 When the Summary Status page displays click Network Interfaces gt Radio0 802 11b or Network Interfaces gt Radio0 802 1 1g and the radio status page displays Step 3 Click Settings and the radio settings page displays Step 4 Click Enable in the Enable Radio field Step 5 Click Apply Step 6 Click Radio1 802 11A and the radio status page displays Step 7 Repeat Steps 3 to 5 Step 8 Close your internet browser Hostname BOXHILL EXPRESS SECURITY NETWORK Express Security Set Up H CIA SSID Configuration 1 SSID FIWOS F Broadcast SSID in F 2 VLAN No VLAN Enable VLAN ID 1 4095 1 Native VLAN 3 Security No Security Static WEP Key Keyi 128 bit EAP Authentication RADIUS Sener Hostname or IP Address RADIUS Server Secret
86. nt Microsoft Sans Serif 9 75F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this label1 ForeColor System Drawing SystemColors ActiveCaptionText this labell Location new System Drawing Point 48 48 this label1 Name label1 this label1 Size new System Drawing Size 160 23 this label1 TabIndex 5 this label1 Text Item ID label2 this label2 Font new System Drawing Font Microsoft Sans Serif 9 75F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this label2 ForeColor System Drawing SystemColors ActiveCaptionText this label2 Location new System Drawing Point 48 80 this label2 Name label2 this label2 Size new System Drawing Size 160 23 this label2 TabIndex 6 this label2 Text Name label3 this label3 Font new System Drawing Font Microsoft Sans Serif 9 75F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this label3 ForeColor System Drawing SystemColors ActiveCaptionText this label3 Location new System Drawing Point 48 128 92 this label3 Name label3 this label3 Size new System Drawing Size 160 23 this label3 TabIndex 7 this label3 Text Description label4 this label4 Font new System Drawing Font Microsoft Sans Serif 9 75F System Drawing FontSt
87. rawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button10 Location new System Drawing Point 384 304 this button 10 Name button10 this button 10 Tablndex 22 this button10 Text gt this toolTip1 SetToolTip this button10 Next this button 10 Click new System EventHandler this button10_Click_1 button 11 this button1 1 BackColor System Drawing Color Beige this button11 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button11 Location new System Drawing Point 480 304 this button 1 1 Name button11 this button11 TabIndex 23 this button1 1 Text gt gt this toolTip1 SetToolTip this button11 Last Record this button1 1 Click new System EventHandler this button1 1 Click button7 this button7 BackColor System Drawing Color Beige this button7 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button7 Location new System Drawing Point 8 352 this button7 Name button7 this button7 TabIndex 19 this button7 Text Load Data this toolTip1 SetToolTip this button7 Load all records this button7 Click new System EventHandler this button7_Click button6
88. rawing Point 102 144 this button3 Name button3 this button3 TabIndex 7 this button3 Text Add Update this button3 Click new System EventHandler this button3_Click panell this panell Anchor System Windows Forms AnchorStyles System Windows Forms AnchorStyles Bottom System Windows Forms AnchorStyles Right this panell BackColor System Drawing Color White this panell BorderStyle System Windows Forms BorderStyle FixedSingle this panell Controls Add this pictureBox3 this panel1 Controls Add this button2 this panel1 Controls Add this button3 this panel1 Controls Add this textBox2 this panel1 Controls Add this textBox 1 this panel1 Controls Add this label1 this panel1 Controls Add this button 1 this panel1 Controls Add this label2 this panel1 Controls Add this pictureBox2 this panel1 Location new System Drawing Point 360 248 this panell Name panel this panel1 Size new System Drawing Size 440 288 this panel1 TabIndex 9 Il pictureBox3 Il 80 this pictureBox3 Anchor System Windows Forms AnchorStyles System Windows Forms AnchorStyles Top System Windows Forms AnchorStyles Bottom System Windows Forms AnchorStyles Left System Windows Forms AnchorStyles Right this pictureBox3 BackgroundImage System Drawing Image resources GetObject pictureBox3 BackgroundImage this pictureBox3
89. rder lt div gt echo lt br gt lt br gt echo lt table border 0 gt echo lt tr align center gt echo lt td halign center gt lt input type button value Add Meals onclick AddMeals gt lt td gt echo lt td halign center gt lt input type button value Add Drinks onclick AddDrinks gt lt td gt echo lt form method post gt include Components VarHandlerPost php echo lt input type hidden name amt value isset _POST id gt echo lt td halign center gt lt input type submit name clear value Clear Order gt lt td gt echo lt form gt echo lt tr gt include Components VarHandlerPost php echo lt tr gt lt tr gt lt tr gt lt tr gt echo tb W7 echo lt td gt lt td gt n echo lt td halign center gt lt input type button value Submit Order onclick SubmitOrder gt lt td gt n echo lt td gt lt td gt n echo lt tr gt n echo lt table gt n echo lt form gt lt div gt n echo Price number_format item price 2 lt br gt echo Subtotal number_format item subtot
90. reless mode Now go to the setting box and click on setting as shown below Step 6 Choose the bottom item which is Dell Axim X51 WLAN Wireless Adapter and click that one 14 PPTP NDISWAN Miniport Remote NDIS Host AsyncMac NDISWAN Miniport A Virtual Ethernet Intermediate Minipori Step 7 In Dell Axim X51 WLAN Wireless Adapter there are two radio boxes and we need to use the IP address 10 0 0 3 to connect to our web server and the Subnet mask of 255 255 255 0 as shown below Step 8 Don t use this part of the section 15 Step 9 Once done the previous step we need to click on the OK button Step 10 Apply this configuration by pushing the buttons which is located on the left side of corner 16 Step 11 After the previous step the following screen should appear showing us that it s enabled the wireless Step 12 Go back to Step4 and click Odyssey Client as shown below ro tei Step 13 Tick the box and click any as shown below 17 Step 14 Have look at the bottom and click on settings It comes up with couple of different functions chose configure shown below Step 15 Now we are able to create our name of project which is FIWOS click the add button as shown below 18 Step 16 It shows that name of network and it asks which types of networks want to use Now we are going to use Ad hoc which is connected within local networ
91. rgs e l ShowReport new ViewTable Tables oe void menultem25_Click object sender System EventArgs e i ShowReport new FullMenu Full Menu void menultem24 Click object sender System EventArgs e ShowForm new frmmains iwa void menultem28 Click object sender System EventArgs e ShowForm new frmtables 83 private void menultem14 Click object sender System EventArgs e private void statusBar2_PanelClick object sender System Windows Forms StatusBarPanelClickEventArgs e private void menultem26_Click object sender System EventArgs e private void buttonl Click object sender System EventArgs e private void button3_Click object sender System EventArgs e Help ShowHelp this Application StartupPath fountain chm new Form5 Show this Close cec string flag string aUserName ConfigurationSettings AppSettings userName ToString string strSQL SELECT FROM Users WHERE UserName userName OleDbConnection x new DBConnection getOLDBConnection OleDbCommand myCmd new OleDbCommand strSQL x OleDbParameter aParal new OleDbParameter userName OleDbT ype VarChar 255 aParal Value textBox2 Text myCmd Parameters Add aPara1 OleDbDataReader aReader null OleDbCommand aCommand null OleDbConnection aConnection null try x Open aReader myCmd ExecuteRead
92. rms Button button4 private System Windows Forms Button button3 private System Windows Forms OpenFileDialog openFileDialog 1 private System Windows Forms Button button private System Windows Forms Label label2 private System Windows Forms Label label1 private System Windows Forms TextBox textBox2 private System Windows Forms TextBox textBox1 private System Windows Forms TextBox textBox3 private System Windows Forms Label label3 private System Windows Forms Button button2 private System Windows Forms Label label6 private System Windows Forms ToolTip toolTipl private System ComponentModel IContainer components 106 public frmtables Required for Windows Form Designer support InitializeComponent TODO Add any constructor code after InitializeComponent call lt summary gt Clean up any resources being used lt summary gt protected override void Dispose bool disposing if disposing if components null components Dispose base Dispose disposing public void loadtables textBox1 DataBindings Clear textBox2 DataBindings Clear textBox3 DataBindings Clear button3 Enabled true button4 Enabled true button1 Enabled false string strCommand SELECT FROM Tables OleDbDataAdapter adapter new OleDbDataAdapter OleDbConnection x new DBConnection getOLDB Connection adapter SelectCommand new OleDbCommand strCommand
93. rnet browser Step 2 Enter the access point s IP address in the browser address line and press Enter An Enter Network Password screen appears Step 3 Press Tab to bypass the Username field and advance to the Password field Step 4 Enter the case sensitive password Cisco and press Enter The Summary Status page appears Step 5 Click Express Setup The Express Setup screen appears pa om i a e Cisco 1200 Access Point Hostname BOJHIL Pe Ip haved aaa Association Clients Renesters 0 Natyror Identity IP Address 10 0 0 5 MAC Address 0005 9a38 42c0 Network Interfaces matao MAC Address Transmission Rate Fasteinernst 0006 0a3B 42c0 100Mbfo Raglo0 802 118 0001 6445 b008 11 0Nb 5 Raglo1 802 118 0005 029 2451 54 0Mbis Event Loa Time Sum ty Description Mar 1 00 00 59 231 PNotification Line protocol on Interface Dott 1Radio0 changed state to up Mar 1 00 00 57 250 Error Interface Dot 1Radio0 changed state to up Mat 1 00 00 57 231 information Interface Dott 1Radio0 fraquency 2447 selected Mar 1 00100197 231 information interface Dott 1Radio0 frequency 2457 is in use Mar 1 00 00 57 231 information Interface Dott 1Radio0 Nuquency 2437 is in use Mar 1 00 00 67 231 information Interface Dot 1Radi00 frequency 2427 is in use Mar 1 00 00 57 230 information interface Doti 1Radio0 frequency 2422 is in use Mar 1 00 00 67 230 information Interface Dot 1Radio0 frequency 2417 is in use Mar
94. s Desserts 1 menuitems array menuitems 1 Drinks DisplayScript Add Drinks curtable menuitems AddDrinks idcount HtmlFooter gt 49 Edit Item Description and Function The EditItem php file is accessed from clicking the Edit button displayed next to an item in the current order This page retrieves all of the available food modifiers from within the database and displays them in a table File Details Name Type Size EditItem php PHP 3 KB Source Code lt php include Components EditOrder php include Components Database php include Components Scripts php HtmlHeader Edit Item echo lt div class Heading1 gt Edit Item lt div gt echo lt div class Heading2 gt Table curtable lt div gt echo lt div class center gt lt form name EditItem method post action OrderSummary php gt n SEditQtyl 1 EditQty2 _POST EditQty echo lt table width 250 border 0 class center gt n echo lt tr gt Ww echo lt td halign center gt n echo lt input type text class _POST EditType readonly size 40 name EditName value _POST EditName 5 w7 echo lt td gt n 3
95. s Forms MainMenu mainMenu1 private System Windows Forms Menultem menultem1 private System Windows Forms Menultem menultem2 private System Windows Forms Menultem menultem3 private System Windows Forms Menultem menultem4 private System Windows Forms Menultem menultem private System Windows Forms Menultem menultem6 private System Windows Forms Menultem menultem7 private System Windows Forms Menultem menultem8 private System Windows Forms Menultem menultem9 private System Windows Forms Menultem menultem10 private System Windows Forms Menultem menulteml 1 71 private System Windows Forms Menultem menultem12 private System Windows Forms Menultem menultem13 private System Windows Forms Menultem menultem1 5 private System Windows Forms Menultem menultem16 private System Windows Forms Menultem menulteml 7 private System Windows Forms Menultem menultem1 8 private System Windows Forms Menultem menultem19 private System Windows Forms Menultem menultem20 private System Windows Forms Menultem menultem21 private System Windows Forms Menultem menultem22 private System Windows Forms Menultem menultem23 private System Windows Forms Menultem menultem24 private System Windows Forms Menultem menultem25 private System Windows Forms Menultem menultem14 private System Windows Forms Menultem menultem26 private System Windows Forms Menultem menultem27 private System Windows Forms Menultem menultem28 private System
96. some alternative print testing ability The main difference between this file and the printing functions defined in the Scripts php file is that this one is written in JavaScript as a client side print control alternative that was to be explored further File Details Name Type Size PrintTest php PHP Javascript 2 KB Source Code lt script language JavaScript gt var gAutoPrint true Flag for whether or not to automatically call the print function function printSpecial if document getElementById null var html lt HTML gt n lt HEAD gt n if document getElementsByTagName null var headTags document getElementsByTagName head if headTags length gt 0 html headTags 0 innerHTML html n lt HE AD gt n lt BODY gt n var printReadyElem document getElementByld printReady if printReadyElem null html printReadyElem innerHTML alert Could not find the printReady section in the HTML return html n lt BO DY gt n lt HT MI var printWin window open printSpecial printWin document open print Win document write html printW in document close if gAutoPrint printWin print else 59 alert Sorry the print ready feature is only available in modern browsers lt script gt III To be added to controls l
97. stall Local Connection USB or Parallel J Custom Install AP C Wired Network Connection Ethernet F Custom Install Wireless Network Connection I Custom Install 6 Choose Wireless Setup and Driver Install and then click Next 22 Wireless Device Setup Wizard Wireless Installation Type Wi vice Sctup Wizard 8 Click the bottom one Setting Up Wireless 2 si o 23 Wireless Device Setup Wizard Setting Up Wireless 9 If you choose This PC has wireless capability check I am using an access point in infrastructure mode and then click Next Wireless Device Setup Wizard Setting Up Wireless 10 To communicate with the un configured wireless machine temporarily change the wireless settings on your PC to match machine s default settings shown on this screen Click Next 24 Wireless Device Setup Wizard Changing PC s Wireless Settings To communicate with the un configured wireless device please change the wireless settings on this PC to the following Communication Mode Ad Hoc Channel 11 if applicable Network Name SSID SETUP Encryption Mode None Case sensitive Please contact your network administrator or refer to your PU N user s guide if you require more information a When you have configured the wireless network settings click Next to continue Cancel 11 If more than one wireless machine is available on the n
98. stem Drawing Size 152 20 this textBox2 TabIndex 1 this textBox2 Text this toolTip1 SetToolTip this textBox2 Type the Name of the Entree this textBox2 TextChanged new System EventHandler this textBox2_TextChanged textBox3 91 this textBox3 Location new System Drawing Point 216 112 this textBox3 Multiline true this textBox3 Name textBox3 this textBox3 ScrollBars System Windows Forms ScrollBars Both this textBox3 Size new System Drawing Size 168 88 this textBox3 TabIndex 2 this textBox3 Text this toolTip1 SetToolTip this textBox3 Description upto 255 characters this textBox3 TextChanged new System EventHandler this textBox3_TextChanged textBox4 this textBox4 Location new System Drawing Point 216 224 this textBox4 Name textBox4 this textBox4 Size new System Drawing Size 168 20 this textBox4 TabIndex 3 this textBox4 Text this toolTip1 SetToolTip this textBox4 Enter the price this textBox4 LostFocus new System EventHandler this textBox4_LostFocus textBox5 this textBox5 Location new System Drawing Point 216 264 this textBox5 Name textBox5 this textBox5 ReadOnly true this textBox5 Size new System Drawing Size 256 20 this textBox5 TabIndex 4 this textBox5 Text label1 this label1 Font new System Drawing Fo
99. t div id printReady 5 lt p gt Hello World Your Printable Page Content Goes Here lt p gt lt div gt lt form id printMe name printMe 5 lt input type button name printMe onClick printSpecial value Print this Page gt lt form gt III To be added to controls 60 Variable Handler Post Description and Function This file came about when particular variables had to be defined and accessed among multiple web pages within the same cookie session This file is included in most of the other files in this application as it defines the TableNo variable that is passed between pages As addition values are reguired they will be defined here File Details Name Type Size VarHandlerPost php PHP 1 KB Source Code lt php echo lt input type hidden name TableNo value curtable gt gt 61 Variable Handler Get Description and Function This file receives the values that are defined in VarHandlerPost php Additional values will be added as the application is enhanced File Details Name Type Size VarHandlerGet php PHP 1 KB Source Code lt php curtable _POST TableNo 2 gt 62 FIWOS Control Script Description and Function This JavaScript file defines all of the client side processing functions behind each of the HTML form buttons that are displayed on each of the
100. tabase are only for testing purposes Make sure to add new data to tables according to your menu 2 Web Server Installation in Windows XP Pro If you are running Windows XP Professional on your computer you can install Microsoft s web server Internet Information Server 5 1 IIS for free from the Windows XP Pro installation CD and configure it to run on your system 1 Place the Windows XP Professional CD ROM into your CD ROM Drive 2 Open Add Remove Windows Components found in Add Remove Programs in the Control Panel 3 Place a tick in the check box for Internet Information Services ITS leaving all the default installation settings intact 4 Once IIS is installed on your machine you can view your home page in a web browser by typing http localhost you can substitute localhost for the name of your computer into the address bar of your web browser If you have not placed your web site into the default directory you should now be looking at the IIS documentation 5 If you are not sure of the name of your computer right click on the My Computer icon on your desktop select Properties from the shortcut menu and click on the Computer Name tab 6 Your default web directory to place your web site in is C Unetpub wwwroot but if you don t want to over write the IIS documentation found in this directory you can set up your own virtual directory through the Int
101. this label2 Text Seats label1 this label1 Font new System Drawing Font Microsoft Sans Serif 9 75F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this label1 ForeColor System Drawing SystemColors ActiveCaptionText this label1 Location new System Drawing Point 16 72 this label1 Name label1 this label1 Size new System Drawing Size 160 23 this label1 TabIndex 30 this label1 Text Table No textBox2 this textBox2 Location new System Drawing Point 183 104 this textBox2 Name textBox2 this textBox2 Size new System Drawing Size 152 20 this textBox2 TabIndex 26 this textBox2 Text this toolTip1 SetToolTip this textBox2 No of seats this textBox2 TextChanged new System EventHandler this textBox2_TextChanged Il textBox1 Il this textBox1 Location new System Drawing Point 184 72 this textBox1 Name textBox1 this textBox1 ReadOnly true this textBox1 Size new System Drawing Size 152 20 this textBox1 TabIndex 25 this textBox1 Text textBox3 this textBox3 Location new System Drawing Point 184 144 this textBox3 Name textBox3 this textBox3 Size new System Drawing Size 120 20 this textBox3 TabIndex 49 this textBox3 Text Vacant label3 this label3 Font new System Drawing Font Microso
102. this window Exit To exit to main window Tables 37 This pull down menu can be used to get guick view of table no no of people can sit and availability View Manage Tables View This window displays Table No No of seats and Current status Manage Tables Load Table Details Press Load Data button to load table details which are stored in the database 38 Add new Table When the window is loaded it will set to add a new table by default System will give the nezt available table no You only have to enter the no of seats Availability will be Vacant by default To add a new table enter the capacity in numbers Press Add button Once Add button being pressed the data will store in the data base and new table no will appear in the Table No field Edit a record Go to the specific record you need to change Then change the fields Press Edit button This button actually saves the data after change Delete a record Select the record and press Delete button Cancel an operation You can press cancel button at any time to stop changing loading data or adding a new record After the Cancel button is pressed current operation will close and table records will be loaded Clear fields This button will clear the Seats field Reports Tables Reports Help Existing Menu Entrees Orders Summary gt By Order Id ms EY Table No f Report Viewer
103. tion and Encryption the following screen will appear To continue installation click OK and go to step 15 Wireless Device Setup Wizard D ATTENTION Name SSID WLAN This Wireless Network is not secure It is not using secure authentication and encryption Do you want to continue setup OK Cancel 14 If your network is configured for Authentication and Encryption the following screen will appear When configuring your Brother wireless machine you must ensure that it is configured to match the Authentication and Encryption settings of your existing wireless network Choose the Authentication Method and Encryption Mode from the pull downs in each setting box Then enter the Network key and click Next 26 Wireless Device Setup Wizard Authentication Method and Encryption Mode Open System WEP Ri 15 Click Next The settings will be sent to your machine The settings will remain unchanged if you click Cancel Wireless Network Settings Confirmation Note In this case do not need to setup for Authentication and Encryption This procedure will show that how can we setup the Authentication and Encryption 16 It show that wireless settings of your computer back to their original settings Click Next 27 Wireless Device Setup Wizard F E Please Remember Wireless Setup is now complete Remember to restore your computer wireless settings to their original settings 17
104. tring price textBox4 Text string imgURL textBox5 Text string item textBox1 Text double pricex Convert ToDouble price int itemid int Convert Tolnt32 item OleDbCommand myCmd new OleDbCommand string strSQL if textBox5 Text Length gt 0 strSQL Update Entrees SET Description description Price pricex Picture Picture 56 a ID itemid Name name Where ID itemid FileStream aStream new FileStream imgURL FileMode OpenOrCreate FileAccess Read byte aByteArray new byte aStream Length aStream Read aByteArray 0 System Convert ToInt32 aStream Length aStream Close OleDbParameter aPara new OleDbParameter Picture OleDbType Binary aPara Value aByteArray myCmd Parameters Add aPara else strSQL Update Entrees SET Description description Price pricext Where 596 PUN ID itemid Name name ID itemid 3 OleDbConnection x new DBConnection getOLDB Connection myCmd Connection x myCmd CommandText strSQL try x Open myCmd ExecuteNonQuery catch Exception ez finally Console WriteLine gt gt gt gt gt gt gt gt gt gt ez ToString x Close 99 private void button7_Click object sender System EventArgs e private void button10 Click object sender System EventArgs e loaddat
105. tton this button9 new System Windows Forms Button this button 10 new System Windows Forms Button this button11 new System Windows Forms Button this toolTipl new System Windows Forms ToolTip this components this button7 new System Windows Forms Button this button6 new System Windows Forms Button this button5 new System Windows Forms Button this button4 new System Windows Forms Button this button3 new System Windows Forms Button this button1 new System Windows Forms Button this button 13 new System Windows Forms Button this label6 new System Windows Forms Label this button 12 new System Windows Forms Button this errorProviderl new System Windows Forms ErrorProvider this SuspendLayout textBox1 this textBox1 Location new System Drawing Point 216 48 this textBox1 Name textBox1 this textBox1 ReadOnly true this textBox1 Size new System Drawing Size 152 20 this textBox1 Tablndex 0 this textBox1 Text this toolTip1 SetToolTip this textBox1 Auto Number this textBox1 TextChanged new System EventHandler this textBox 1_TextChanged textBox2 this textBox2 AcceptsReturn bool configurationAppSettings GetValue textBox2 AcceptsReturn typeof bool this textBox2 Location new System Drawing Point 216 80 this textBox2 Name textBox2 this textBox2 Size new Sy
106. ws Forms Timer this components this statusBarl new System Windows Forms StatusBar this UserPanel new System Windows Forms StatusBarPanel this statusBarPanell new System Windows Forms StatusBarPanel this panell SuspendLayout System ComponentModel ISupportInitialize this UserPanel BeginInit System ComponentModel ISupportInitialize this statusBarPanel 1 BeginInit this SuspendLayout mainMenul this mainMenu 1 Menultems AddRange new System Windows Forms Menultem this menultem1 this menultem3 this menultem22 this menultem7 this menultem6 this menultem 12 this menultem15 this menultem33 this menultem 13 menultem1 this menulItem1 Index 0 this menultem 1 Menultems AddRange new System Windows Forms Menultem this menultem2 this menultem29 this menultem30 this menultem1 Text Application this menultem1 Click new System EventHandler this menultem1 Click menultem2 this menultem2 Index 0 this menultem2 Text Exit this menultem2 Click new System EventHandler this menultem2_ Click menultem29 this menultem29 Index 1 this menultem29 Text Logout this menultem29 Click new System EventHandler this menultem29 Click menultem30 this menultem30 Index 2 this menultem30 Text Change Password this menultem30 Click new System EventH
107. x1 Location new System Drawing Point 128 56 this textBox1 Name textBox1 this textBox 1 PasswordChar this textBox1 Size new System Drawing Size 160 26 this textBox1 TabIndex 1 this textBox1 Text this textBox1 TextChanged new System EventHandler this textBox 1_TextChanged Il textBox2 Il this textBox2 Font new System Drawing Font Microsoft Sans Serif 12F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this textBox2 Location new System Drawing Point 128 16 this textBox2 Name textBox2 this textBox2 Size new System Drawing Size 160 26 this textBox2 TabIndex 0 this textBox2 Text this textBox2 TextChanged new System EventHandler this textBox2_TextChanged button this button 1 BackColor System Drawing Color SlateGray this button1 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button 1 ForeColor System Drawing SystemColors Control this button1 Location new System Drawing Point 188 144 this button 1 Name button1 this button 1 Tablndex 3 this button 1 Text Exit this button 1 Click new System EventHandler this button1_Click_1 label1 this label1 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing
108. yle Bold System Drawing GraphicsUnit Point System Byte 0 this label4 ForeColor System Drawing SystemColors ActiveCaptionText this label4 Location new System Drawing Point 48 224 this label4 Name label4 this label4 Size new System Drawing Size 160 23 this label4 TabIndex 8 this label4 Text Price label5 this label5 Font new System Drawing Font Microsoft Sans Serif 9 75F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this label5 ForeColor System Drawing SystemColors ActiveCaptionText this label5 Location new System Drawing Point 48 264 this label5 Name label5 this label5 Size new System Drawing Size 160 23 this label5 TabIndex 9 this label5 Text Picture Il button2 Il this button2 BackColor System Drawing Color Beige this button2 Font new System Drawing Font Microsoft Sans Serif 8 25F System Drawing FontStyle Bold System Drawing GraphicsUnit Point System Byte 0 this button2 Location new System Drawing Point 480 264 this button2 Name button2 this button2 TabIndex 11 this button2 Text Browse this toolTip1 SetToolTip this button2 Browse the image this button2 Click new System EventHandler this button2_Click pictureBox 1 this pictureBox1 Location new System Drawing Point 456 88 this pictureBox 1 Name

Download Pdf Manuals

image

Related Search

Related Contents

Samsung GT-S6812 Manuel de l'utilisateur  取扱説明書 正誤表  GV-NVR Specifications - Surveillance System, Security Cameras  GeoEditor  Axor Citterio 41537XX0 User's Manual  MES SOULIERS SONT ROUGES  Gear Head OM5500WR mice    

Copyright © All rights reserved.
Failed to retrieve file