Exemplo n.º 1
0
    public SS3 sequenceTest(SS1 p1, SS2 p2, Ice.Current current)
    {
        var ss = new SS3();

        ss.c1 = p1;
        ss.c2 = p2;
        return(ss);
    }
Exemplo n.º 2
0
    public override void sequenceTest_async(AMD_TestIntf_sequenceTest cb, SS1 p1, SS2 p2, Ice.Current current)
    {
        SS3 ss = new SS3();

        ss.c1 = p1;
        ss.c2 = p2;
        cb.ice_response(ss);
    }
Exemplo n.º 3
0
        public SS3 SequenceTest(SS1?p1, SS2?p2, Current current)
        {
            var ss = new SS3();

            ss.C1 = p1;
            ss.C2 = p2;
            return(ss);
        }
Exemplo n.º 4
0
        public SS3 SequenceTest(SS1?p1, SS2?p2, Current current, CancellationToken cancel)
        {
            var ss = new SS3();

            ss.C1 = p1;
            ss.C2 = p2;
            return(ss);
        }
Exemplo n.º 5
0
 public static void SendSchedules(List <Schedule> e)
 {
     SS3.CallReceiveMaintenanceSchedules(e);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Sends a request to SS3 that it should itself make a base route update for SS2.
 /// If there were no updates, an empty list should be sent.
 /// </summary>
 public static void RequestBaseRoutes()
 {
     SS3.CallGetBaseRoutes(new EventArgs());
 }
Exemplo n.º 7
0
 public override void sequenceTest_async(AMD_TestIntf_sequenceTest cb, SS1 p1, SS2 p2, Ice.Current current)
 {
     SS3 ss = new SS3();
     ss.c1 = p1;
     ss.c2 = p2;
     cb.ice_response(ss);
 }
Exemplo n.º 8
0
 public override SS3 sequenceTest(SS1 p1, SS2 p2, Ice.Current current)
 {
     SS3 ss = new SS3();
     ss.c1 = p1;
     ss.c2 = p2;
     return ss;
 }
Exemplo n.º 9
0
 public void response_sequenceTest(SS3 ss)
 {
     rss = ss;
     callback.called();
 }
Exemplo n.º 10
0
        private void button3_Click(object sender, EventArgs e)//все файлстримы делаем тута
        {
            flag = true;
            FileStream   stream = new FileStream("EE_wider.txt", FileMode.Open);
            StreamReader reader = new StreamReader(stream);

            str = reader.ReadToEnd();
            STR = str.Split(' ');
            stream.Close();

            stream = new FileStream("P_perestanovka.txt", FileMode.Open);
            reader = new StreamReader(stream);
            str1   = reader.ReadToEnd();
            STR1   = str1.Split(' ');
            stream.Close();

            stream = new FileStream("tabl5_wiki.txt", FileMode.Open);//разбиение исх-го ключа на 2 части
            reader = new StreamReader(stream);
            str2   = reader.ReadToEnd();
            STR2   = str2.Split(' ');
            stream.Close();
            stream = new FileStream("tabl6_wiki.txt", FileMode.Open);//разбиение исх-го ключа на 2 части
            reader = new StreamReader(stream);
            str3   = reader.ReadToEnd();
            STR3   = str3.Split(' ');
            stream.Close();
            stream = new FileStream("tabl7_wiki.txt", FileMode.Open);//разбиение исх-го ключа на 2 части
            reader = new StreamReader(stream);
            str4   = reader.ReadToEnd();
            STR4   = str4.Split(' ');
            stream.Close();

            stream = new FileStream("s1.txt", FileMode.Open);//S BLOKI
            reader = new StreamReader(stream);
            SS1    = reader.ReadToEnd();
            SSS1   = SS1.Split(' ');
            stream.Close();
            stream = new FileStream("s2.txt", FileMode.Open);//S BLOKI
            reader = new StreamReader(stream);
            SS2    = reader.ReadToEnd();
            SSS2   = SS2.Split(' ');
            stream.Close();
            stream = new FileStream("s3.txt", FileMode.Open);//S BLOKI
            reader = new StreamReader(stream);
            SS3    = reader.ReadToEnd();
            SSS3   = SS3.Split(' ');
            stream.Close();
            stream = new FileStream("s4.txt", FileMode.Open);//S BLOKI
            reader = new StreamReader(stream);
            SS4    = reader.ReadToEnd();
            SSS4   = SS4.Split(' ');
            stream.Close();
            stream = new FileStream("s5.txt", FileMode.Open);//S BLOKI
            reader = new StreamReader(stream);
            SS5    = reader.ReadToEnd();
            SSS5   = SS5.Split(' ');
            stream.Close();
            stream = new FileStream("s6.txt", FileMode.Open);//S BLOKI
            reader = new StreamReader(stream);
            SS6    = reader.ReadToEnd();
            SSS6   = SS6.Split(' ');
            stream.Close();
            stream = new FileStream("s7.txt", FileMode.Open);//S BLOKI
            reader = new StreamReader(stream);
            SS7    = reader.ReadToEnd();
            SSS7   = SS7.Split(' ');
            stream.Close();
            stream = new FileStream("s8.txt", FileMode.Open);//S BLOKI
            reader = new StreamReader(stream);
            SS8    = reader.ReadToEnd();
            SSS8   = SS8.Split(' ');
            stream.Close();

            stream = new FileStream("IP_begin.txt", FileMode.Open);//IP
            reader = new StreamReader(stream);
            ipstr  = reader.ReadToEnd();
            IPSTR  = ipstr.Split(' ');
            stream.Close();
            stream = new FileStream("IP_last.txt", FileMode.Open);//IP
            reader = new StreamReader(stream);
            ipstr2 = reader.ReadToEnd();
            IPSTR2 = ipstr2.Split(' ');
            stream.Close();

            s1 = s(s1, SSS1); s2 = s(s2, SSS2); s3 = s(s3, SSS3); s4 = s(s4, SSS4); s5 = s(s5, SSS5); s6 = s(s6, SSS6); s7 = s(s7, SSS7); s8 = s(s8, SSS8);
        }