public TechTalk() { Make = "<Any>"; Model = "<Any>"; Series = "<Any>"; Title = "Ford Recall - Steering Rack Stud Alert"; var s = new Section() { Title = "content", Order = 1 }; Sections.Add(s); s.Elements.Add(new TextContent() { Title = "Ford Recall", Order = 1, ElementContent = DataContext.GetContent("tt1") }); var d = new Section() { Order = 2, Title = "Diagrams" }; Sections.Add(d); d.Elements.Add(new Resource() { Title = "Diag 1", Order = 1 }); }
public fordService() { Make = "Ford"; Model = "Fairlaine"; Series = "BF"; YearFrom = 2005; YearTO = 2007; Title = "Service Schedule"; //var notes = new Section() //{ // Order = 1, // Title = "Service Notes" //}; //Sections.Add(notes); //notes.Elements.Add(new TextContent() { Title = "Service Notes", Order = 1, ElementContent = "*Severe Service applies to vehicles that are used in adverse conditions.<br />These items are serviced more frequently (see Service Schedule)." }); var ss = new Section() { Order = 2, Title = "Service Schedule" }; Sections.Add(ss); ss.Elements.Add(new fordServiceSchedule() { Order = 1, Title = "Service Schedule" }); //ss.Elements.Add(new TextContent() {Order = 2, Title = "Footer", ElementContent = "<p><b>Legend: A = Adjust, C = Clean, D = Drain, I = Inspect, L = Lubricate, R = Replace, T = Tension</b></p><p><b>N/A = Not Applicable, N/S = Not Stated</b></p<p><b>*Severe Service:</b><b>(1)</b> = Driving less than 10,000 km in 6 months or continual short trips less than 10 km. <b>(2)</b> = Driving in dust, dirt, sand. <b>(3)</b> = Driving in muddy, wet, or humid areas. <b>(4)</b> = Driving in temperatures below 5°C with most trips less than 10 km. <b>(5)</b> = Stop/start driving, excessive idling or low speed operation eg. taxi, delivery vehicle. <b>(6)</b> = Caravan/trailer towing or high roof racks. <b>(7)</b> = Extended heavy load high speed operation in temperatures above 35°C. <b>(8)</b> = Driving in excess of 250,000 km per 5 years. <b>(9)</b> = Driving at frequent or prolonged high speeds.</p>" }); }
public engineManagement() { Make = "Audi"; Model = "Q7"; Series = "3.6L BHK"; YearFrom = 2006; YearTO = 2011; Title = "Engine Management"; var tuProcedures = new Section() { Order = 1, Title = "Tune Up Procedures" }; Sections.Add(tuProcedures); tuProcedures.Elements.Add(new TextContent() { Order = 1, Title = "Idle Speed", ElementContent = "<p>Can not be adjusted</p>" }); tuProcedures.Elements.Add(new TableContent() { Order = 2, Title = "", ElementContent = "<table><tr><th>Condition</th><th>Specification</th></tr><tr><td >Idle</td><td 600 - 800 rpm </td></tr></tbody></table>" }); tuProcedures.Elements.Add(new TableContent() { Order = 3, Title = "Spark Plugs", ElementContent = "<table><tr><th>Spark Plug</th><th>Gap</th></tr><tr><td> NGK ILZKR7A</td><td> 0.9mm</td></tr></table>" }); tuProcedures.Elements.Add(new TextContent() { Order = 4, Title = "Ignition Timing", ElementContent = "Can not be adjusted" }); tuProcedures.Elements.Add(new TextContent() { Order = 5, Title = "Fuel Pressure", ElementContent = "<ol><li>Battery Voltage must be 12.5V</li><li>Fuel tank must be at least a quarter full</li><li>Fuel pump control unit is at the front of the fuel tank above the exhaust and prop shaft.</li><li>Unplug the connector from the fuel pump control unit.</li><li>Connect remote switch.</li><li>Disconnect fuel line to fuel rail.</li><li>Fit fuel pressure gauge.</li></ol>" }); tuProcedures.Elements.Add(new TableContent() { Order = 6, Title = "", ElementContent = "<table><tr><th>Condition</th><th>Fuel Pressure</th></tr><tr><td>Idle</td><td >600 kPa (87 psi)</td></tr></tbody></table>" }); tuProcedures.Elements.Add(new TextContent() { Order = 7, Title = "Accelerator Pedal Position Relearn", ElementContent = "N/S" }); tuProcedures.Elements.Add(new TextContent() { Order = 8, Title = "Throttle Valve Closed Position Relearn", ElementContent = "add description" }); var faultCodeAccess = new Section() { Title = "Fault Code Access", Order = 2 }; Sections.Add(faultCodeAccess); faultCodeAccess.Elements.Add(new TextContent() { Title = "", Order = 1, ElementContent = "<p >Data link connector is under the dash on the driver side.</p><h4>Reading Codes</h4><p>A suitable diagnostic scan tool is required to extract fault codes.</p><h4>Erasing Codes</h4><p>A suitable diagnostic scan tool is required to erase fault codes.</p>" }); var faultCodeTable = new Section() { Title = "Fault Code Table", Order = 3 }; Sections.Add(faultCodeTable); faultCodeTable.Elements.Add(new TableContent() { Title = "Fault Code Access", Order = 1, ElementContent = DataContext.GetContent("emFaultCodes") }); var ci = new Section() { Title = "Component Inspection", Order = 4 }; Sections.Add(ci); ci.Elements.Add(new TextContent() { Title = "Component Inspection", Order = 1, ElementContent = "No information available" }); var pd= new Section() { Title = "PINDATA", Order = 5 }; Sections.Add(pd); pd.Elements.Add(new TextContent() { Order = 1, Title = "60 Pin Connector", ElementContent = DataContext.GetContent("efPinData60") }); pd.Elements.Add(new TextContent() { Order = 2, Title = "94 Pin Connector", ElementContent = DataContext.GetContent("efPinData94") }); var d = new Section() { Title = "Diagrams", Order = 7 }; Sections.Add(d); d.Elements.Add(new Resource() { Order = 1, Title = "Component Locations" }); d.Elements.Add(new Resource() { Order = 2, Title = "Under Bonnet Locations" }); d.Elements.Add(new Resource() { Order = 3, Title = "Connectors" }); d.Elements.Add(new Resource() { Order = 4, Title = "Wiring Diagram" }); d.Elements.Add(new Resource() { Order = 5, Title = "Diagram 5" }); d.Elements.Add(new Resource() { Order = 6, Title = "Diagram 6" }); }
public autoTransmissionArticle() { Make = "Holden"; Model = "Commodore"; Series = "VC"; YearFrom = 1980; YearTO = 1982; Title = "Auto Transmission"; Engines.Add(new Engine() { Name = "2.1 xxaaa", YearFrom = 1980, YearTo = 1981 }); Engines.Add(new Engine() { Name = "3.1 bd", YearFrom = 1981, YearTo = 1982 }); Resources.Add(new Resource() { Name = "HeaderImage", Title="Main", ResourceId = Guid.NewGuid(), Location = new Uri("/images/holdenvc.jpg", UriKind.Relative)}); /// /// Lubrication Section /// var lubricationSection = new Section() { Order = 1, Title = "Lubrication" }; lubricationSection.Attributes.Add(new to_lib.Attribute() { Name = "autoShow", Value = "true" }); lubricationSection.Attributes.Add(new to_lib.Attribute() { Name = "class", Value = "articeSection" }); lubricationSection.Tags.Add(new Tag() { Value = "Lubrication" }); Sections.Add(lubricationSection); lubricationSection.Elements.Add(new TableContent() { Title = "SPECIFICATIONS", ElementContent = DataContext.GetContent("lubeTableData"), Order = 1 }); lubricationSection.Elements.Add(new TableContent() { Title = "Torque Specifications", Order = 2, ElementContent = DataContext.GetContent("lubeTorqueSpecs") }); lubricationSection.Elements.Add(new TextContent() { Title = "Service Notes", Order = 3, ElementContent = DataContext.GetContent("serviceNotes") }); lubricationSection.Elements.Add(new TextContent() { Title = "Band Adustment Procedure", Order = 4, ElementContent = DataContext.GetContent("bandAdjustment") }); lubricationSection.Elements.Add(new TextContent() { Title = "Level Checking Procedure", Order = 5, ElementContent = DataContext.GetContent("levelCheckingProcedure") }); /// /// Fault Codes Section /// var faultCodes = new Section() { Order = 2, Title = "Fault Code Access" }; faultCodes.Attributes.Add(new to_lib.Attribute() { Name = "autoShow", Value = "false" }); faultCodes.Attributes.Add(new to_lib.Attribute() { Name = "class", Value = "articeSection" }); faultCodes.Tags.Add(new Tag() { Value = "FaultCodeAccess" }); faultCodes.Elements.Add(new TextContent() { Title = "Code Access", Order = 1, ElementContent = DataContext.GetContent("codeACcess") }); Sections.Add(faultCodes); /// /// Fault Code List Section /// var faultCodeList = new Section() { Order = 3, Title = "Fault Codes" }; faultCodeList.Attributes.Add(new to_lib.Attribute() { Name = "autoShow", Value = "false" }); faultCodeList.Attributes.Add(new to_lib.Attribute() { Name = "class", Value = "articeSection" }); faultCodeList.Tags.Add(new Tag() { Value = "faultCodes" }); faultCodeList.Elements.Add(new TableContent() { Title = "Fault Codes", Order = 1, ElementContent = DataContext.GetContent("faultCodes") }); Sections.Add(faultCodeList); /// /// Component Inspection Section /// var componentInsepctionSection = new Section() { Order = 3, Title = "Component Inspection" }; componentInsepctionSection.Attributes.Add(new to_lib.Attribute() { Name = "autoShow", Value = "false" }); componentInsepctionSection.Attributes.Add(new to_lib.Attribute() { Name = "class", Value = "articeSection" }); componentInsepctionSection.Tags.Add(new Tag() { Value = "componentInspection" }); componentInsepctionSection.Elements.Add(new TextContent() { Order = 1, Title = "Component Inspection", ElementContent = "N/A" }); Sections.Add(componentInsepctionSection); /// /// Pin Data Section /// var pinDataSection = new Section() { Order = 3, Title = "Pindata" }; pinDataSection.Attributes.Add(new to_lib.Attribute() { Name = "autoShow", Value = "false" }); pinDataSection.Attributes.Add(new to_lib.Attribute() { Name = "class", Value = "articeSection" }); pinDataSection.Tags.Add(new Tag() { Value = "pindata" }); pinDataSection.Elements.Add(new TableContent() { Order = 1, Title = "Pin Data", ElementContent = DataContext.GetContent("pindata") }); Sections.Add(pinDataSection); var diagramsSection = new Section() { Order = 4, Title = "Diagrams" }; pinDataSection.Attributes.Add(new to_lib.Attribute() { Name = "autoShow", Value = "false" }); pinDataSection.Attributes.Add(new to_lib.Attribute() { Name = "class", Value = "articeSection" }); pinDataSection.Tags.Add(new Tag() { Value = "diagrams" }); diagramsSection.Elements.Add(new Resource() { Order = 1, Title = "Component Locations", Location = new Uri("images/AT1003_thumb.gif", UriKind.RelativeOrAbsolute) }); diagramsSection.Elements.Add(new Resource() { Order = 1, Title = "Filler Location", Location = new Uri("images/AT1081_thumb.gif", UriKind.RelativeOrAbsolute) }); diagramsSection.Elements.Add(new Resource() { Order = 1, Title = "Valve Body Layout", Location = new Uri("images/AT1076_thumb.gif", UriKind.RelativeOrAbsolute) }); diagramsSection.Elements.Add(new Resource() { Order = 1, Title = "Wiring Diagram", Location = new Uri("images/AT1087_thumb.gif", UriKind.RelativeOrAbsolute) }); diagramsSection.Elements.Add(new Resource() { Order = 1, Title = "Wiring Diagram", Location = new Uri("images/AT1089_thumb.gif", UriKind.RelativeOrAbsolute) }); diagramsSection.Elements.Add(new Resource() { Order = 1, Title = "Wiring Diagram", Location = new Uri("images/AT1002_thumb.gif", UriKind.RelativeOrAbsolute) }); Sections.Add(diagramsSection); }