public void AddSVWS_Status(SVWS_Status svws_status)
        {
            if (Program.mfcc_svws == null)
               return;

            #if DEBUG
               //if (svws_status.place != 22 || svws_status.group != 6 || svws_status.kind != 2 || svws_status.dir != 1 || svws_status.type != "A")

               //    return;
            #endif

               if (!hs_status.Contains(svws_status.Key))
               {
               hs_status.Add(svws_status.Key, svws_status);
               Program.mfcc_svws.dbServer.SendSqlCmd(svws_status.GetInsertStatement());
               Program.mfcc_svws.dbServer.SendSqlCmd(svws_status.GetInsertLogSql());
               }
               else
               {
               if (((SVWS_Status)hs_status[svws_status.Key]).Equals(svws_status))
                   return;

               hs_status.Remove(svws_status.Key);
               hs_status.Add(svws_status.Key, svws_status);
               Program.mfcc_svws.dbServer.SendSqlCmd(svws_status.GetUpdateStatement());

               }
        }
        public void AddSVWS_Status(SVWS_Status svws_status)
        {
            if (!hs_status.Contains(svws_status.Key))
               {
               hs_status.Add(svws_status.Key, svws_status);
               Program.mfcc_svws.dbServer.SendSqlCmd(svws_status.GetInsertStatement());
               Program.mfcc_svws.dbServer.SendSqlCmd(svws_status.GetInsertLogSql());
               }
               else
               {
               if (((SVWS_Status)hs_status[svws_status.Key]).Equals(svws_status))
                   return;

               hs_status.Remove(svws_status.Key);
               hs_status.Add(svws_status.Key, svws_status);
               Program.mfcc_svws.dbServer.SendSqlCmd(svws_status.GetUpdateStatement());

               }
        }