Files
TZU/php/testing/classTest.php
2018-04-11 22:17:21 +02:00

67 lines
3.4 KiB
PHP

<?php
include_once('class.php');
$boxposis = new StringPositionen;
$boxpos1 = $boxposis->boxPos1;
$boxpos2 = $boxposis->boxPos2;
$boxpos3 = $boxposis->boxPos3;
$boxpos4 = $boxposis->boxPos4;
$boxpos5 = $boxposis->boxPos5;
$boxpos6 = $boxposis->boxPos6;
$boxpos7 = $boxposis->boxPos7;
$boxpos8 = $boxposis->boxPos8;
$boxpos9 = $boxposis->boxPos9;
$boxpos10 = $boxposis->boxPos10;
$boxpos11 = $boxposis->boxPos11;
$boxpos12 = $boxposis->boxPos12;
$boxpos13 = $boxposis->boxPos13;
$boxpos14 = $boxposis->boxPos14;
$boxpos15 = $boxposis->boxPos15;
#print_r($boxpos1);
$messwerte = new Messwerte;
$messwertArr1 = [
array(),
array("", "1-0100", "GW101050100", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30), # Teil 1
array("", "2-0100", "GW102050100", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30), # Teil 2
array("", "3-0100", "GW103050100", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30), # Teil 3
array("", "4-0100", "GW104050100", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30), # Teil 4
array("", "5-0100", "GW105050100", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30), # Teil 5
array("", "6-0100", "GW106050100", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30), # Teil 6
array("", "7-0100", "GW107050100", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30), # Teil 7
array("", "8-0100", "GW108050100", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30), # Teil 8
array("", "9-0100", "GW109050100", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30) # Teil 9
];
$messwertArr2 = [
array(),
array("", "1-0200", "GW101050200", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30), # Teil 1
array("", "2-0200", "GW102050200", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30), # Teil 2
array("", "3-0200", "GW103050200", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30), # Teil 3
array("", "4-0200", "GW104050200", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30), # Teil 4
array("", "5-0200", "GW105050200", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30), # Teil 5
array("", "6-0200", "GW106050200", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30), # Teil 6
array("", "7-0200", "GW107050200", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30), # Teil 7
array("", "8-0200", "GW108050200", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30), # Teil 8
array("", "9-0200", "GW109050200", 429.52, 429.52, 310.62, 310.62, 3.71, 3.71, 3.71, 3.71, 1234, 987, 422.25, 422.25, 303.30, 303.30) # Teil 9
];
$mwB1 = $messwerte->FillBox($messwertArr1);
$mwB2 = $messwerte->FillBox($messwertArr2);
printIt();
function printIt(){
global $mwB1;
global $mwB2;
print_r($mwB1);
print_r($mwB2);
}
?>