//private YM _YM; public SEL_YMB(int iYear, int iMonth, string strBranch) : base(iYear, iMonth) { if (iYear > 0) { _iYear = iYear; } else { _iYear = DateTime.Today.Year; } if (iMonth > 0) { _iMonth = iMonth; } else { _iMonth = DateTime.Today.Month; } if (string.IsNullOrWhiteSpace(strBranch) || string.IsNullOrEmpty(strBranch)) { _strBranch = ""; } else { _strBranch = strBranch; } _dataContext = new DataClassesPODataContext(); }
public SEL_YMD(int iYear, int iMonth, int iDay) : base(iYear, iMonth) { if (iYear > 0) { _iYear = iYear; } else { _iYear = DateTime.Today.Year; } if (iMonth > 0) { _iMonth = iMonth; } else { _iMonth = DateTime.Today.Month; } if (iDay > 0) { _iDay = iDay; } else { _iDay = DateTime.Today.Day; } _dataContext = new DataClassesPODataContext(); }
//private List<YM_View> ym_view; //private List<List<YM_View>> ym_view2; public SEL_YM(int iYear, int iMonth) { if (iYear > 0) { _iYear = iYear; } else { _iYear = DateTime.Today.Year; } if (iMonth > 0) { _iMonth = iMonth; } else { _iMonth = DateTime.Today.Month; } _dataContext = new DataClassesPODataContext(); }
public USBPrinterStateController() { _db = new DataClassesPODataContext(); }
// GET: BranchSerial public BranchSerialController() { _db = new DataClassesPODataContext(); }
public PrinterLoadYMController() { _db = new DataClassesPODataContext(); }
public PrinterState(DataClassesPODataContext db) { _db = db; }
//private int _Year; public PrinterLoad(DataClassesPODataContext db) { _db = db; }
public PrinterTonerController() { _db = new DataClassesPODataContext(); _db.CommandTimeout = 500; }
public PrinterTonerCriticalController() { _db = new DataClassesPODataContext(); }
public NeededCartrigeController() { _db = new DataClassesPODataContext(); }
public CountCartridgeController() { _db = new DataClassesPODataContext(); }
public PrinterToner(DataClassesPODataContext db) { _db = db; }