function ENABLE_PACKAGE()
{
    $HARDWARE_ID = $_GET["HARDWARE_ID"];
    $FILEID = $_GET["FILEID"];
    $enabled = $_GET["AffectPackageToValue"];
    $ocs = new ocs();
    if ($enabled == 1) {
        $ocs->PACKAGE_AFFECT($FILEID, $HARDWARE_ID);
    } else {
        $ocs->PACKAGE_DESAFFECT($FILEID, $HARDWARE_ID);
    }
}