Refactored TDF processing PHP code to confirm to new TDF format
This commit is contained in:
25
build/scripts/Targets/TargetDescriptionFiles/Signal.php
Normal file
25
build/scripts/Targets/TargetDescriptionFiles/Signal.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
namespace Targets\TargetDescriptionFiles;
|
||||
|
||||
class Signal
|
||||
{
|
||||
public ?string $padId = null;
|
||||
public ?int $index = null;
|
||||
public ?string $function = null;
|
||||
public ?string $group = null;
|
||||
public ?string $field = null;
|
||||
|
||||
public function __construct(
|
||||
?string $padId,
|
||||
?int $index,
|
||||
?string $function,
|
||||
?string $group,
|
||||
?string $field
|
||||
) {
|
||||
$this->padId = $padId;
|
||||
$this->index = $index;
|
||||
$this->function = $function;
|
||||
$this->group = $group;
|
||||
$this->field = $field;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user