public static void Write(TaskDocumentWriter taskWriter) { if (taskWriter.DataModel.Catalog.Prescriptions == null || !taskWriter.DataModel.Catalog.Prescriptions.Any()) return; var writer = new PrescriptionWriter(taskWriter); writer.WritePrescriptions(); }
public static void WriteSingle(TaskDocumentWriter taskWriter, Prescription prescription) { if (prescription == null) return; var rasterPrescription = prescription as RasterGridPrescription; if (rasterPrescription != null) { var writer = new PrescriptionWriter(taskWriter); writer.WritePrescription(rasterPrescription); } }
public static void Write(TaskDocumentWriter taskWriter) { if (taskWriter.DataModel.Catalog.Prescriptions == null || !taskWriter.DataModel.Catalog.Prescriptions.Any()) { return; } var writer = new PrescriptionWriter(taskWriter); writer.WritePrescriptions(); }
private static void WriteMetaItems(TaskDocumentWriter writer) { AttachedFileWriter.Write(writer); CropWriter.Write(writer); CustomerWriter.Write(writer); FarmWriter.Write(writer); FieldWriter.Write(writer); ProductWriter.Write(writer); WorkerWriter.Write(writer); CommentWriter.Write(writer); PrescriptionWriter.Write(writer); }
public static void WriteSingle(TaskDocumentWriter taskWriter, Prescription prescription) { if (prescription == null) { return; } var rasterPrescription = prescription as RasterGridPrescription; if (rasterPrescription != null) { var writer = new PrescriptionWriter(taskWriter); writer.WritePrescription(rasterPrescription); } }