コード例 #1
0
 public SlugebZapiskaRemontViewModal(RowDefectViewModal row)
 {
     parent_row             = row.Save;
     text_for_filter_cherch = parent_row.Cherch;
     text_for_filter_naim   = parent_row.Naim;
     is_change = false;
     IsRight();
 }
コード例 #2
0
 public RowDefectViewModal(string pCherch, RowDefectViewModal prow)
 {
     row        = new Row_in_kart_defect();
     row.Nom_sz = prow.Nom_sz;
     row.Par    = prow.Id;
     row.Cherch = pCherch;
     parent     = prow;
 }
コード例 #3
0
 public SlugebZapiskaIzgotViewModal(RowDefectViewModal row)
 {
     parent_row             = row.Save;
     text_for_filter_cherch = parent_row.Cherch;
     text_for_filter_naim   = parent_row.Naim;
     color = "White";
     IsRight();
 }
コード例 #4
0
 public SlugebZapiskaPriobrViewModal(RowDefectViewModal row)
 {
     parent_row              = row.Save;
     text_for_filter_cherch  = parent_row.Cherch;
     text_for_filter_naim    = parent_row.Naim;
     text_for_filter_n_nomer = parent_row.N_nomer;
     is_change = false;
 }
コード例 #5
0
 public RowDefectViewModal(Row_in_kart_defect prow)
 {
     row = prow;
     if (row.Par != 0)
     {
         parent = Converter.ToViewModal(Server.GetServer.DataBase("uit")
                                        .Table("select * from rz_kart_defect where id = " + row.Par)
                                        .LoadFromServer() as List <Row_in_kart_defect>)[0];
     }
 }
コード例 #6
0
        public SlugebZapiskaStorRemViewModal(RowDefectViewModal row)
        {
            parent_row             = row.Save;
            text_for_filter_cherch = parent_row.Cherch;
            text_for_filter_naim   = parent_row.Naim;
            List <object> tmp = Server.GetServer.DataBase("cvodka")
                                .ExecuteCommand("select Ltrim(rtrim(zakazchi_naim)) from"
                                                + " zakazchi_naim where id = " + parent_row.Izgotov);

            if (tmp.Count != 0)
            {
                text_for_filter_izgotov = tmp[0].ToString();
            }
            DefaultAction();
            IsRight();
        }
コード例 #7
0
 public RowDefectViewModal(RowDefectViewModal prow)
 {
     row    = new Row_in_kart_defect(prow.Save);
     parent = prow.GetParent();
 }
コード例 #8
0
 public TreeViewModal(RowDefectViewModal prow)
 {
     row      = prow;
     children = new ObservableCollection <TreeViewModal>();
 }