MY_CNTY and MY_STATE support for ADIF export RDA data
这个提交包含在:
当前提交
9046f1414a
共有 1 个文件被更改,包括 25 次插入 和 4 次删除
|
|
@ -212,14 +212,36 @@ class AdifHelper {
|
||||||
$line .= $this->getAdifFieldLine("APP_CLOUDLOG_MY_WAB", $qso->station_wab);
|
$line .= $this->getAdifFieldLine("APP_CLOUDLOG_MY_WAB", $qso->station_wab);
|
||||||
$line .= $this->getAdifFieldLine("MY_ITU_ZONE", $qso->station_itu);
|
$line .= $this->getAdifFieldLine("MY_ITU_ZONE", $qso->station_itu);
|
||||||
|
|
||||||
if($qso->state) {
|
if($qso->state) {
|
||||||
|
$line .= $this->getAdifFieldLine("MY_STATE", $qso->state);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($qso->station_cnty) {
|
||||||
|
switch ($qso->station_dxcc) {
|
||||||
|
case '291':
|
||||||
|
case '6':
|
||||||
|
case '110':
|
||||||
$county = trim($qso->state) . "," . trim($qso->station_cnty);
|
$county = trim($qso->state) . "," . trim($qso->station_cnty);
|
||||||
} else {
|
break;
|
||||||
$county = trim($qso->station_cnty);
|
case '54':
|
||||||
|
case '15':
|
||||||
|
case '61':
|
||||||
|
case '126':
|
||||||
|
case '151':
|
||||||
|
$county = trim($qso->station_cnty);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
$county = trim($qso->station_cnty);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
$county = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$line .= $this->getAdifFieldLine("MY_CNTY", $county);
|
$line .= $this->getAdifFieldLine("MY_CNTY", $county);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$line .= $this->getAdifFieldLine("WWFF_REF", $qso->{'COL_WWFF_REF'});
|
$line .= $this->getAdifFieldLine("WWFF_REF", $qso->{'COL_WWFF_REF'});
|
||||||
$line .= $this->getAdifFieldLine("MY_WWFF_REF", $qso->station_wwff);
|
$line .= $this->getAdifFieldLine("MY_WWFF_REF", $qso->station_wwff);
|
||||||
|
|
||||||
|
|
@ -259,7 +281,6 @@ class AdifHelper {
|
||||||
MY_NAME
|
MY_NAME
|
||||||
MY_POSTAL_CODE
|
MY_POSTAL_CODE
|
||||||
MY_RIG
|
MY_RIG
|
||||||
MY_STATE
|
|
||||||
MY_STREET
|
MY_STREET
|
||||||
MY_USACA_COUNTIES
|
MY_USACA_COUNTIES
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用