function Begin() { $_OBJECT =& $this->APPObj; $_IMPORT =& $this->IMPORT; if ($this->IN_HND == 20 || $this->IN_HND == 22) { if (empty($_IMPORT["f_wire_1507142038_002"]) || empty($_IMPORT["f_wire_1507142038_004"])) { $_IMPORT["f_wire_1507142038_004"] = $_IMPORT["f_wire_1507142038_003"]; } if (!empty($_IMPORT["PID"])) { $cField = "*"; $cWhere = "{~}f_wire_1507142038_P01{_}=={_}" . $_IMPORT["PID"]; $cUSafe = "4"; $cUSort =& $Pagination->PgSort; $cDBase = Vic_Dir_Search("150715094602.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T"); $cUsrWK = Common::$_UsrInf->Getvar("UsrWK"); $cTable = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDBase, $cField, $cWhere, "", NULL, 1); if ($_OBJECT["DB"]->RowsCT($cTable->Resval)) { $Fi002 = $cTable->GetField("f_wire_1507142038_002"); $Fi004 = $cTable->GetField("f_wire_1507142038_004"); $_IMPORT["f_wire_1507142038_002"] = $Fi002; $_IMPORT["f_wire_1507142038_004"] = $Fi004 . "." . $_IMPORT["f_wire_1507142038_003"]; $_IMPORT["f_wire_1507142038_005"] = $Fi002; } } } return parent::Begin(); }
function C12Pr() { $_OBJECT =& $this->APPObj; $_IMPORT =& $this->IMPORT; $_RESULT =& $this->Result; $iKey = 0; $cRange = parent::Begin(); while ($iKey < sizeof($cRange)) { if ($_RESULT->GetField("f_wire_1506031750_000", $iKey) != 0) { //信号导入表主键 $cPrsVAL["f_wire_1506031751_P01"] = $_RESULT->GetField("f_wire_1506031750_P01", $iKey); //用户编号 $cPrsVAL["f_wire_1506031751_E01"] = $_RESULT->GetField("f_wire_1506031750_E01", $iKey); //从属组织 $cPrsVAL["f_wire_1506031751_E02"] = $_RESULT->GetField("f_wire_1506031750_E02", $iKey); //组织路径 $cPrsVAL["f_wire_1506031751_C01"] = $_RESULT->GetField("f_wire_1506031750_C01", $iKey); //名称路径 $cPrsVAL["f_wire_1506031751_002"] = $_RESULT->GetField("f_wire_1506031750_002", $iKey); //用户密码 $cPrsVAL["f_wire_1506031751_003"] = $_RESULT->GetField("f_wire_1506031750_011", $iKey); //用户名称 $cPrsVAL["f_wire_1506031751_004"] = $_IMPORT["APars"]; //区域编号 $cPrsVAL["f_wire_1506031751_005"] = date('Y-m-d H:i:s', time()); //导入时间 $cPrsVAL["IM_HND"] = 20; $cPrsVAL["IM_PST"] = 1; $cPrsVAL["IM_Range"] = "f_wire_1506031751_000||0"; Common::Start("150723110801", "", $cPrsVAL); $iKey++; } } }
function Begin() { $_OBJECT =& $this->APPObj; $_IMPORT =& $this->IMPORT; $_RESULT =& $this->Result; if ($this->IN_HND == 20 || $this->IN_HND == 22) { //if(empty($_IMPORT["f_wxin_1411281708_P01"])){$_IMPORT["f_wxin_1411281708_P01"]=$_OBJECT["US"]->Getvar("UsrCO");} if (empty($_IMPORT["f_wxin_1411281708_002"]) || empty($_IMPORT["f_wxin_1411281708_004"])) { $_IMPORT["f_wxin_1411281708_004"] = $_IMPORT["f_wxin_1411281708_003"]; $_IMPORT["f_wxin_1411281708_002"] = $_IMPORT["f_wxin_1411281708_P01"]; } if (!empty($_IMPORT["PID"])) { $cField = "*"; $cWhere = "{~}f_wxin_1411281708_000{_}=={_}" . $_IMPORT["PID"]; $cUSafe = "4"; $cUSort =& $Pagination->PgSort; $cDWxin_V10C_150513 = Vic_Dir_Search("141201092301.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T"); $cUsrWK = Common::$_UsrInf->Getvar("UsrWK"); $cTable = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDWxin_V10C_150513, $cField, $cWhere, "", NULL, 1); if ($_OBJECT["DB"]->RowsCT($cTable->Resval)) { $Fi002 = $cTable->GetField("f_wxin_1411281708_002"); $Fi004 = $cTable->GetField("f_wxin_1411281708_004"); $_IMPORT["f_wxin_1411281708_002"] = $Fi002 . "." . $_IMPORT["f_wxin_1411281708_P01"]; $_IMPORT["f_wxin_1411281708_004"] = $Fi004 . "." . $_IMPORT["f_wxin_1411281708_003"]; $_IMPORT["f_wxin_1411281708_005"] = $Fi002; } } } return parent::Begin(); }
function C12Pr() { $_OBJECT =& $this->APPObj; $_IMPORT =& $this->IMPORT; $_RESULT =& $this->Result; $iKey = 0; $cRange = parent::Begin(); while ($iKey < sizeof($cRange)) { if ($_RESULT->GetField("f_wire_1507080936_000", $iKey) != 0) { //信号导入表主键 $cPrsVAL["f_wire_1507151720_P01"] = $_RESULT->GetField("f_wire_1507080936_P01", $iKey); //广播编号 $cPrsVAL["f_wire_1507151720_E02"] = $_RESULT->GetField("f_wire_1507080936_E02", $iKey); //设备编号 $cPrsVAL["f_wire_1507151720_003"] = $_RESULT->GetField("f_wire_1507080936_003", $iKey); //广播名称 $cPrsVAL["f_wire_1507151720_P01"] = $_RESULT->GetField("f_wire_1507080936_P01", $iKey); //广播编号 $cPrsVAL["f_wire_1507151720_004"] = $_RESULT->GetField("f_wire_1507080936_004", $iKey); //广播vlan $cPrsVAL["f_wire_1507151720_006"] = $_IMPORT["APars"]; //区域编号 $cPrsVAL["f_wire_1507151720_007"] = date('Y-m-d H:i:s', time()); //导入时间 $cPrsVAL["IM_HND"] = 20; $cPrsVAL["IM_PST"] = 1; $cPrsVAL["IM_Range"] = "f_wire_1507151720_000||0"; Common::Start("141124085701", "", $cPrsVAL); $iKey++; } } }
function Begin() { $_OBJECT =& $this->APPObj; $_IMPORT =& $this->IMPORT; if (isset($_IMPORT["f_wire_1506031750_002"]) && $_IMPORT["f_wire_1506031750_002"] == "") { unset($_IMPORT["f_wire_1506031750_002"]); unset($_IMPORT["x_wire_1506031750_002"]); } return parent::Begin(); }