创建模拟位置服务,我可以将其导入(访问)任何项目或开发模块以外的任何模块
在我的Java代码中,我通过
加载库
/**
* Stores Status 'PENDING' As soon as B1>A1 changes to B1<=A1
*
* @param arg1: The "PENDING" status that will be stored as soon as B1>A1 changes to B1<=A1
* Unlocks 'PENDING' status to 'APPROVED" status when manual typing in C1
*
* @customfunction
*/
//The 'approveCell !== ""' status changes the 'PENDING' status to
//"APPROVED' in D1 when manually typing in C1
function STATUSPENDING(arg1) {
var app = SpreadsheetApp;
var activeSheet = app.getActiveSpreadsheet().getActiveSheet();
var fixedvalueCell = activeSheet.getRange(1, 1).getValue();
var changingvalueCell = activeSheet.getRange(1, 2).getValue();
var approveCell = activeSheet.getRange(1, 3).getValue();
var statusCell = activeSheet.getRange(1, 4).getValue();
if
(approveCell !== "") {
activeSheet.getRange(1, 4).setValue("APPROVED");
}
else if
(changingvalueCell <= fixedvalueCell) {
activeSheet.getRange(1, 4).setValue("PENDING");
}
else {
activeSheet.getRange(1, 4).setValue("VALID");
}
var result = arg1;
return result;
}
这是“特定模型上的已加载库”的示例, 我如何创建这种类型的模型库和LoadLibrary到其他项目
以及无法从项目目录中找到 .so 文件如何创建?