asiter-svn Mailing List for Asiter
Status: Beta
Brought to you by:
thejosh1234
You can subscribe to this list here.
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <The...@us...> - 2009-06-26 06:14:07
|
Revision: 47 http://asiter.svn.sourceforge.net/asiter/?rev=47&view=rev Author: TheJosh1234 Date: 2009-06-26 06:14:06 +0000 (Fri, 26 Jun 2009) Log Message: ----------- Small changes Modified Paths: -------------- trunk/src/frmasset_design.cs Modified: trunk/src/frmasset_design.cs =================================================================== --- trunk/src/frmasset_design.cs 2009-06-26 05:46:35 UTC (rev 46) +++ trunk/src/frmasset_design.cs 2009-06-26 06:14:06 UTC (rev 47) @@ -30,14 +30,6 @@ internal TextBox txtName; internal TextBox txtDescription; internal Button cmdClose; - internal Label Label1; - internal Label Label2; - internal Label Label3; - internal Label Label4; - internal Label Label5; - internal Label Label6; - internal Label Label7; - internal Label Label8; internal TextBox txtPurchaceValue; internal TextBox txtPurchaceDate; internal TextBox txtOwner; @@ -57,6 +49,7 @@ internal TextBox txtSalvageValue; internal TextBox txtLifespan; internal Label labCurrentValue; + internal TextBox txtEstimatedValue; /** @@ -75,6 +68,7 @@ **/ private void InitializeComponent() { TabPage page; + Label lab; this.txtName = new TextBox(); this.txtDescription = new TextBox(); @@ -85,20 +79,12 @@ this.txtOwner = new TextBox(); this.txtQuantity = new TextBox(); this.cmdClose = new Button(); - this.Label1 = new Label(); - this.Label2 = new Label(); - this.Label3 = new Label(); - this.Label4 = new Label(); - this.Label5 = new Label(); - this.Label6 = new Label(); - this.Label7 = new Label(); - this.Label8 = new Label(); this.panImage = new PictureBox(); this.labNoImage = new Label(); this.cmdCancel = new Button(); this.cmdSelectImage = new Button(); this.cmdNextImage = new Button(); - this.cmdPrevImage = new Button(); + this.cmdPrevImage = new Button(); this.ofdSelectImage = new OpenFileDialog(); this.tabs = new TabControl(); this.comDepMethod = new ComboBox(); @@ -109,13 +95,11 @@ // // txtName - this.txtName.Anchor = (AnchorStyles) (AnchorStyles.Top | AnchorStyles.Left - | AnchorStyles.Right); + this.txtName.Anchor = (AnchorStyles) (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right); this.txtName.Font = new Font("Microsoft Sans Serif", 8); this.txtName.Location = new Point(12, 9); this.txtName.Name = "txtName"; this.txtName.Size = new Size(408, 20); - this.txtName.TabIndex = 0; // // txtDescription @@ -135,124 +119,65 @@ this.txtModel.Location = new Point(140, 136-30); this.txtModel.Size = new Size(116, 20); this.txtModel.TabIndex = 3; - // - // txtPurchaceValue - this.txtPurchaceValue.Location = new Point(140, 133+20); - this.txtPurchaceValue.Size = new Size(116, 20); - this.txtPurchaceValue.TabIndex = 5; // - // txtPurchaceDate - this.txtPurchaceDate.Location = new Point(140, 157+20); - this.txtPurchaceDate.Size = new Size(116, 20); - this.txtPurchaceDate.TabIndex = 6; - // // txtOwner this.txtOwner.Location = new Point(140, 109+20); this.txtOwner.Size = new Size(116, 20); this.txtOwner.TabIndex = 4; // // txtQuantity - this.txtQuantity.Location = new Point(140, 181+20); + this.txtQuantity.Location = new Point(140, 133+20); this.txtQuantity.Size = new Size(116, 20); - this.txtQuantity.TabIndex = 7; + this.txtQuantity.TabIndex = 5; + // + // txtPurchaceValue + this.txtPurchaceValue.Location = new Point(140, 200); + this.txtPurchaceValue.Size = new Size(116, 20); + this.txtPurchaceValue.TabIndex = 6; + // + // txtPurchaceDate + this.txtPurchaceDate.Location = new Point(140, 225); + this.txtPurchaceDate.Size = new Size(116, 20); + this.txtPurchaceDate.TabIndex = 7; + // // labCurrentValue - this.labCurrentValue.Location = new Point(140, 230); + this.labCurrentValue.Location = new Point(140, 250); this.labCurrentValue.Size = new Size(200, 15); - + + // - // Label1 - this.Label1.AutoSize = true; - this.Label1.Location = new Point(12, 136+20); - this.Label1.Size = new Size(109, 13); - this.Label1.TabIndex = 4; - this.Label1.Text = "&Purchace value (ea): "; - // - // Label2 - this.Label2.AutoSize = true; - this.Label2.Location = new Point(12, 160+20); - this.Label2.Size = new Size(97, 13); - this.Label2.TabIndex = 6; - this.Label2.Text = "Purchace &date: "; - // - // Label3 - this.Label3.AutoSize = true; - this.Label3.Location = new Point(12, 112+20); - this.Label3.Size = new Size(41, 13); - this.Label3.TabIndex = 2; - this.Label3.Text = "&Owner:"; - // - // Label4 - this.Label4.AutoSize = true; - this.Label4.Location = new Point(12, 184+20); - this.Label4.Size = new Size(49, 13); - this.Label4.TabIndex = 8; - this.Label4.Text = "&Quantity:"; - // - // Label5 - this.Label5.AutoSize = true; - this.Label5.Location = new Point(12, 112-30); - this.Label5.Size = new Size(49, 13); - this.Label5.TabIndex = 8; - this.Label5.Text = "&Manufacturer:"; - // - // Label6 - this.Label6.AutoSize = true; - this.Label6.Location = new Point(12, 136-30); - this.Label6.Size = new Size(49, 13); - this.Label6.TabIndex = 8; - this.Label6.Text = "&Model:"; - // - // Label8 - this.Label8.AutoSize = true; - this.Label8.Location = new Point(12, 230); - this.Label8.Size = new Size(49, 13); - this.Label8.Text = "Current value:"; - - // // panImage this.panImage.BorderStyle = BorderStyle.Fixed3D; this.panImage.Location = new Point(12, 12); this.panImage.Size = new Size(390, 420); - this.panImage.TabIndex = 10; // // labNoImage this.labNoImage.AutoSize = true; this.labNoImage.Location = new Point(171, 120); this.labNoImage.Size = new Size(52, 13); - this.labNoImage.TabIndex = 0; this.labNoImage.Text = "No image"; this.labNoImage.Visible = false; // // cmdPrevImage this.cmdPrevImage.Location = new Point(12, 440); this.cmdPrevImage.Size = new Size(100, 30); - this.cmdPrevImage.TabIndex = 11; this.cmdPrevImage.Text = "< Prev"; // // cmdNextImage this.cmdNextImage.Location = new Point(120, 440); this.cmdNextImage.Size = new Size(100, 30); - this.cmdNextImage.TabIndex = 11; this.cmdNextImage.Text = "Next >"; // // cmdSelectImage this.cmdSelectImage.Location = new Point(300, 440); this.cmdSelectImage.Size = new Size(100, 30); - this.cmdSelectImage.TabIndex = 11; this.cmdSelectImage.Text = "Select &Image"; // // ofdSelectImage this.ofdSelectImage.Filter = "Supported image formats (jpg,gif,png)|*.jpg;*.jpeg;*.gif;*.png|All files|*.*"; - + // - // Label7 - this.Label7.AutoSize = true; - this.Label7.Location = new Point(12, 12); - this.Label7.Size = new Size(49, 13); - this.Label7.TabIndex = 0; - this.Label7.Text = "Depreciation &Model:"; - // // comDepMethod this.comDepMethod.Location = new Point(12, 32); this.comDepMethod.Size = new Size(390, 13); @@ -260,7 +185,6 @@ this.comDepMethod.Items.Add("Straight-Line depreciation"); this.comDepMethod.Items.Add("Declining depreciation"); this.comDepMethod.DropDownStyle = ComboBoxStyle.DropDownList; - this.Label7.TabIndex = 1; // // cmdCancel @@ -268,7 +192,6 @@ this.cmdCancel.DialogResult = DialogResult.Cancel; this.cmdCancel.Location = new Point(240, 523 + 50); this.cmdCancel.Size = new Size(88, 29); - this.cmdCancel.TabIndex = 13; this.cmdCancel.Text = "&Cancel"; // // cmdClose @@ -276,7 +199,6 @@ this.cmdClose.DialogResult = DialogResult.Cancel; this.cmdClose.Location = new Point(334, 523 + 50); this.cmdClose.Size = new Size(86, 30); - this.cmdClose.TabIndex = 12; this.cmdClose.Text = "&OK"; BuildStratightLinePanel(); @@ -284,20 +206,31 @@ // // general tab page = new TabPage("General"); + page.Controls.Add(this.txtDescription); + + page.Controls.Add(this.createLabel(12, this.txtManufacturer.Location.Y, "Manufacturer:")); + page.Controls.Add(this.txtManufacturer); + + page.Controls.Add(this.createLabel(12, this.txtModel.Location.Y, "Model:")); + page.Controls.Add(this.txtModel); + + page.Controls.Add(this.createLabel(12, this.txtQuantity.Location.Y, "Quantity:")); page.Controls.Add(this.txtQuantity); + + page.Controls.Add(this.createLabel(12, this.txtOwner.Location.Y, "Owner:")); page.Controls.Add(this.txtOwner); + + lab = this.createLabel(12, this.txtPurchaceValue.Location.Y - 15, "Depreciation:"); + lab.Font = new Font(lab.Font, System.Drawing.FontStyle.Bold); + page.Controls.Add(lab); + + page.Controls.Add(this.createLabel(12, this.txtPurchaceValue.Location.Y, "Purchase value (ea):")); page.Controls.Add(this.txtPurchaceValue); + + page.Controls.Add(this.createLabel(12, this.txtPurchaceDate.Location.Y, "Purchase date:")); page.Controls.Add(this.txtPurchaceDate); - page.Controls.Add(this.txtManufacturer); - page.Controls.Add(this.txtModel); - page.Controls.Add(this.Label8); - page.Controls.Add(this.Label6); - page.Controls.Add(this.Label5); - page.Controls.Add(this.Label4); - page.Controls.Add(this.Label3); - page.Controls.Add(this.Label2); - page.Controls.Add(this.Label1); - page.Controls.Add(this.txtDescription); + + page.Controls.Add(this.createLabel(12, this.labCurrentValue.Location.Y, "Current value (ea):")); page.Controls.Add(this.labCurrentValue); this.tabs.Controls.Add (page); @@ -315,7 +248,7 @@ // depreciation tab page = new TabPage("Depreciation"); page.Controls.Add(this.comDepMethod); - page.Controls.Add(this.Label7); + page.Controls.Add(this.createLabel(12, 12, "Depreciation model:")); page.Controls.Add(this.panStraightLine); this.tabs.Controls.Add (page); @@ -356,13 +289,13 @@ this.comDepMethod.SelectedIndexChanged += new EventHandler (comDepMethod_Change); this.txtPurchaceDate.Leave += new EventHandler (txtPurchaceDate_Leave); this.txtPurchaceValue.Leave += new EventHandler (txtPurchaceDate_Leave); - } + } - /** - * Builds the stratight line panel - **/ - void BuildStratightLinePanel () { + /** + * Builds the stratight line panel + **/ + void BuildStratightLinePanel () { Label label; this.panStraightLine = new Panel(); @@ -396,7 +329,20 @@ this.txtLifespan.Size = new Size(200, 64); this.txtLifespan.Leave += new EventHandler (txtLifespan_Leave); this.panStraightLine.Controls.Add (this.txtLifespan); - } - - } + } + + /** + * Creates a label + **/ + Label createLabel (int x, int y, string text) { + Label ret; + + ret = new Label(); + ret.AutoSize = true; + ret.Location = new Point(x, y); + ret.Text = text; + + return ret; + } + } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <The...@us...> - 2009-06-26 05:46:37
|
Revision: 46 http://asiter.svn.sourceforge.net/asiter/?rev=46&view=rev Author: TheJosh1234 Date: 2009-06-26 05:46:35 +0000 (Fri, 26 Jun 2009) Log Message: ----------- text Modified Paths: -------------- trunk/src/straight_line_dep_method.cs Modified: trunk/src/straight_line_dep_method.cs =================================================================== --- trunk/src/straight_line_dep_method.cs 2008-05-01 10:12:39 UTC (rev 45) +++ trunk/src/straight_line_dep_method.cs 2009-06-26 05:46:35 UTC (rev 46) @@ -57,14 +57,14 @@ // do some checks if (pLifespan <= 0) { - throw new Exception("invalid lifespan"); + throw new Exception("Invalid lifespan specified"); } if (pSalvage < 0) { - throw new Exception("invalid salvage value"); + throw new Exception("Invalid salvage value specified"); } - // how long have we had this item? if its more than the lifespan, use the salvage value. if its today, use the purchace value + // how long have we had this item? if its more than the lifespan, use the salvage value. If its today, use the purchace value ts = calc_date.Subtract(purchace_date); if ((decimal) ts.TotalDays / DaysPerYear >= pLifespan) { return pSalvage; @@ -76,6 +76,7 @@ // calculate the depreciation dep_per_year = (purchace_value - pSalvage) / pLifespan; calc_value = purchace_value - ((decimal) ts.TotalDays) * (dep_per_year / DaysPerYear); + return calc_value; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <the...@us...> - 2008-05-01 10:12:36
|
Revision: 45 http://asiter.svn.sourceforge.net/asiter/?rev=45&view=rev Author: thejosh1234 Date: 2008-05-01 03:12:39 -0700 (Thu, 01 May 2008) Log Message: ----------- - Changed the asset tree to expand all nodes by default. - Updated the example data file Modified Paths: -------------- trunk/example_asiter_data.xml trunk/src/frmmain.cs Modified: trunk/example_asiter_data.xml =================================================================== --- trunk/example_asiter_data.xml 2008-05-01 10:07:43 UTC (rev 44) +++ trunk/example_asiter_data.xml 2008-05-01 10:12:39 UTC (rev 45) @@ -1,122 +1,88 @@ <asiter> - <!-- - Rename to asiter_data.xml to see this data - --> <settings> <owner>Josh Heidenreich</owner> </settings> <assets> + <depreciation model="straight_line"> + <salvage-value>0</salvage-value> + <lifespan>5</lifespan> + </depreciation> <section name="Main hall"> <depreciation model="inheritance" /> - <section name="aaa"> + <section name="Media Desk"> <depreciation model="inheritance" /> - <section name="sdfsdf"> + <section name="Audio"> <depreciation model="inheritance" /> <asset> - <name>fdfdsfds</name> + <name>Mixer desk</name> <description>sffssf</description> <purchace-value>0</purchace-value> - <current-value>0</current-value> + <purchace-date>0001-01-01</purchace-date> <quantity>1</quantity> <manufacturer /> <model /> <depreciation model="inheritance" /> </asset> <asset> - <name>fssfsf</name> + <name>Recording computer</name> <description>sfsfsfs</description> <purchace-value>0</purchace-value> - <current-value>0</current-value> + <purchace-date>0001-01-01</purchace-date> <quantity>1</quantity> <manufacturer /> <model /> <depreciation model="inheritance" /> </asset> </section> + <section name="Video"> + <depreciation model="inheritance" /> + <asset> + <name>Camcorder</name> + <description /> + <purchace-value>0</purchace-value> + <purchace-date>0001-01-01</purchace-date> + <quantity>1</quantity> + <manufacturer /> + <model /> + <depreciation model="inheritance" /> + </asset> + </section> </section> <asset> - <name>THings</name> - <description /> - <purchace-value>0</purchace-value> - <current-value>0</current-value> - <quantity>1</quantity> - <manufacturer /> - <model /> - <depreciation model="inheritance" /> - </asset> - <asset> - <name>More things</name> - <description /> - <purchace-value>150</purchace-value> - <current-value>50</current-value> - <quantity>1</quantity> - <manufacturer /> - <model /> - <image>images/podium.jpg</image> - <depreciation model="straight_line" /> - </asset> - <asset> - <name>other things</name> - <description>Many blocks - make up a complete stage</description> - <purchace-value>0</purchace-value> - <current-value>0</current-value> - <quantity>1</quantity> - <manufacturer /> - <model /> - <image>images/stage_blocks.jpg</image> - <depreciation model="declining" /> - </asset> - <asset> - <name>water boiler</name> - <description>Birko -Tempo Tronic 5 -Serial: 27681, 29747</description> - <purchace-value>800</purchace-value> - <current-value>600</current-value> - <quantity>2</quantity> - <manufacturer /> - <model /> - <image>images/boiler.jpg</image> - <depreciation model="inheritance" /> - </asset> - <asset> - <name>Tresles</name> + <name>Chairs</name> <description>Small and large, plastic and wooden</description> <purchace-value>0</purchace-value> - <current-value>0</current-value> + <purchace-date>0001-01-01</purchace-date> <quantity>1</quantity> <manufacturer /> <model /> - <image>images/tresles.jpg</image> <depreciation model="inheritance" /> </asset> </section> <section name="Office"> <depreciation model="inheritance" /> <asset> - <name>PBAX</name> + <name>Telephones</name> <description>Commander BN series S338/879 Serial: PS-BN308512 5 phones telstra commander bn</description> - <purchace-value>10000</purchace-value> - <current-value>8000</current-value> + <purchace-value>24.00</purchace-value> + <purchace-date>0001-01-01</purchace-date> <quantity>1</quantity> <manufacturer /> <model /> - <image>images/pbax.jpg</image> <depreciation model="inheritance" /> </asset> <asset> <name>Photocopier</name> <description>Lanier</description> <purchace-value>7000</purchace-value> - <current-value>7000</current-value> + <purchace-date>0001-01-01</purchace-date> <quantity>1</quantity> <manufacturer /> <model /> - <image>images/photocopier.jpg</image> <depreciation model="inheritance" /> </asset> </section> @@ -126,12 +92,11 @@ Weathermaker 50k Serial: A1902-51</description> <purchace-value>0</purchace-value> - <current-value>0</current-value> + <purchace-date>0001-01-01</purchace-date> <quantity>1</quantity> <manufacturer /> <model /> - <image>images/air_conditioner.jpg</image> <depreciation model="inheritance" /> </asset> </assets> -</asiter> +</asiter> \ No newline at end of file Modified: trunk/src/frmmain.cs =================================================================== --- trunk/src/frmmain.cs 2008-05-01 10:07:43 UTC (rev 44) +++ trunk/src/frmmain.cs 2008-05-01 10:12:39 UTC (rev 45) @@ -61,11 +61,12 @@ **/ private void LoadNodes() { TreeNode node; + node = new TreeNode(); node.Text = "Assets"; node.Tag = Asiter.AssetTree; LoadNodeSubtree(Asiter.AssetTree, node); - node.Expand(); + node.ExpandAll(); tvAssets.Nodes.Clear(); tvAssets.Nodes.Add(node); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <the...@us...> - 2008-05-01 10:07:38
|
Revision: 44 http://asiter.svn.sourceforge.net/asiter/?rev=44&view=rev Author: thejosh1234 Date: 2008-05-01 03:07:43 -0700 (Thu, 01 May 2008) Log Message: ----------- - Renamed the example data file to example_asiter_data.xml - Renamed the logo to example_logo.png (it will not load on startup anymore) - Fixed a bug that would prevent the adding of sections Modified Paths: -------------- trunk/ABOUT trunk/src/frmmain.cs Added Paths: ----------- trunk/example_asiter_data.xml trunk/example_logo.png Removed Paths: ------------- trunk/asiter_example_data.xml trunk/logo.png Modified: trunk/ABOUT =================================================================== --- trunk/ABOUT 2008-05-01 09:52:29 UTC (rev 43) +++ trunk/ABOUT 2008-05-01 10:07:43 UTC (rev 44) @@ -14,10 +14,12 @@ NOTES: -* Please be aware of the fact that when you select an image, the image is LINKED in the database, not copied. You cannot remove or rename the image without - it becoming unlinked from the database. As a precaution, and to increase portability, Asiter will only allow images that are in the directory the +* Please be aware of the fact that when you select an image, the image is LINKED in the database, not copied. + You cannot remove or rename the image without it becoming unlinked from the database. + As a precaution, and to increase portability, Asiter will only allow images that are in the directory the executable is located, or a sub-directory. This restriction may be lifted in the future -* If you would like to move an asset, you will need to manually edit the asiter_data.xml file. Support for asset moving using the GUI is planned. +* If you would like to move an asset, you will need to manually edit the asiter_data.xml file. + Support for asset moving using the GUI is planned. For more information, see: Deleted: trunk/asiter_example_data.xml =================================================================== --- trunk/asiter_example_data.xml 2008-05-01 09:52:29 UTC (rev 43) +++ trunk/asiter_example_data.xml 2008-05-01 10:07:43 UTC (rev 44) @@ -1,137 +0,0 @@ -<asiter> - <!-- - Rename to asiter_data.xml to see this data - --> - <settings> - <owner>Josh Heidenreich</owner> - </settings> - <assets> - <section name="Main hall"> - <depreciation model="inheritance" /> - <section name="aaa"> - <depreciation model="inheritance" /> - <section name="sdfsdf"> - <depreciation model="inheritance" /> - <asset> - <name>fdfdsfds</name> - <description>sffssf</description> - <purchace-value>0</purchace-value> - <current-value>0</current-value> - <quantity>1</quantity> - <manufacturer /> - <model /> - <depreciation model="inheritance" /> - </asset> - <asset> - <name>fssfsf</name> - <description>sfsfsfs</description> - <purchace-value>0</purchace-value> - <current-value>0</current-value> - <quantity>1</quantity> - <manufacturer /> - <model /> - <depreciation model="inheritance" /> - </asset> - </section> - </section> - <asset> - <name>THings</name> - <description /> - <purchace-value>0</purchace-value> - <current-value>0</current-value> - <quantity>1</quantity> - <manufacturer /> - <model /> - <depreciation model="inheritance" /> - </asset> - <asset> - <name>More things</name> - <description /> - <purchace-value>150</purchace-value> - <current-value>50</current-value> - <quantity>1</quantity> - <manufacturer /> - <model /> - <image>images/podium.jpg</image> - <depreciation model="straight_line" /> - </asset> - <asset> - <name>other things</name> - <description>Many blocks - make up a complete stage</description> - <purchace-value>0</purchace-value> - <current-value>0</current-value> - <quantity>1</quantity> - <manufacturer /> - <model /> - <image>images/stage_blocks.jpg</image> - <depreciation model="declining" /> - </asset> - <asset> - <name>water boiler</name> - <description>Birko -Tempo Tronic 5 -Serial: 27681, 29747</description> - <purchace-value>800</purchace-value> - <current-value>600</current-value> - <quantity>2</quantity> - <manufacturer /> - <model /> - <image>images/boiler.jpg</image> - <depreciation model="inheritance" /> - </asset> - <asset> - <name>Tresles</name> - <description>Small and large, plastic and wooden</description> - <purchace-value>0</purchace-value> - <current-value>0</current-value> - <quantity>1</quantity> - <manufacturer /> - <model /> - <image>images/tresles.jpg</image> - <depreciation model="inheritance" /> - </asset> - </section> - <section name="Office"> - <depreciation model="inheritance" /> - <asset> - <name>PBAX</name> - <description>Commander BN series -S338/879 -Serial: PS-BN308512 -5 phones -telstra commander bn</description> - <purchace-value>10000</purchace-value> - <current-value>8000</current-value> - <quantity>1</quantity> - <manufacturer /> - <model /> - <image>images/pbax.jpg</image> - <depreciation model="inheritance" /> - </asset> - <asset> - <name>Photocopier</name> - <description>Lanier</description> - <purchace-value>7000</purchace-value> - <current-value>7000</current-value> - <quantity>1</quantity> - <manufacturer /> - <model /> - <image>images/photocopier.jpg</image> - <depreciation model="inheritance" /> - </asset> - </section> - <asset> - <name>Air Conditioner</name> - <description>Carrier -Weathermaker 50k -Serial: A1902-51</description> - <purchace-value>0</purchace-value> - <current-value>0</current-value> - <quantity>1</quantity> - <manufacturer /> - <model /> - <image>images/air_conditioner.jpg</image> - <depreciation model="inheritance" /> - </asset> - </assets> -</asiter> Copied: trunk/example_asiter_data.xml (from rev 42, trunk/asiter_example_data.xml) =================================================================== --- trunk/example_asiter_data.xml (rev 0) +++ trunk/example_asiter_data.xml 2008-05-01 10:07:43 UTC (rev 44) @@ -0,0 +1,137 @@ +<asiter> + <!-- + Rename to asiter_data.xml to see this data + --> + <settings> + <owner>Josh Heidenreich</owner> + </settings> + <assets> + <section name="Main hall"> + <depreciation model="inheritance" /> + <section name="aaa"> + <depreciation model="inheritance" /> + <section name="sdfsdf"> + <depreciation model="inheritance" /> + <asset> + <name>fdfdsfds</name> + <description>sffssf</description> + <purchace-value>0</purchace-value> + <current-value>0</current-value> + <quantity>1</quantity> + <manufacturer /> + <model /> + <depreciation model="inheritance" /> + </asset> + <asset> + <name>fssfsf</name> + <description>sfsfsfs</description> + <purchace-value>0</purchace-value> + <current-value>0</current-value> + <quantity>1</quantity> + <manufacturer /> + <model /> + <depreciation model="inheritance" /> + </asset> + </section> + </section> + <asset> + <name>THings</name> + <description /> + <purchace-value>0</purchace-value> + <current-value>0</current-value> + <quantity>1</quantity> + <manufacturer /> + <model /> + <depreciation model="inheritance" /> + </asset> + <asset> + <name>More things</name> + <description /> + <purchace-value>150</purchace-value> + <current-value>50</current-value> + <quantity>1</quantity> + <manufacturer /> + <model /> + <image>images/podium.jpg</image> + <depreciation model="straight_line" /> + </asset> + <asset> + <name>other things</name> + <description>Many blocks - make up a complete stage</description> + <purchace-value>0</purchace-value> + <current-value>0</current-value> + <quantity>1</quantity> + <manufacturer /> + <model /> + <image>images/stage_blocks.jpg</image> + <depreciation model="declining" /> + </asset> + <asset> + <name>water boiler</name> + <description>Birko +Tempo Tronic 5 +Serial: 27681, 29747</description> + <purchace-value>800</purchace-value> + <current-value>600</current-value> + <quantity>2</quantity> + <manufacturer /> + <model /> + <image>images/boiler.jpg</image> + <depreciation model="inheritance" /> + </asset> + <asset> + <name>Tresles</name> + <description>Small and large, plastic and wooden</description> + <purchace-value>0</purchace-value> + <current-value>0</current-value> + <quantity>1</quantity> + <manufacturer /> + <model /> + <image>images/tresles.jpg</image> + <depreciation model="inheritance" /> + </asset> + </section> + <section name="Office"> + <depreciation model="inheritance" /> + <asset> + <name>PBAX</name> + <description>Commander BN series +S338/879 +Serial: PS-BN308512 +5 phones +telstra commander bn</description> + <purchace-value>10000</purchace-value> + <current-value>8000</current-value> + <quantity>1</quantity> + <manufacturer /> + <model /> + <image>images/pbax.jpg</image> + <depreciation model="inheritance" /> + </asset> + <asset> + <name>Photocopier</name> + <description>Lanier</description> + <purchace-value>7000</purchace-value> + <current-value>7000</current-value> + <quantity>1</quantity> + <manufacturer /> + <model /> + <image>images/photocopier.jpg</image> + <depreciation model="inheritance" /> + </asset> + </section> + <asset> + <name>Air Conditioner</name> + <description>Carrier +Weathermaker 50k +Serial: A1902-51</description> + <purchace-value>0</purchace-value> + <current-value>0</current-value> + <quantity>1</quantity> + <manufacturer /> + <model /> + <image>images/air_conditioner.jpg</image> + <depreciation model="inheritance" /> + </asset> + </assets> +</asiter> Copied: trunk/example_logo.png (from rev 42, trunk/logo.png) =================================================================== (Binary files differ) Deleted: trunk/logo.png =================================================================== (Binary files differ) Modified: trunk/src/frmmain.cs =================================================================== --- trunk/src/frmmain.cs 2008-05-01 09:52:29 UTC (rev 43) +++ trunk/src/frmmain.cs 2008-05-01 10:07:43 UTC (rev 44) @@ -188,12 +188,13 @@ // create a new section new_section = new Section(); + new_section.Parent = node; form = new frmSection(); form.Section = new_section; + // if the user clicked 'OK', add the section if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK) { node.ChildrenSections.Add(new_section); - new_section.Parent = node; LoadNodes(); pDirty = true; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <the...@us...> - 2008-05-01 09:55:53
|
Revision: 43 http://asiter.svn.sourceforge.net/asiter/?rev=43&view=rev Author: thejosh1234 Date: 2008-05-01 02:52:29 -0700 (Thu, 01 May 2008) Log Message: ----------- Website Modified Paths: -------------- website/features.php website/news.php website/screenshots.php Modified: website/features.php =================================================================== --- website/features.php 2008-01-12 06:13:55 UTC (rev 42) +++ website/features.php 2008-05-01 09:52:29 UTC (rev 43) @@ -6,12 +6,13 @@ <p>Asiter supports the following features:</p> <ul> + <li>Depreciation support (both straight-line and declining) + <li>Support for multiple images per asset <li>Asiter is 100% standalone, and does not require installation <li>Asiter will run on both Linux and Windows as well as all the supported platforms of Mono <li>Asiter does not have any additional dependencies (such as sql databases or gtk) <li>Asiter automatically detects if its environment is read-only (e.g. when burnt onto a CD-ROM), and disables the editing elements of its interface <li>Assets are stored in a hierichal tree that can have unlimited depth - <li>Assets can have multiple images <li>Assets are stored as xml files allowing increased portability <li>Asiter is GPL 3 <li>Asiter is free! (in both forms of the word) @@ -21,8 +22,8 @@ <p>Asiter is currently in development, therefore you can expect some of the following features soon:</p> <ul> - <li>Support for automatically-calculated depreciation values - <li>Multiple languages + <li>Multiple language support + <li>Exporter tool for exporing the application and all data files to a device </ul> Modified: website/news.php =================================================================== --- website/news.php 2008-01-12 06:13:55 UTC (rev 42) +++ website/news.php 2008-05-01 09:52:29 UTC (rev 43) @@ -5,6 +5,19 @@ <p>This is the Asiter news</p> + +<h2>Asiter 0.3-pre1 Released!</h2> +<p>The Asiter Development Team are very excited to announce the first pre-release of Asiter 0.3!</p> +<p>Asiter 0.3 has tons of new features, including:</p> +<ul> +<li>Depreciation support, with both straight-line depreciation, declining depreciation, and a mode to inherit the depreciation + details from the parent section or from the defaults</li> +<li>A new file format, removing some of the naming restrictions of the previous format. Your data will be automatically updated.</li> +<li>A reworked GUI</li> +<li>Downgraded from .NET 2.0 to .NET 1.1 to increase portability</li> +</ul> + + <h2>Asiter 0.2 Released!</h2> <p>Only about 3 days after Asiter 0.1 was released, the Asiter development team is proud to release Asiter 0.2! </p> <p>This release of Asiter fixes numerous bugs that were found in Asiter 0.1, as well as introducing a few new features, Modified: website/screenshots.php =================================================================== --- website/screenshots.php 2008-01-12 06:13:55 UTC (rev 42) +++ website/screenshots.php 2008-05-01 09:52:29 UTC (rev 43) @@ -8,22 +8,14 @@ <table class="screenshots"> <tr> <td> - <img src="http://sourceforge.net/dbimage.php?id=148656" width="598" height="429"> + <img src="http://sourceforge.net/dbimage.php?id=155447" width="403" height="480"> </td> - - <td> - <img src="http://sourceforge.net/dbimage.php?id=148151" width="310" height="400"> - </td> </tr> <tr> - <td style="width: 450px;"> - Asiter 0.2 running on Linux under Mono. Asiter also runs under Windows using the Microsoft .NET framework. + <td style="width: 403px;"> + Asiter 0.3-pre1, editing an asset </td> - - <td style="width: 310px;"> - Asiter detects if its data directory is readonly (e.g. when burnt to a CD-ROM), and automatically disables asset editing. - </td> </tr> </table> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |