diff --git a/DB/altium_library/Views/Button - Push.sql b/DB/altium_library/Views/Button - Push.sql new file mode 100644 index 000000000..969336d6f --- /dev/null +++ b/DB/altium_library/Views/Button - Push.sql @@ -0,0 +1,45 @@ + +CREATE VIEW [dbo].[Button - Push] AS +SELECT TOP (100) PERCENT PartId, + Value, + COMMENT, + MfrPartNo AS [Part Number], + Manufacturer, + Description, + Supplier1 AS [Supplier 1], + Supplier1PartNo AS [Supplier Part Number 1], + FootprintRef AS [Footprint Ref], + FootprintPath AS [Footprint Path], + SymbolRef AS [Library Ref], + SymbolPath AS [Library Path], + ComponentLink1Description, + ComponentLink1URL, + ComponentLink2Description, + ComponentLink2URL, + ComponentLink3Description, + ComponentLink3URL, + Supplier2 AS [Supplier 2], + Supplier2PartNo AS [Supplier Part Number 2], + FootprintRef2 AS [Footprint Ref 2], + FootprintPath2 AS [Footprint Path 2], + FootprintRef3 AS [Footprint Ref 3], + FootprintPath3 AS [Footprint Path 3], + Price, + TYPE, + DevicePackage AS [Device Package], + Series, + Circuit, + SwitchFunction AS [Switch Function], + ContactRatingAtVoltage AS [Contact Rating @ Voltage], + ActuatorType AS [Actuator Type], + ActuatorOrientation AS [Actuator Orientation], + Illumination, + IlluminationVoltage AS [Illumination Voltage], + IlluminationTypeColour AS [Illumination Type, Colour], + OperatingForce AS [Operating Force], + SwitchTravel AS [Switch Travel], + MechanicalLife AS [Mechanical Life], + TemperatureRange AS [Operating Temperature] +FROM dbo.Components +WHERE (ComponentType = 'BUTTON') + AND (ComponentSubType = 'PUSH') \ No newline at end of file diff --git a/DB/altium_library/Views/Button - Slide.sql b/DB/altium_library/Views/Button - Slide.sql new file mode 100644 index 000000000..448b38977 --- /dev/null +++ b/DB/altium_library/Views/Button - Slide.sql @@ -0,0 +1,46 @@ + +CREATE VIEW [dbo].[Button - Slide] AS +SELECT TOP (100) PERCENT PartId, + Value, + COMMENT, + MfrPartNo AS [Part Number], + Manufacturer, + Description, + Supplier1 AS [Supplier 1], + Supplier1PartNo AS [Supplier Part Number 1], + FootprintRef AS [Footprint Ref], + FootprintPath AS [Footprint Path], + SymbolRef AS [Library Ref], + SymbolPath AS [Library Path], + ComponentLink1Description, + ComponentLink1URL, + ComponentLink2Description, + ComponentLink2URL, + ComponentLink3Description, + ComponentLink3URL, + Supplier2 AS [Supplier 2], + Supplier2PartNo AS [Supplier Part Number 2], + FootprintRef2 AS [Footprint Ref 2], + FootprintPath2 AS [Footprint Path 2], + FootprintRef3 AS [Footprint Ref 3], + FootprintPath3 AS [Footprint Path 3], + Price, + TYPE, + DevicePackage AS [Device Package], + Series, + Circuit, + SwitchFunction AS [Switch Function], + ContactRatingAtVoltage AS [Contact Rating @ Voltage], + ActuatorType AS [Actuator Type], + ActuatorOrientation AS [Actuator Orientation], + Illumination, + IlluminationVoltage AS [Illumination Voltage], + IlluminationTypeColour AS [Illumination Type, Colour], + OperatingForce AS [Operating Force], + SwitchTravel AS [Switch Travel], + MechanicalLife AS [Mechanical Life], + SizeDimension AS [Outline], + TemperatureRange AS [Operating Temperature] +FROM dbo.Components +WHERE (ComponentType = 'BUTTON') + AND (ComponentSubType = 'SLIDE') \ No newline at end of file diff --git a/DB/altium_library/Views/Button - Tactile.sql b/DB/altium_library/Views/Button - Tactile.sql index 1b3c969d2..1ff115a1e 100644 --- a/DB/altium_library/Views/Button - Tactile.sql +++ b/DB/altium_library/Views/Button - Tactile.sql @@ -1,14 +1,48 @@ -CREATE VIEW dbo.[Button - Tactile] -AS -SELECT TOP (100) PERCENT PartId, Value, Comment, MfrPartNo AS [Part Number], Manufacturer, Description, Supplier1 AS [Supplier 1], Supplier1PartNo AS [Supplier Part Number 1], FootprintRef AS [Footprint Ref], - FootprintPath AS [Footprint Path], SymbolRef AS [Library Ref], SymbolPath AS [Library Path], ComponentLink1Description, ComponentLink1URL, ComponentLink2Description, ComponentLink2URL, - ComponentLink3Description, ComponentLink3URL, Supplier2 AS [Supplier 2], Supplier2PartNo AS [Supplier Part Number 2], FootprintRef2 AS [Footprint Ref 2], FootprintPath2 AS [Footprint Path 2], - FootprintRef3 AS [Footprint Ref 3], FootprintPath3 AS [Footprint Path 3], Price, Type, DevicePackage AS [Device Package], Series, Circuit, SwitchFunction AS [Switch Function], - ContactRatingAtVoltage AS [Contact Rating @ Voltage], ActuatorType AS [Actuator Type], ActuatorOrientation AS [Actuator Orientation], Illumination, IlluminationVoltage AS [Illumination Voltage], - IlluminationTypeColour AS [Illumination Type, Colour], OperatingForce AS [Operating Force], SwitchTravel AS [Switch Travel], MechanicalLife AS [Mechanical Life], - TemperatureRange AS [Operating Temperature] -FROM dbo.Components -WHERE (ComponentType = 'BUTTON') AND (ComponentSubType = 'TACT') +CREATE VIEW [dbo].[Button - Tactile] AS +SELECT TOP (100) PERCENT PartId, + Value, + COMMENT, + MfrPartNo AS [Part Number], + Manufacturer, + Description, + Supplier1 AS [Supplier 1], + Supplier1PartNo AS [Supplier Part Number 1], + FootprintRef AS [Footprint Ref], + FootprintPath AS [Footprint Path], + SymbolRef AS [Library Ref], + SymbolPath AS [Library Path], + ComponentLink1Description, + ComponentLink1URL, + ComponentLink2Description, + ComponentLink2URL, + ComponentLink3Description, + ComponentLink3URL, + Supplier2 AS [Supplier 2], + Supplier2PartNo AS [Supplier Part Number 2], + FootprintRef2 AS [Footprint Ref 2], + FootprintPath2 AS [Footprint Path 2], + FootprintRef3 AS [Footprint Ref 3], + FootprintPath3 AS [Footprint Path 3], + Price, + TYPE, + DevicePackage AS [Device Package], + Series, + Circuit, + SwitchFunction AS [Switch Function], + ContactRatingAtVoltage AS [Contact Rating @ Voltage], + ActuatorType AS [Actuator Type], + ActuatorOrientation AS [Actuator Orientation], + Illumination, + IlluminationVoltage AS [Illumination Voltage], + IlluminationTypeColour AS [Illumination Type, Colour], + OperatingForce AS [Operating Force], + SwitchTravel AS [Switch Travel], + MechanicalLife AS [Mechanical Life], + SizeDimension AS [Outline], + TemperatureRange AS [Operating Temperature] +FROM dbo.Components +WHERE (ComponentType = 'BUTTON') + AND (ComponentSubType = 'TACT') GO EXECUTE sp_addextendedproperty @name = N'MS_DiagramPane1', @value = N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = diff --git a/DB/altium_library/altium_library.dbmdl b/DB/altium_library/altium_library.dbmdl new file mode 100644 index 000000000..0ab75ceb3 Binary files /dev/null and b/DB/altium_library/altium_library.dbmdl differ diff --git a/DB/altium_library/altium_library.sqlproj b/DB/altium_library/altium_library.sqlproj index 0255a6b2e..fcc7fa6bc 100644 --- a/DB/altium_library/altium_library.sqlproj +++ b/DB/altium_library/altium_library.sqlproj @@ -140,5 +140,7 @@ <Build Include="Views\Interface - Ethernet.sql" /> <Build Include="Views\Interface - CAN.sql" /> <Build Include="Views\Connector - RF.sql" /> + <Build Include="Views\Button - Slide.sql" /> + <Build Include="Views\Button - Push.sql" /> </ItemGroup> </Project> \ No newline at end of file