Beispiel #1
0
        public void SendStaffMessageRecord(long fromUid, long toUid, string startTime, int page, int limit, MessageRecordType type)
        {
            MessageRecordRequest request = new MessageRecordRequest();

            request.from_uid             = fromUid;
            request.to_uid               = toUid;
            request.startTime            = startTime;
            request.page                 = page;
            request.limit                = limit;
            request.entMessageRecordType = (int)type;
            this.connection.Send(PacketType.ENT_MESSAGE_RECORD, request);
        }
 public void SendStaffMessageRecordMark(long fromUid, long toUid, string startTime, int page, int limit, MessageRecordType type)
 {
     MessageRecordRequest request = new MessageRecordRequest();
     request.from_uid = fromUid;
     request.to_uid = toUid;
     request.startTime = startTime;
     request.page = page;
     request.limit = limit;
     request.entMessageRecordType = (int)type;
     request.type = 1;
     this.connection.Send(PacketType.ENT_MESSAGE_RECORD, request);
 }
 public void SendCooperationMessageRecordRequestByDate(long fromUid, long toUid, long projecid, string startTime, int page, int limit, string endTime, MessageRecordType type)
 {
     MessageRecordRequest request = new MessageRecordRequest();
     request.from_uid = fromUid;
     request.to_uid = toUid;
     request.startTime = startTime;
     request.page = page;
     request.endTime = endTime;
     request.limit = limit;
     request.entMessageRecordType = (int)type;
     request.type = 2;
     this.connection.Send(PacketType.ENT_MESSAGE_RECORD, request);
 }