public MachineRecord() { datetime = new DateTime(); description = ""; addressIP = ""; addressMAC = ""; serial_number = ""; full_counter = new ObjectId(); full_serialnumber = new ObjectId(); scan_counter = -1; print_counter_black_and_white = -1; print_counter_color = -1; id = new ObjectId(); email = null; tonerlevel_c = ""; tonerlevel_m = ""; tonerlevel_k = ""; tonerlevel_y = ""; tonerLowLever_C = false; tonerLowLever_M = false; tonerLowLever_Y = false; tonerLowLever_K = false; print_counter_black_and_white = 0; print_counter_color = 0; printed = false; //email_info = new BsonBinaryData(new byte[] { 0 }); }
public EmailData GetEmail() { if (email == null) { email = Database.DAO.GetEmailData(email_info); email.Parse(); } return(email); }