| | |
| | | firstColumn := xmlDOM.CreateElement( "column" ); |
| | | firstName := xmlDOM.CreateElement( "name" ); |
| | | firstType := xmlDOM.CreateElement( "type" ); |
| | | firstName.TextContent( "" ); |
| | | firstName.TextContent( "*" ); |
| | | firstType.TextContent( "String" ); |
| | | firstColumn.AppendChild( firstName ); |
| | | firstColumn.AppendChild( firstType ); |
| | |
| | | secondColumn := xmlDOM.CreateElement( "column" ); |
| | | secondName := xmlDOM.CreateElement( "name" ); |
| | | secondType := xmlDOM.CreateElement( "type" ); |
| | | secondName.TextContent( "" ); |
| | | secondName.TextContent( "*" ); |
| | | secondType.TextContent( "String" ); |
| | | secondColumn.AppendChild( secondName ); |
| | | secondColumn.AppendChild( secondType ); |
| | |
| | | cells := selectsortedset( cerc, CC_EngineRackCell, tempCELL, true, tempCELL.CC_EngineRackRow().Name() ); |
| | | traverse ( cells, Elements, c ) { |
| | | cell := xmlDOM.CreateElement( "cell" ); |
| | | cell.SetAttribute( "value", [String]c.TotalQuantityOfMaterialRacks() ); // ææ¶æ»æ°é |
| | | cell.SetAttribute( "value", [String]c.TotalQuantityOfMaterialRacks().Round( 0 ) ); // ææ¶æ»æ°é |
| | | cellColumn.AppendChild( cell ); |
| | | |
| | | cell := xmlDOM.CreateElement( "cell" ); |
| | | cell.SetAttribute( "value", [String]c.NumberOfEmptyShelves() ); // ç©ºææ¶æ°é |
| | | cell.SetAttribute( "value", [String]c.NumberOfEmptyShelves().Round( 0 ) ); // ç©ºææ¶æ°é |
| | | cellColumn.AppendChild( cell ); |
| | | |
| | | cell := xmlDOM.CreateElement( "cell" ); |
| | | cell.SetAttribute( "value", [String]c.StorageFeesForRentedWarehouses() ); // å¤ç§åºå
¥åºè´¹ç¨ |
| | | cell.SetAttribute( "value", [String]c.StorageFeesForRentedWarehouses().Round( 0 ) ); // å¤ç§åºå
¥åºè´¹ç¨ |
| | | cellColumn.AppendChild( cell ); |
| | | |
| | | cell := xmlDOM.CreateElement( "cell" ); |
| | | cell.SetAttribute( "value", [String]c.OutboundExpensesForRentedWarehouses() ); // å¤ç§åºåºåºè´¹ç¨ |
| | | cell.SetAttribute( "value", [String]c.OutboundExpensesForRentedWarehouses().Round( 0 ) ); // å¤ç§åºåºåºè´¹ç¨ |
| | | cellColumn.AppendChild( cell ); |
| | | |
| | | cell := xmlDOM.CreateElement( "cell" ); |
| | | cell.SetAttribute( "value", [String]c.ExternalRentalWarehouseTransportationCosts() ); // å¤ç§åºè¿è¾è´¹ç¨ |
| | | cell.SetAttribute( "value", [String]c.ExternalRentalWarehouseTransportationCosts().Round( 0 ) ); // å¤ç§åºè¿è¾è´¹ç¨ |
| | | cellColumn.AppendChild( cell ); |
| | | |
| | | cell := xmlDOM.CreateElement( "cell" ); |
| | | cell.SetAttribute( "value", [String]c.RentalWarehouseStorageFees() ); // å¤ç§åºä»å¨è´¹ç¨ |
| | | cell.SetAttribute( "value", [String]c.RentalWarehouseStorageFees().Round( 0 ) ); // å¤ç§åºä»å¨è´¹ç¨ |
| | | cellColumn.AppendChild( cell ); |
| | | |
| | | cell := xmlDOM.CreateElement( "cell" ); |
| | | cell.SetAttribute( "value", [String]c.CleaningCost() ); // æ¸
æ´è´¹ç¨ |
| | | cell.SetAttribute( "value", [String]c.CleaningCost().Round( 0 ) ); // æ¸
æ´è´¹ç¨ |
| | | cellColumn.AppendChild( cell ); |
| | | |
| | | cell := xmlDOM.CreateElement( "cell" ); |
| | | cell.SetAttribute( "value", [String]c.EstimatedTotalCost() ); // é¢è®¡æ»è´¹ç¨ |
| | | cell.SetAttribute( "value", [String]c.EstimatedTotalCost().Round( 0 ) ); // é¢è®¡æ»è´¹ç¨ |
| | | cellColumn.AppendChild( cell ); |
| | | |
| | | cell := xmlDOM.CreateElement( "cell" ); |
| | | cell.SetAttribute( "value", [String]c.Coefficient() ); // ç³»æ° |
| | | cell.SetAttribute( "value", [String]c.Coefficient().Round( 0 ) ); // ç³»æ° |
| | | cellColumn.AppendChild( cell ); |
| | | |
| | | cell := xmlDOM.CreateElement( "cell" ); |
| | | cell.SetAttribute( "value", [String]c.TotalCost() ); // æ»è´¹ç¨ |
| | | cell.SetAttribute( "value", [String]c.TotalCost().Round( 0 ) ); // æ»è´¹ç¨ |
| | | cellColumn.AppendChild( cell ); |
| | | } |
| | | tableElement.AppendChild( cellColumn ); |