Skip to content

Commit 5b559a3

Browse files
committed
[csv] renamed laserlot commands to laserplummet for clarity
1 parent 903f6dc commit 5b559a3

File tree

2 files changed

+27
-12
lines changed

2 files changed

+27
-12
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ file.
55

66
The project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## v0.9.0 (2025-08-01)
9+
10+
Starting with this version, the package is in beta stage. The public API is
11+
not going to drastically change from this point. Small changes, and
12+
developments are still to come.
13+
14+
### Changed
15+
16+
- GeoCom CSV `get_laserlot_status` was renamed to `get_laserplummet_status`
17+
- GeoCom CSV `switch_laserlot` was renamed to `switch_laserplummet`
18+
- GeoCom CSV `get_laserlot_intensity` was renamed to
19+
`get_laserplummet_intensity`
20+
- GeoCom CSV `set_laserlot_intensity` was renamed to
21+
`set_laserplummet_intensity`
22+
823
## v0.8.1 (2025-07-30)
924

1025
### Added

src/geocompy/geo/csv.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ def get_startup_message_status(self) -> GeoComResponse[bool]:
497497
parsers=parsebool
498498
)
499499

500-
def switch_laserlot(
500+
def switch_laserplummet(
501501
self,
502502
active: bool
503503
) -> GeoComResponse[None]:
@@ -506,12 +506,12 @@ def switch_laserlot(
506506
507507
.. versionadded:: GeoCom-VivaTPS
508508
509-
Sets the state of the laserlot.
509+
Sets the state of the laser plummet.
510510
511511
Parameters
512512
----------
513513
active : bool
514-
Activate laserlot.
514+
Activate laser plummet.
515515
516516
Returns
517517
-------
@@ -523,27 +523,27 @@ def switch_laserlot(
523523
[active]
524524
)
525525

526-
def get_laserlot_status(self) -> GeoComResponse[bool]:
526+
def get_laserplummet_status(self) -> GeoComResponse[bool]:
527527
"""
528528
RPC 5042, ``CSV_GetLaserlotStatus``
529529
530530
.. versionadded:: GeoCom-VivaTPS
531531
532-
Gets the current state of the laserlot.
532+
Gets the current state of the laser plummet.
533533
534534
Returns
535535
-------
536536
GeoComResponse
537537
Params:
538-
- `bool`: Laserlot is active.
538+
- `bool`: Laser plummet is active.
539539
540540
"""
541541
return self._request(
542542
5042,
543543
parsers=parsebool
544544
)
545545

546-
def set_laserlot_intensity(
546+
def set_laserplummet_intensity(
547547
self,
548548
intensity: int
549549
) -> GeoComResponse[None]:
@@ -552,12 +552,12 @@ def set_laserlot_intensity(
552552
553553
.. versionadded:: GeoCom-VivaTPS
554554
555-
Sets the intensity of the laserlot.
555+
Sets the intensity of the laser plummet.
556556
557557
Parameters
558558
----------
559559
intensity : int
560-
New laserlot intensity to set.
560+
New laser plummet intensity to set.
561561
562562
Returns
563563
-------
@@ -569,19 +569,19 @@ def set_laserlot_intensity(
569569
[intensity]
570570
)
571571

572-
def get_laserlot_intensity(self) -> GeoComResponse[int]:
572+
def get_laserplummet_intensity(self) -> GeoComResponse[int]:
573573
"""
574574
RPC 5041, ``CSV_GetLaserlotIntens``
575575
576576
.. versionadded:: GeoCom-VivaTPS
577577
578-
Gets the current intensity of the laserlot.
578+
Gets the current intensity of the laser plummet.
579579
580580
Returns
581581
-------
582582
GeoComResponse
583583
Params:
584-
- `int`: Current laserlot intensity.
584+
- `int`: Current laser plummet intensity.
585585
586586
"""
587587
return self._request(

0 commit comments

Comments
 (0)