Skip to content
Snippets Groups Projects
Commit e55af6e6 authored by wactbprot's avatar wactbprot
Browse files

Merge branch 'master' of a75436.berlin.ptb.de:vaclab/e-share

parents 6bda40b0 9c87f37a
No related branches found
No related tags found
No related merge requests found
function(doc) {
if(doc.AuxObject &&
doc.AuxObject.Name){
emit(doc.AuxObject.Name, null);
}
}
\ No newline at end of file
function(k, v, c){
return null;
}
\ No newline at end of file
function(doc) {
if(doc.CalibrationObject &&
doc.CalibrationObject.Name){
emit(doc.CalibrationObject.Name, null);
}
}
\ No newline at end of file
function(k, v, c){
return null;
}
\ No newline at end of file
function(doc) {
if(doc.Customer &&
doc.Customer.Name &&
doc.Customer.Sign){
emit(doc.Customer.Name + " (" + doc.Customer.Sign + ")" , null);
}
}
\ No newline at end of file
function(k, v, c){
return null;
}
\ No newline at end of file
function(doc) {
if(doc.Calibration &&
doc.Calibration.Standard){
emit(doc.Calibration.Standard, null);
}
}
\ No newline at end of file
function(k, v, c){
return null;
}
\ No newline at end of file
function(doc) {
if(doc.ToDo &&
doc.ToDo.Name || doc.ToDo.Sign){
emit(doc.ToDo.Name|| doc.ToDo.Sign, null);
}
}
\ No newline at end of file
function(k, v, c){
return null;
}
\ No newline at end of file
function(doc) {
if(doc.Calibration &&
doc.Calibration.Type){
emit(doc.Calibration.Type, null);
}
}
\ No newline at end of file
function(k, v, c){
return null;
}
\ No newline at end of file
function(doc) {
if(doc.Calibration){
var dc = doc.Calibration;
if(dc.Measurement &&
dc.Measurement.Values){
var values = dc.Measurement.Values;
for(quantity in values){
for(j in values[quantity]){
if(values[quantity][j].Unit){
emit([quantity, values[quantity][j].Unit],1);
}
}
}
}
if(dc.Analysis &&
dc.Analysis.Values){
var values = dc.Analysis.Values;
for(quantity in values){
for(j in values[quantity]){
if(values[quantity][j].Unit){
emit([quantity, values[quantity][j].Unit],1);
}
}
}
}
}
}
\ No newline at end of file
function(k, v, c){
return sum(v);
}
\ No newline at end of file
function(doc) {
if(doc.Calibration &&
doc.Calibration.Year){
emit("" + doc.Calibration.Year, null);
}
}
\ No newline at end of file
function(k, v, c){
return null;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment