|
1 | | -from .namespaces import BRICK, RDFS, SKOS, A, REC |
| 1 | +from .namespaces import BRICK, RDFS, SKOS, A, QUDTQK |
2 | 2 |
|
3 | 3 | deprecations = { |
4 | 4 | BRICK.Speed_Status: { |
|
629 | 629 | BRICK.Discharge_Water_Temperature_Sensor, |
630 | 630 | ], |
631 | 631 | }, |
| 632 | + |
| 633 | + BRICK.Electric_Current: { |
| 634 | + "version": "1.4.4", |
| 635 | + "mitigation_message": "Brick-defined quantity 'Electric_Current' is deprecated. Use the equivalent QUDT quantity 'qudt:QuantityKind/ElectricCurrent' directly.", |
| 636 | + "replace_with": QUDTQK.ElectricCurrent, |
| 637 | + }, |
| 638 | + BRICK.Voltage: { |
| 639 | + "version": "1.4.4", |
| 640 | + "mitigation_message": "Brick-defined quantity 'Voltage' is deprecated. Use the equivalent QUDT quantity 'qudt:QuantityKind/Voltage' directly.", |
| 641 | + "replace_with": QUDTQK.Voltage, |
| 642 | + }, |
| 643 | + BRICK.Thermal_Energy: { |
| 644 | + "version": "1.4.4", |
| 645 | + "mitigation_message": "Brick-defined quantity 'Thermal_Energy' is deprecated. Use the equivalent QUDT quantity 'qudt:QuantityKind/ThermalEnergy' directly.", |
| 646 | + "replace_with": QUDTQK.ThermalEnergy, |
| 647 | + }, |
| 648 | + BRICK.Frequency: { |
| 649 | + "version": "1.4.4", |
| 650 | + "mitigation_message": "Brick-defined quantity 'Frequency' is deprecated. Use the equivalent QUDT quantity 'qudt:QuantityKind/Frequency' directly.", |
| 651 | + "replace_with": QUDTQK.Frequency, |
| 652 | + }, |
| 653 | + BRICK.Irradiance: { |
| 654 | + "version": "1.4.4", |
| 655 | + "mitigation_message": "Brick-defined quantity 'Irradiance' is deprecated. Use the equivalent QUDT quantity 'qudt:QuantityKind/Irradiance' directly. For specific solar irradiance, use brick:Solar_Irradiance.", |
| 656 | + "replace_with": QUDTQK.Irradiance, |
| 657 | + }, |
| 658 | + BRICK.Power_Factor: { |
| 659 | + "version": "1.4.4", |
| 660 | + "mitigation_message": "Brick-defined quantity 'Power_Factor' is deprecated. Use the equivalent QUDT quantity 'qudt:QuantityKind/PowerFactor' directly.", |
| 661 | + "replace_with": QUDTQK.PowerFactor, |
| 662 | + }, |
| 663 | + BRICK.Pressure: { |
| 664 | + "version": "1.4.4", |
| 665 | + "mitigation_message": "Brick-defined generic quantity 'Pressure' is deprecated. Use the equivalent QUDT quantity 'qudt:QuantityKind/Pressure' directly, or more specific QUDT/Brick quantities like qudt:QuantityKind/StaticPressure, qudt:QuantityKind/AtmosphericPressure, brick:Differential_Pressure, etc.", |
| 666 | + "replace_with": QUDTQK.Pressure, |
| 667 | + }, |
| 668 | + BRICK.Atmospheric_Pressure: { |
| 669 | + "version": "1.4.4", |
| 670 | + "mitigation_message": "Brick-defined quantity 'Atmospheric_Pressure' is deprecated. Use the equivalent QUDT quantity 'qudt:QuantityKind/AtmosphericPressure' directly.", |
| 671 | + "replace_with": QUDTQK.AtmosphericPressure, |
| 672 | + }, |
| 673 | + BRICK.Gauge_Pressure: { |
| 674 | + "version": "1.4.4", |
| 675 | + "mitigation_message": "Brick-defined quantity 'Gauge_Pressure' is deprecated. Use the QUDT quantity 'qudt:QuantityKind/Pressure' and indicate contextually that it is gauge pressure if necessary.", |
| 676 | + "replace_with": QUDTQK.Pressure, |
| 677 | + }, |
| 678 | + BRICK.Static_Pressure: { |
| 679 | + "version": "1.4.4", |
| 680 | + "mitigation_message": "Brick-defined quantity 'Static_Pressure' is deprecated. Use the equivalent QUDT quantity 'qudt:QuantityKind/StaticPressure' directly.", |
| 681 | + "replace_with": QUDTQK.StaticPressure, |
| 682 | + }, |
| 683 | + BRICK.Dynamic_Pressure: { |
| 684 | + "version": "1.4.4", |
| 685 | + "mitigation_message": "Brick-defined quantity 'Dynamic_Pressure' (also referred to as Velocity_Pressure) is deprecated. Use the equivalent QUDT quantity 'qudt:QuantityKind/DynamicPressure' directly.", |
| 686 | + "replace_with": QUDTQK.DynamicPressure, |
| 687 | + }, |
| 688 | + BRICK.Velocity_Pressure: { |
| 689 | + "version": "1.4.4", |
| 690 | + "mitigation_message": "Brick-defined quantity 'Velocity_Pressure' is deprecated. Use the equivalent QUDT quantity 'qudt:QuantityKind/DynamicPressure' directly.", |
| 691 | + "replace_with": QUDTQK.DynamicPressure, |
| 692 | + }, |
| 693 | + BRICK.Radiance: { |
| 694 | + "version": "1.4.4", |
| 695 | + "mitigation_message": "Brick-defined quantity 'Radiance' is deprecated. Use the equivalent QUDT quantity 'qudt:QuantityKind/Radiance' directly. For specific solar radiance, use brick:Solar_Radiance.", |
| 696 | + "replace_with": QUDTQK.Radiance, |
| 697 | + }, |
| 698 | + BRICK.Temperature: { |
| 699 | + "version": "1.4.4", |
| 700 | + "mitigation_message": "Brick-defined generic quantity 'Temperature' is deprecated for direct use. Use the equivalent QUDT quantity 'qudt:QuantityKind/Temperature' directly, or more specific Brick quantities like brick:Dry_Bulb_Temperature, brick:Wet_Bulb_Temperature, etc., which now subclass the QUDT quantity.", |
| 701 | + "replace_with": QUDTQK.Temperature, |
| 702 | + }, |
| 703 | + BRICK.Time: { |
| 704 | + "version": "1.4.4", |
| 705 | + "mitigation_message": "Brick-defined quantity 'Time' is deprecated. Use the equivalent QUDT quantity 'qudt:QuantityKind/Time' directly.", |
| 706 | + "replace_with": QUDTQK.Time, |
| 707 | + }, |
| 708 | + BRICK.Energy: { |
| 709 | + "version": "1.4.4", |
| 710 | + "mitigation_message": "Brick-defined quantity 'Energy' is deprecated. Use the equivalent QUDT quantity 'qudt:QuantityKind/Energy' directly.", |
| 711 | + "replace_with": QUDTQK.Energy, |
| 712 | + }, |
| 713 | + BRICK.Deceleration_Time: { |
| 714 | + "version": "1.4.4", |
| 715 | + "mitigation_message": "Brick-defined quantity 'Deceleration_Time' is deprecated. Use the equivalent QUDT quantity 'qudt:QuantityKind/Time' directly.", |
| 716 | + "replace_with": QUDTQK.Time, |
| 717 | + }, |
| 718 | + BRICK.Acceleration_Time: { |
| 719 | + "version": "1.4.4", |
| 720 | + "mitigation_message": "Brick-defined quantity 'Acceleration_Time' is deprecated. Use the equivalent QUDT quantity 'qudt:QuantityKind/Time' directly.", |
| 721 | + "replace_with": QUDTQK.Time, |
| 722 | + }, |
| 723 | + BRICK.Radioactivity_Concentration_Sensor: { |
| 724 | + "version": "1.4.4", |
| 725 | + "mitigation_message": "Brick-defined quantity 'Radioactivity_Concentration_Sensor' is deprecated. Use Air_Quality_Sensor instead, or the provided sensor class for the specific kind or source of radioactivity (e.g. Radon gas)", |
| 726 | + "replace_with": BRICK.Air_Quality_Sensor, |
| 727 | + }, |
| 728 | + |
| 729 | + BRICK.Phasor: { |
| 730 | + "version": "1.4.4", |
| 731 | + "mitigation_message": "Brick-defined quantity 'Phasor' is deprecated.", |
| 732 | + }, |
| 733 | + BRICK.Radioactivity_Concentration: { |
| 734 | + "version": "1.4.4", |
| 735 | + "mitigation_message": "Brick-defined quantity 'Radioactivity_Concentration' is deprecated.", |
| 736 | + }, |
| 737 | + BRICK.Weather_Condition: { |
| 738 | + "version": "1.4.4", |
| 739 | + "mitigation_message": "Brick-defined quantity 'Weather_Condition' is deprecated.", |
| 740 | + }, |
632 | 741 | } |
0 commit comments